Execute button in code for consuming web service - InfoPath Dev
in

InfoPath Dev

Execute button in code for consuming web service

Last post 01-02-2007 07:59 AM by Matt Faus. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-25-2006 06:04 PM

    Execute button in code for consuming web service

    I created a new form web service. A button is created automatically on the form to consume web service.

    The button works well to talk with web service. The question is how I can execute this button in code.

    I know how to consume a web service in code, I just do not know how to execute that button in code.

    By the way, I am coding in vb.net vs 2005.


    Thank you in advance.

    Eugene,
  • 01-02-2007 07:59 AM In reply to

    Re: Execute button in code for consuming web service

    Hi Eugene,

    I believe I answered this is another post, but can't seem to find it now. What you have to do is move the code in the OnClick of the button to its own function and then call that from the OnClick and anywhere else you need it executed. If your button is using rules you'll have to convert those rules to code and use the aforementioned technique.

    Cheers!
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.