...

View Full Version : Exexecuting a windows command on a users computer



wilki
08-16-2004, 09:39 PM
Is there any way to execute dos commands on a users computer? I am trying to print data from a web based application to a receipt printer with only 40 characters per line and don't want to output the standard printout from MSIE. I know this sounds like a bad idea in theory for most users, but in this case it might be a necessity.

sad69
08-17-2004, 01:13 AM
Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.exec("notepad.exe")


Users will see a message saying something about ActiveX...

Sadiq.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum