Import external dll in vb script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lavsaxena
    New Member
    • Apr 2009
    • 13

    #1

    Import external dll in vb script

    I have a dll that contains a simple function of "Hello world". I am able to call this dll in my visual basic project. How can I import and use the same dll in vb script.

    Thanks in Advance
    --Lav
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32669

    #2
    I don't really know about this one.

    I suspect that any properly registered DLL would be available for use. There are various librarries that you can use in VBScript, and I can only guess these are available because they are standard (registered) in the OS.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      To register a .NET assembly you need to use the Assembly Registration Tool (Regasm.exe).

      You may want to look into the compile configurations for the assembly as well...I think you have to configure the application (in the Compile Options) so that the assembly can be "Registered for COM interop".

      Comment

      Working...