|
| |
|
|
paul rayner
Posts: 211 Joined: 3/15/2001 From: yeppoon, qld, aus Status: offline
|
Launching an app from a browser - 4/27/2003 1:36:44
Yep....I' m still chasing. I' m trying to launch an app, like Outlook from a browser, as you' d do on an intranet. I found this page - http://www.virtualplastic.net/html/art_htm.html Included, is some scripting for Javascript: /* Open */ function Open(appName) { var WshShell = new ActiveXObject(" WScript.Shell" ); WshShell.Run(appName); } /* Open with window style */ function OpenWws(appName,windowStyle) { if (!windowStyle) windowStyle=1; var WshShell = new ActiveXObject(" WScript.Shell" ); WshShell.Run(appName,windowStyle); } and for VB Script ' Open Sub Open(appName) set WshShell = CreateObject(" WScript.Shell" ) WshShell.Run(appName) End Sub ' Open with window style ' Call like this: onclick=" Open ' notepad' ,1" Sub Open ( appName, windowStyle ) if windowStyle=" " then windowStyle=1 set WshShell = CreateObject(" WScript.Shell" ) WshShell.Run appName,windowStyle End Sub My problem (one of them anyway), is not having a clue how to run these from within a page. Any suggestions would be appreciated, Cheers
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|