Problems with MSScript.ocx


S

Sonnich Jensen

Hi

I have used this on VS2008 / win XP, but on VS2010 / win 7, I get this
error:

Could not load file or assembly 'Interop.MSScriptControl,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. An attempt was made to load a program with an incorrect
format."

I have tried to reload the component into my project, but that does
not change much.

We use the component to run HW specific Java scripts, with our own
extension for talking to the HW.

Any ideas how I can load this file?

Sonnich
 
Ad

Advertisements

S

Sonnich Jensen

Hi

I have used this on VS2008 / win XP, but on VS2010 / win 7, I get this
error:

Could not load file or assembly 'Interop.MSScriptControl,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
dependencies. An attempt was made to load a program with an incorrect
format."

I have tried to reload the component into my project, but that does
not change much.

We use the component to run HW specific Java scripts, with our own
extension for talking to the HW.

Any ideas how I can load this file?

Of course: set platform target to x86.

Any ideas how to do this trick on x64?

S
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top