When iI ry to add mscript.dll to my references in a VB.net project using VS 2.010 I got this error:
Colud not load file or assembly 'mscript.dll' or one of its dependencies. The module was epected to contain an assembly manifiest.
This file may not be a management assembly
Can you help me to add this to my references?
Thanks[/img][/list]
Add mscript.dll to References
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
mscript.dll is a native Win32 dll not a .Net assembly. So you do not want .Net to attempt to load it.
As I am not a .Net developer I'm not really sure what putting something in your "references" means.
I would expect that you are using the mscript OCX and loading it dynamically (e.g. using a CreateObject) rather than linking it statically in your project somewhere. Make sure that the files are in the same folder as your projects .exe.
As I am not a .Net developer I'm not really sure what putting something in your "references" means.
I would expect that you are using the mscript OCX and loading it dynamically (e.g. using a CreateObject) rather than linking it statically in your project somewhere. Make sure that the files are in the same folder as your projects .exe.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?