Hi
I have a button with form code (vb)
Application.XmlForms.Open(
http://server/site/filename.xml)
and get this error code
System.Runtime.InteropServices.COMException
Die folgende Datei kann von InfoPath nicht geƶffnet werden: http://server/site/filename.xml)
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollectionWrapper.Open(Object varURI, Int32 dwBehavior)
at Microsoft.Office.InfoPath.Internal.XmlFormsHost.Open(String fileLocation, XmlFormOpenMode behavior)
at Microsoft.Office.InfoPath.Internal.XmlFormsHost.Open(String fileLocation)
at ErfassungSchuldaten_V03_C_Bereiche.FormCode.btn_b1_oeffnen_Clicked(Object sender, ClickedEventArgs e)
at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
The form has full trust and certificate.
Can somebody help me?
thanks
Susanne