We help IT Professionals succeed at work.
Get Started

Processing a payment

Last Modified: 2012-05-12

Have a webpage that makes a web service call and is waiting for a response to the ws call.  When I get the response it populates 3 textboxes with different information, a  Response Code, a Transaction ID and a Confirmation #.  

My problem is that the web service can take anywhere from an instant to several seconds.  I determine where I go from the information that I receive in the Response Code. (if it is good I go to one page, if it is bad I tell them to recheck their data and resubmit.)

How do I place some bit of information that the process may take a few seconds and please do not close the application window during this time.  Then when the Response Code textbox is filled with info to take the message down and process the information.

I tried the TextChanged event on the textbox and that does not seem to work.

I am using Visual Studio 2010 with Visual Basic.

Any Ideas?
Watch Question
Most Valuable Expert 2011
Top Expert 2015
This problem has been solved!
Unlock 2 Answers and 10 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE