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 / July 2004

Tip: Looking for answers? Try searching our database.

Microsoft Treeview control 6.0 (sp6) in Infopath

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Murali Krishna - 16 Jul 2004 06:43 GMT
Hi

  I have added Microsoft Treeview Control 6.0 (sp6) from
custom control selection window. I have placed it on my
form.
 Please give me suggestions like ..how to add nodes to
that tree using VB script in the Microsoft script editor.

Thanks in advance

Murali Krishna
Andrew Ma [MSFT] - 16 Jul 2004 23:14 GMT
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]
>>
>>.
 
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.