H
Harald Dunkel
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
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