CreateObject is ActiveX technology. It's supperted only in Internet Explorer.
How to Accessing .vbs file in Firefox and Chrome Browser Using Html
-
14-10-2022 - |
سؤال
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....?
لا يوجد حل صحيح
نصائح أخرى
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
%>
لا تنتمي إلى StackOverflow