If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > running application

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-03, 06:51
gleech gleech is offline
Registered User
 
Join Date: Dec 2002
Posts: 20
running application

How do I open an application using javascript

i've got this code, but doesn't work

function open()
{
var ws = WScript.CreateObject("WScript.Shell");
ws****n 'notepad.exe';
}
thanks
  #2 (permalink)  
Old 06-16-03, 08:38
wakhy wakhy is offline
Registered User
 
Join Date: Jan 2003
Location: de/ro
Posts: 12
Re: running application

Quote:
Originally posted by gleech
How do I open an application using javascript

i've got this code, but doesn't work

function open()
{
var ws = WScript.CreateObject("WScript.Shell");
ws****n 'notepad.exe';
}
thanks

try to use this:

<INPUT TYPE=BUTTON ID="wshLaunch" VALUE="start notepad">
<script language="VBScript">
Sub wshLaunch_OnClick()
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell****n "C:\WINNT\notepad.exe"
set objShell = nothing
End Sub
</script>
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On