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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get reference to Microsoft VBScript Regular Expressions

Status
Not open for further replies.

philcha

Programmer
Joined
May 10, 2000
Messages
109
Location
GB
I've tried to refererence Microsoft VBScript Regular Expressions and it doen't show up in my Project References menu. So how do I make it accessible?

I use:
* VB5
* Win 98

I've downloaded version 5.6 of the MS scripting engine and included VBSCRIPT.DLL as a Component but the only reference that gives me is Microsoft VBScript Globals, which as far as I can see does not expose the regular expressions object.
 
Project-->References
Click on the Browse button
browse to the file vbscript.dll
 
I did that and all I got was a reference to Microsoft VBScript Globals. Microsoft VBScript Regular Expressions did not appear in the References menu
 
Hmmm...
maybe try "RegSvr32.exe vbscript.dll" to register the DLL?
 
Just registering the VBScript DLL won't work. The Windows Script Host needs to be installed properly on the target before you can use it. Don't ask me what goes on here.
 
Go to the windows setup in add/remove programs and ensure WSH is installed from your win98 cd.
If not install it. Give a man a program and tomorrow he will be hungry.
Teach a man to program and he will never hunger again.
--Sunr¿se

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top