문제

Am Calling Notepad.vbs File In IE Browser... It Works

The Notepad.vbs Contains

Dim obj
Set obj = WScript.CreateObject( "WScript.Shell" )
obj.Exec("notepad.exe")
Set obj = Nothing

How To Executing This Notepad.vbs In FireFox and Chrome Browser....?

올바른 솔루션이 없습니다

다른 팁

CreateObject is ActiveX technology. It's supperted only in Internet Explorer.

Whatever browser we can run the vbs script file using ASP (Server Side Script)

(I.E.,):

<%
 Dim obj
 Set obj = WScript.CreateObject( "WScript.Shell" )
 obj.Exec("notepad.exe")
 Set obj = Nothing
%>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top