Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / June 2005

Tip: Looking for answers? Try searching our database.

Custom ActiveX control problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J_uk - 08 Jun 2005 11:05 GMT
We are trying to develop an MFC Active-X control for use within InfoPath but
are experiencing numerous issues. The most pressing issue is how to get
InfoPath to recognise the properties that the control is supposedly exposing,
so that when adding the control into InfoPath we can specify the Binding
property and the Enabled property.

We have made the control safe, so that when we choose the control from the
list within the ‘Add Custom Control Wizard’ dialog, it proceeds to the
‘Specify Installation Options’ page. Clicking ‘Next’ here proceeds to the
‘Specify Binding Property’ page where InfoPath should list the available and
exposed properties from the control, but it does not. It simply displays the
‘(do not bind)’ option.

What do we have to do to the control to allow InfoPath to list the exposed
properties?

The control we are developing works as expected in other containers such as
the Active-X Control Test Container.

Stock properties do not get persisted properly either.  Any help would be
much appreciated.
Henning Krause [MVP - Exhange] - 08 Jun 2005 12:19 GMT
Hello,

take a look here:
http://blogs.msdn.com/infopath/archive/2005/04/15/408728.aspx

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)

> We are trying to develop an MFC Active-X control for use within InfoPath
> but
[quoted text clipped - 22 lines]
> Stock properties do not get persisted properly either.  Any help would be
> much appreciated.
J_uk - 09 Jun 2005 14:28 GMT
Thanks, but this doesn't really help as this just shows how to build a
control with C# (.Net).  We have a large number of visual MFC controls that
we want to use in InfoPath.  Just building a default MFC control doesn't
allow it to communicate properly with InfoPath (I think the problem is the
missing IPropertyNotifySink interface.  How do I add this to MFC controls?  
Also, my properties don't show up in the bindable property list in InfoPath.  
What do I have to do to make these show up?

The example in the SDK only shows an ATL control.  is there an MFC sample /
walkthrough somewhere?

Thanks

> Hello,
>
[quoted text clipped - 34 lines]
> > Stock properties do not get persisted properly either.  Any help would be
> > much appreciated.
Henning Krause [MVP - Exhange] - 09 Jun 2005 14:40 GMT
Sorry, don't know of any.

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)

> Thanks, but this doesn't really help as this just shows how to build a
> control with C# (.Net).  We have a large number of visual MFC controls
[quoted text clipped - 59 lines]
>> > be
>> > much appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.