I’m working with VB.Net 2003 Microsoft Office InfoPath Project. I’m
attempting to read data from com ports and write it to InfoPath textbox. The
problem is, when I attempt to add a custom control “Microsoft Communications
Control, version 6” (MSComm) I get an pop-up window that says “The selected
control will not work properly in Microsoft Office InfoPath”.
Any ideas on how I can access the comm ports using VB.Net 2003 Infopath
Projects to read-in data?
S.Y.M. Wong-A-Ton - 20 Feb 2007 09:33 GMT
Not all ActiveX controls work seamlessly in InfoPath. You could create your
own (see
http://blogs.msdn.com/infopath/archive/2006/12/18/creating-complex-infopath-cont
rols-in-c-sharp.aspx).
Try reposting your question about accessing the com ports in one of the .NET
development groups. Once you have the code to do that, you can plug it into
your InfoPath form like any other code.
---
S.Y.M. Wong-A-Ton
> I’m working with VB.Net 2003 Microsoft Office InfoPath Project. I’m
> attempting to read data from com ports and write it to InfoPath textbox. The
[quoted text clipped - 4 lines]
> Any ideas on how I can access the comm ports using VB.Net 2003 Infopath
> Projects to read-in data?