Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would be the easiest way to replace chars. in a str
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00327059
Message ID:
00328042
Views:
39
>Hi Ed!
>
>The RegExp object is way cool! Thanks for bringing it to our attention. I've written a very simple Windows Script Component that acts as a wrapper for the RegExp object. Before I publish it, do you know if there's any way to instanciate this object directly? oRegExp = CreateObject("Scripting.RegExp") doesn't work.

Yep; it's a native part of the WSCRIPT/CSCRIPT executable, rather than a separate COM component; you either need torun it as part of a script run bythem, or you need to create it using the Windows Script component compiler, which can be donloaded from the MS Web site, and add some registry information so that it can be accessed via CREATEOBJ(); there are detailed examples in Dino Espositio's Windows Script Host Programmer's Reference from Wrox Press (link in my .sig)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform