Re: Returning value from a vb6 application
- From: "Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 2 Jan 2007 10:59:43 -0000
Also, if you call it whilst in the IDE, it will kill the whole process, i.e.
the IDE and the code being debugged, and possibly lose any changes you've
made
Tony Proctor
"Wolfgang Enzinger" <spamsink-8514@xxxxxxxxxxxxxx> wrote in message
news:nmuhp2hjv7dc7u758u3ri03gdjqot4cppf@xxxxxxxxxx
Hi Vic,
I need to return the value from a vb application - something like
cpp/c# int main()
use ExitProcess() to terminate your app:
Declare Sub ExitProcess Lib "kernel32" Alias "ExitProcess" (ByVal _
uExitCode As Long)
However, be aware that this function kills your app as rude as the End
statement does.
Wolfgang
.
- References:
- Returning value from a vb6 application
- From: Victor Rosenberg
- Re: Returning value from a vb6 application
- From: Wolfgang Enzinger
- Returning value from a vb6 application
- Prev by Date: Re: getting error Invalid Property Array Index!
- Next by Date: Download with progress bar?
- Previous by thread: Re: Returning value from a vb6 application
- Next by thread: Re: Returning value from a vb6 application
- Index(es):
Relevant Pages
|