import VB 6.0 .OCX controls into Infopath 2003

M

mahesh

hello everybody,
when i added an .ocx control(which is developed in VB 6.0
and registered using regsvr32.exe) into infopath blank
form.i am getting an error message like as shown below

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

pls help me

regards
mahesh
Digital Illusion.
Hyderabad.
 
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