adding ActiveX control into custom toolbar

M

mahesh b

hi all,

i have created an .OCX control in VB 6.0.
i register that OCX using regsvr32.exe.
then i added that control into my Infopath 2003
blank form. Then i get a message like below

"The control is not marked as safe for initializing."

please try to help me.

regards
mahesh
 
A

Andrew Ma [MSFT]

You need to implement IObjectSafety. See this KB article:
http://support.microsoft.com/defaul...port/kb/articles/Q182/5/98.asp&NoWebContent=1

--
Andrew J. Ma
Software Test Engineer
Microsoft Office InfoPath
http://blogs.msdn.com/ajma
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top