By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,571 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,571 IT Pros & Developers. It's quick & easy.

how to return a string value from vb.net exe to web application?

Malathi
P: 31
Hi,

I created an exe through Console application that has 4 parameters as input.Im calling this exe in a windows application. After executing the exe, I want it to return a string(like"success" or "failed") to the caller windows app.
I tried with return statement but the main() doesnt accepts string value.
Expand|Select|Wrap|Line Numbers
  1. (Public function main(ByVal cmdargs() As String) As integer 'I changed string instead of integer).
And also I tried with environment.exit that returns int value.
But I want to return a string value from to web application. Any help is much appreciated.
Apr 27 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.