|
-
Sep 29th, 2000, 11:47 AM
#1
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.
-
Sep 29th, 2000, 03:13 PM
#2
Frenzied Member
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>
-
Sep 29th, 2000, 03:22 PM
#3
Thanks. But this application cannot execute any HTML code.
Any more ideas?
-
Sep 29th, 2000, 03:31 PM
#4
Frenzied Member
Not Sure Again But Try This:
Code:
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
Return = WSHShel.run("CharMap")
WSHShel.AppActivate Return
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|