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

Tip: Looking for answers? Try searching our database.

access a scondary datasource with vb.net

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harald Dunkel - 21 Oct 2004 10:52 GMT
Hello,
i need an example for accessing a secondary datasource with vb.net.
I tried following:

Dim myDoc As IXMLDOMDocument2 = thisXDocument.DataObjects("tblKunden").DOM

myDoc.setProperty("SelectionNamespaces",
"xmlns:dfs='http://schemas.microsoft.com/office/infopath/2003/dataFormSolution'
xmlns:d='http://schemas.microsoft.com/office/infopath/2003/ado/dataFields'")

When i try to use selectSingleNode following error occurs:
"selectSingleNode" is not clear. It is used in IXMlDOMDocument and in
IXMLDOMNode

(in german: "selectSingleNode" ist nicht eindeutig. Er wird sowohl in
der geerbten Schnittstelle
"Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMDocument" als auch
in "Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode" verwendet.
)

Thanks,

Harald
Michelle - 21 Oct 2004 20:14 GMT
Harald

Cast the DOM to IXMLDOMDocument3 instead of IXMLDOMDocument2.

Wandeln Sie das DOM in IXMLDOMDocument3 anstelle von IXMLDOMDocument2
um.

That should work.
Michelle

> Hello,
> i need an example for accessing a secondary datasource with vb.net.
[quoted text clipped - 19 lines]
>
> Harald
Harald Dunkel - 22 Oct 2004 08:19 GMT
Danke, das funktioniert!
 
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.