why does my activex control register unsuccessfully?
-
I've tested in ActiveX test container which runs very well,when user have register such control,it runs quickly.But when I've use web to automatically register this control,it always represents red x on web.By the way,I use MFC activeX with MFC share DLL and open all the access right for activex control,meanwhile, I've add the server ip to trusted zone.Can somebody give me a help?
Later buggers harm more.
-
I've tested in ActiveX test container which runs very well,when user have register such control,it runs quickly.But when I've use web to automatically register this control,it always represents red x on web.By the way,I use MFC activeX with MFC share DLL and open all the access right for activex control,meanwhile, I've add the server ip to trusted zone.Can somebody give me a help?
Later buggers harm more.
I think u r using a cab file for downloading the activex. Is your control getting downloaded, jus check it in Tools->Internet Options->General->View Objects in ur browser This is the place your ActiveX once downloaded gets displayed. UnRegister previous ActiveX registered , u can use regsvr32 -u cmd
-
I've tested in ActiveX test container which runs very well,when user have register such control,it runs quickly.But when I've use web to automatically register this control,it always represents red x on web.By the way,I use MFC activeX with MFC share DLL and open all the access right for activex control,meanwhile, I've add the server ip to trusted zone.Can somebody give me a help?
Later buggers harm more.
ActiveX controls must exist on the machine your browser resides on (Downloading if necessary if the "codebase=" contains a valid path to the cab when not already installed on users machine). ActiveX controls, by default, have access to anything an executable has access to so when running them from within a browser, security restrictions kick in and protect people from running ActiveX controls that are not declared "Safe for scripting" in the registry. The control can also implement a specific interface to be "safe for scripting" if the programmer desires. If you run the .htm file with an .hta extension on your local machine, browser security should not restrict you. If this is not an option, then you will likely need to research the security restriction for ActiveX controls in browser based environments. Be forewarned, ActiveX controls are easy security breaches so their value in the web world was quickly diminished in the late 90's.
-
ActiveX controls must exist on the machine your browser resides on (Downloading if necessary if the "codebase=" contains a valid path to the cab when not already installed on users machine). ActiveX controls, by default, have access to anything an executable has access to so when running them from within a browser, security restrictions kick in and protect people from running ActiveX controls that are not declared "Safe for scripting" in the registry. The control can also implement a specific interface to be "safe for scripting" if the programmer desires. If you run the .htm file with an .hta extension on your local machine, browser security should not restrict you. If this is not an option, then you will likely need to research the security restriction for ActiveX controls in browser based environments. Be forewarned, ActiveX controls are easy security breaches so their value in the web world was quickly diminished in the late 90's.