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
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.
Summary: Hello everybody. I am trying to create a string that has columns with the use of the tab. In VB6 it was something like : string 3 =string1 & tab(5) & string2 & tab(10) so with the above example i woul...
Summary: How can I return an errorlevel to the command line through VB.NET? I have tryed: ExitProcess(NewDate) Environment.Exit(NewDate) I am new with this so the more information the better. I can't find an...
Summary: If it is Utext that you trying to return then it is the ByVal directive that is causing the problem. Replace it with ByRef and it should work. Or alternatively put the command ctext = Utext as the e...