Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! How to eliminate ActiveX dialog box 1

Status
Not open for further replies.

janicefoo

Programmer
Apr 17, 2003
53
MY
Dear gurus and members,
I am very new in VBScript, ocx and exe. I would like to know whether is there any legal methods that I can skip activeX security pop up dialog box?
I developed an .ocx file that is placed on the server's side. Whenever a Flash button is clicked, the VBScript will call the .ocx to perform record/playback of user's speech. The ocx later saves the .wav file onto user's computer. There is an ActiveX dialog box that always appear. How can I skip these dialog boxes without using digital certificates? Can using "makecert" or any autheticode programs eliminate those dialog boxes? Any suggestions or ideas are greatly appreciated. Hope to hear some reply soon as I am at total lost now.

Thanks in advance,
Janice
 
You can't really get rid of those security dialogs. They're there for a reason. If you could get rid of them for all your users, the bad guys could do it too, and then ActiveX really would die.

Of course if you are the user you can always turn off the security pop-ups for yourself. For example, in Internet Explorer, just go to the security tab under Tools->Internet_Options, select the current zone, and select "custom level". There you can switch off all the security pop-ups if you want to.
 
Hi teriviret,
Thanks for your information. I had a 2nd thought on using .exe instead. The .exe is downloaded and stored on the clientside. The .exe is a one time installation and will store a .txt file on the user's computer. Whenever user clicks on a button, it will check the user's pc for the .txt file using VBscript. If the txt file exists, it will call the .exe file. Otherwise, it will request user to install the software from the net.
My concern here is, even if the user has the .exe file stored, there will still be a 'do you want to download the file? Open/Save/Cancel' message dialog box pop up whenever user clicks on the button. Is there any ways I can remove that 'save/open' dialog box? Hope my description is not confusing. Looking forward for your reply soon.

Thanks in advance,
Janice
 
I'm not sure I see what's different between the .exe and .txt idea and how ActiveX normally works. In normal ActiveX, instead of an .exe file there is a .cab, .ocx, or .dll file. Instead of a .txt file, a key in the registry is used. The mechanism is still the same: 1. Check for .txt file or registry key. 2. If present, use already installed program. 3. If not present, prompt user to download program.

Sorry that I can't help you very much. I don't see any way for you to disable those dialog boxes without having your users download your program first before going to your website.
 
Hi teriviret,
Thanks for the information. I really appreciate your suggestions and kindness. What if, the user already downloaded my program to the computer, on the 1st time they access the page? Will the pop up still appear? Do you mean, using .exe and .txt will have the same problem as using .ocx and a key in registry?

I guess there is abit of misunderstanding here...What I am concern is the problems in #2 of the mechanism. If the txt file/registry exist(user already installed the program) will there be any pop up dialog boxes that appear? The problem that occurs on my website is, even with the program installed on the client side, the client will still gets the pop up message, which really cause some frustration.

Hope my description is not confusing. Hope to hear from you soon.

Thanks in advance,
Janice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top