Scorpion965
Sep 4th, 2002, 07:15 PM
I compiled my activex into a .cab-based internet package with p&d + everything works, but is there a way to avoid the user getting prompted with a authenticode prompt everytime they load the page? I am using 4 different .cab-based programs, so it gets annoying, can I avoid the cab and just use the .dll on a webpage somehow?
Assistance is appreciated
j_jewell
Sep 5th, 2002, 01:31 PM
If you look in the on-line MSDN, there is a download you can get. I was looking for it just now, but I can't seem to find it. It's either IObjectSafety.zip or IObjectSafety.cab. At any rate, I have built a .zip file, which I just attempted to attach, unsuccessfully (too large for VB World). So, keep the instructions below and e-mail me at jdjewell@essvote.com so I can reply with the .zip file.
What you need to do (after extracting), is go into your project references, and choose "Browse...". Go to the directory you extracted to and select the IObjectSafety.tlb file. Then, read the top of the ControlChanges.txt file for the code changes you need for the .ctl file. Finally, you will need to add a module to your ActiveX control Project and insert the code from the ModSubMain.txt file.
Trust me, I went through the exact same thing that you are battling through, and this should resolve your issues. I'm sure you are already marking the control as safe for scripting and execution when you go through the PDW, but just in case, be sure to do that!
This should do the trick!