call .net class from vbscript

  • Thread starter Thread starter EP
  • Start date Start date
E

EP

I know a .net class can be registered for COM, but can a VB-script use
CreateObject or GetObject and use a non-registered file location to get the
object?

Basically, can you call .net from COM directly from the assembly file,
without registering with com
 
There has to be *something* because COM clients still need CLSID registry
entries (and ProgIDs if you're VBScript) that (typically) point to an
InprocServer32 entry. This will be mscoree.dll for .NET COM servers, and from
then on there's some flexibility, but none of the stuff the COM clients always
needed has gone away. You'll also need to stick to oleautomation parameters if
you've got VBScript clients.
 
Hi There !

For invoking the .NET component from COM you need to
generate COM Callable Wrapper and Register it.

The following are the list of steps that needs to be done
for invoking .NET assembly from COM

1.Create a Type Library using Tlbexp.exe
2. Register the type library using Regasm.exe

The following link will be of help to you
http://www.vbdotnetheaven.com/Code/Jun2003/2074.asp

-Gopi
 
Hi There !

For invoking the .NET component from COM you need to
generate COM Callable Wrapper and Register it.

The following are the list of steps that needs to be done
for invoking .NET assembly from COM component
1.Create a Type Library using Tlbexp.exe
2. Register the type library using Regasm.exe

The following link will be of help to you
http://www.vbdotnetheaven.com/Code/Jun2003/2074.asp

-Gopi
 
Back
Top