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