Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using .net classes in vbscript

Status
Not open for further replies.

xwb

Programmer
Jul 11, 2002
6,828
GB
I can use the generic collections but I can't use networks and sockets
Code:
set nal = CreateObject("System.Collections.ArrayList")
Code:
set sock = CreateObject("System.Net.Sockets.Socket")
How do I find out which .net classes are available in vbscript. I am assuming this list is stored somewhere. I had a grope around the registry but could not find anything.
 
Start at Computer\HKEY_CLASSES_ROOT\System.AccessViolationException

Anything there starting System. is in theory available to VBscript (you'll note that System.Net is not there...)
 
Thanks - looks like I'll have to write a script to search for System. in HKCR to see what is available.
 
Or you could just open the registry and have a quick peek ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top