a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Launching an app from a browser

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Launching an app from a browser
Page: [1]
 
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
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> Launching an app from a browser
Page: [1]
Jump to: 1





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