Help! I am having problems with the Internet Security Settings
Dear gurus/member,
I am very new to internet security and activeX. I am facing some problems and hoping that someone out there could guide me.
I created an exe and dlls using vb6. This application is installed to the client's computer. Its a 1-time installation. Whenever the user clicks a button on my website. It will launch the application located on the user's computer. In order to call the application, I used vbscript to launch. The following is the script i used:
Code:
Dim fso,WshShell
set fso=CreateObject("Scripting.FileSystemObject")
Set WshShell = CreateObject("WScript.Shell")
if fso.FileExists("C:\Program Files\IEBAudioRecorder\test.txt") then 'Give whole path to the file here
msgBox("File Exists")
WshShell.Run("C:\Progra~1\IEBAud~1\AudioRecorder.exe") 'run one.exe program
else
msgbox("file not found, please download it")
WshShell.Run("http://blackfeet:90/library/IEBSoundRecorder.exe") 'download installer from the server
end if
set fso=nothing
set WshShell=nothing
I noticed that if the client's internet security settings's ActiveX Controls and Plug-ins 3rd item, which is --> "Initialize and Script ActiveX controls not marked safe" is set to disabled, my vbscript will not run and the application isn't launched. If I change the setting to "prompt", an activeX pop up will be displayed to confirm whether to run or not. However, I don't think requesting all users to change their internet security to "Prompt" or "Enable" is a good idea, since by default, it is set to "Disable". However, I am not sure how could I solve my problems besides using this method.
Could signing a Digital Certificate allows the vbscript to launch the client side application despite the user's internet security setting's "Initialize and Script ActiveX controls not marked safe" is set to disabled?
How could I solve this problem? I sincerely hope that someone could help me, as I am at total lost and helpless now. Looking forward to some reply soon.
Thanks in advance,
Janice