TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dc
NA
663
0
C# program wait for response from called program
Oct 13 2012 2:20 AM
I have a C# 2008 console application that calls another C# console application using a process.start command. The second C# program calls a web service.
The first console application calls the second console application with calls in a specific order. This is required since the calls to the web service need to occur in a certain order.
Due to the facts that I just listed, I have the following questions to ask:
1. I would like to know how I can make the first program wait for a response from the second C# application. This wait need needs to occur before the next call is made to the web service.
2. Is there a way that I can pass the return code value from the web service (called by the second program) to the first program? If so, how would I accomplisht this goal?
Thus can you tell me and/or point me to a refernces on how I can accomplish my goals?
If this is not possibly, I do have a tracking database table setup for making certain each phase of the calls to the web service occur.
Let me know what you think the best solution would be.
Reply
Answers (
5
)
multiple child form with one parent in c#windows application
SMS GATEWAY