Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2003

Tip: Looking for answers? Try searching our database.

call .net class from vbscript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EP - 13 Nov 2003 01:01 GMT
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
Phil Wilson - 13 Nov 2003 01:09 GMT
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.
Signature

Phil Wilson [MVP Windows Installer]
----

> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.