Escape
and Unescape
functions available to the VB6 programmer.The best thing would be add
MSSCRIPT.OCX
to the project, but for the sake of demonstration, I'll use CreateObject
instead.Using the code is easy.
It's that simple. And the technique can be used to get at other VBScript functionality. In fact,
.Language
can have values other than "VBScript"
, making it possible to interface to any language with a Windows Scripting Host presence. © Copyright Bruce M. Axtens, 2009