With InfoPath's custom control support, you are only able to bind data to
the control. You cannot programmatically get the control and work with it.
This is the same case with all the other built in controls.
InfoPath's programmability model is for you to work with the data.

Signature
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.
> Hi
>
[quoted text clipped - 7 lines]
>
> Murali Krishna
Murali Krishna - 20 Jul 2004 08:31 GMT
Hi,
How to bind data to the Microsoft Treeview control 6.0
(sp6) in Infopath.
Advance Thanks
Murali
>-----Original Message-----
>With InfoPath's custom control support, you are only able to bind data to
[quoted text clipped - 16 lines]
>
>.
Andrew Ma [MSFT] - 20 Jul 2004 19:52 GMT
The TreeView control doesn't have a suitable property to bind to.
To use this control, you will have to wrap the control so that it exposes
all its nodes in one property that Infopath can use. I'll recommend exposing
it through an IXMLDOMNode property and then doing node binding
(http://blogs.msdn.com/ajma/archive/2004/07/09/178857.aspx)

Signature
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.
> Hi,
>
[quoted text clipped - 42 lines]
>>
>>.