Problems with MSScript.ocx

  • Thread starter Thread starter Sonnich Jensen
  • Start date Start date
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
 
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
 
Back
Top