-
We use a third party application which can execute VBScript
code. How can I call a standard VB application from VB Script?
I tried using CreateObject("Shell.Application") but this gives an error since the Shell32 library has not been referenced.
Thanks for any help.
-
I don't know much about VBScript but you can try this:
Code:
<object id ="shell" progid = "WScript.Shell"/>
<script language ="VBScript">
Return = shell.run("CharMap")
shell.AppActivate Return
</script>
-
Thanks. But this application cannot execute any HTML code.
Any more ideas?
-
Not Sure Again But Try This:
Code:
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
Return = WSHShel.run("CharMap")
WSHShel.AppActivate Return