careate ActiveXObject in C# - InfoPath Dev
in

InfoPath Dev

careate ActiveXObject in C#

Last post 10-19-2005 08:00 PM by franck. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-19-2005 02:35 AM

    careate ActiveXObject in C#

    hi,

    to create any object of ActiveXObject we use following line of code in jscript.

    var oApp = new ActiveXObject("InfoPath.Application");

    but my code behind for infopath is C#, who can i achive this thing in C#.

    I have a login form, on submit of the form it should open up new form in internet explorer

    Thanks & Regards,
    Santosh.
  • 10-19-2005 08:00 PM In reply to

    Re: careate ActiveXObject in C#

    Hi,

    What about using:
    System.Diagnostics.Process p = new System.Diagnostics.Process();
    p.StartInfo.FileName = "infopath.exe";
    //p.StartInfo.Arguments = MyXmlDocFullPath;
    p.Start();

    Hope that it helps.

    Regards,

    Franck Dauché

    Franck Dauché
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.