Hi All,
Anyone out who has had problem marking ActiveX controls safe for initializing and scripting.
I have tried :
- Deployment wizard (including the correct registry entries!)
- IObjectSafety Method
- both at the same time!
But it's no good. I am currently awaiting answer from Microsoft Tech support team, but I still have no answer.
To Keep it simple, I have created a simple activex with a single property let called Domain. UserControl11.Domain = ...
I had problem with my fully coded activex and the simplier one! I still get the same problem! When installed on the machine, it will not work unless I set the option in IE to script and initialized activex not marked as safe.
I am running out of options as it seems that to mark an activex as safe, all you need is to add a few registry entries and I have check, double check, and all entries are there.
One problem I have spotted is that the IOSafetyObject check CLSID for peristence and for IDispatch, unfortunately an error 430 is generated due to the fact of an unsupported interface which seems to be IDispatchEx. Problem though is that I have included IDispatchEx as part of the Select Case. Fine it does not generate the error anymore, but I don't think it is the solution since I still get IE to generate an error such as UserControll11.Domain is unknow property or function.
It seems to work on any machines where it has been compile one, which obviously is not a solution.
Anyone out there that has successfully mark activex, can you please let me know! I know I am not doing anything wrong as I have now read many articles from Microsoft in relation to the topic from web site, MSDN CD, and they all say the same thing. Also the project is too simple and I used the deployement wizard ensuring that all reg entries are correct. So anyone that was success full, please contact me!
Thanks!!!
Thierry
Anyone out who has had problem marking ActiveX controls safe for initializing and scripting.
I have tried :
- Deployment wizard (including the correct registry entries!)
- IObjectSafety Method
- both at the same time!
But it's no good. I am currently awaiting answer from Microsoft Tech support team, but I still have no answer.
To Keep it simple, I have created a simple activex with a single property let called Domain. UserControl11.Domain = ...
I had problem with my fully coded activex and the simplier one! I still get the same problem! When installed on the machine, it will not work unless I set the option in IE to script and initialized activex not marked as safe.
I am running out of options as it seems that to mark an activex as safe, all you need is to add a few registry entries and I have check, double check, and all entries are there.
One problem I have spotted is that the IOSafetyObject check CLSID for peristence and for IDispatch, unfortunately an error 430 is generated due to the fact of an unsupported interface which seems to be IDispatchEx. Problem though is that I have included IDispatchEx as part of the Select Case. Fine it does not generate the error anymore, but I don't think it is the solution since I still get IE to generate an error such as UserControll11.Domain is unknow property or function.
It seems to work on any machines where it has been compile one, which obviously is not a solution.
Anyone out there that has successfully mark activex, can you please let me know! I know I am not doing anything wrong as I have now read many articles from Microsoft in relation to the topic from web site, MSDN CD, and they all say the same thing. Also the project is too simple and I used the deployement wizard ensuring that all reg entries are correct. So anyone that was success full, please contact me!
Thanks!!!
Thierry