Computing.Net > Forums > Programming > VB.NET Return String

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB.NET Return String

Reply to Message Icon

Name: Infinite Recursion
Date: April 14, 2004 at 11:44:25 Pacific
OS: Windows 2003
CPU/Ram: 512
Comment:

Hello everyone. I wrote a program in VB.NET that is being called from a C++ program. I am trying to get error strings that are generated in my VB.NET program to be returned and listed in my C++ program's error log. As it stands, just calling the VB.NET program with ANY parameter yields a success... when it does bomb, the success is not overwritten with a notice of failute in the C++'s program's log.

What I am asking is basically, how do I return an error code from a Main() within the module of a VB.Net program to its calling program, which in this case is a C++ program?

Any info on how to do this or what to look into is greatly appreciated.

Gunther



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB.NET Return String

Adding tabs in a string in vb.net www.computing.net/answers/programming/adding-tabs-in-a-string-in-vbnet/11853.html

Return errorlevel from VB.net www.computing.net/answers/programming/return-errorlevel-from-vbnet-/14690.html

VB Programming wont return string www.computing.net/answers/programming/vb-programming-wont-return-string/20309.html