|
-
Mar 18th, 2001, 08:34 AM
#1
Thread Starter
Addicted Member
hi,
i would like to know how to open an application on the
client side ,but not on his browser !!!
i know that it is possible with the WScript object
but i dont know how exactly.
pls hlp
tnx
lirlir
The MORE I get to know,
I realize that I know NOTHING !
-
Mar 19th, 2001, 12:11 PM
#2
Black Cat
For the most part, you can't because of security implications.
Josh
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Mar 20th, 2001, 02:28 AM
#3
Thread Starter
Addicted Member
tnx, but...
it is possible with the wscript.shell object or
with each program's object ,for eg. if i want to execute
MS-Word i need to create word.application object....
have a nice day
lirlir
The MORE I get to know,
I realize that I know NOTHING !
-
Mar 20th, 2001, 03:52 AM
#4
Frenzied Member
Code:
<script language="vbscript">
Set WshShell = CreateObject("WScript.Shell")
Sub runlink_onClick()
WshShell.Run "c:\\WINNT\\Notepad.exe c:\\x.txt", 1, 0
End Sub
</script>
<a name="runlink">Run</a>
-
Mar 20th, 2001, 12:01 PM
#5
Black Cat
I glad IE gives a warning, but you still shouldn't be able to do that. What the heck is MS thinking?
Code:
<script language="vbscript">
Set WshShell = CreateObject("WScript.Shell")
Sub runlink_onClick()
WshShell.Run "net send * Stupid", 1, 0
End Sub
</script>
<a name="runlink">Run</a>
Josh
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Apr 6th, 2001, 08:00 AM
#6
Addicted Member
is there any way to be able to do this in a more subtile way?
can i encapsulate this sub in other sub so that the user only get a warning when it actually click on "Run"?
is there a way to make this also work in Netscape?
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
|