Automatisierungsserver kann Objekt nicht erstellen

K

kai

i have designed a infopath application. In the application i need to
open a new form. In the Preview form is works. but as i really start
it, the error message comes:Automation server can't create object

my problem code:
var oApp = new ActiveXObject("InfoPath.Application");
var oXDocumentCollection = oApp.XDocuments;
var oXDocument = oXDocumentCollection.Open(...);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top