locked
close browser enabled infopath form programmatically RRS feed

  • Question

  • hi all,

    i have quesiton pls help me.

    i want to close browser enable infopath form programatically.

    i know only this code.

    this.application.quit();

    this.close();

    these methode are not getting in my VSTA code.

    thanku.


    Deepak

    Friday, February 10, 2012 11:02 AM

Answers

  •  

    Hi D.Tiwary,

    According to your description, you said you can’t get these methods in your visual studio. So, first you should create project type is “InfoPath 2007 form template”  or you should add the reference of “microsoft.office.infopath.dll”. Then you will get these methods in your visual studio.

    More details please refer to the following link.

    http://msdn.microsoft.com/en-us/library/aa945229(v=office.11).aspx

    Thanks,

    Jack

    Monday, February 13, 2012 5:52 AM
    Moderator

All replies

  •  

    Hi D.Tiwary,

    According to your description, you said you can’t get these methods in your visual studio. So, first you should create project type is “InfoPath 2007 form template”  or you should add the reference of “microsoft.office.infopath.dll”. Then you will get these methods in your visual studio.

    More details please refer to the following link.

    http://msdn.microsoft.com/en-us/library/aa945229(v=office.11).aspx

    Thanks,

    Jack

    Monday, February 13, 2012 5:52 AM
    Moderator
  • Thanks Jack.

    Deepak

    Thursday, February 23, 2012 10:40 AM