
Passing parameters to VB application and get return value from it
Passing to VB is easy; the VB Command$ function contains the command line as
a string. If there are more than one parameter, it's up to you to parse it.
There is no direct way I know to return parameters, but the Win32API lets an
application post an error number when it terminates. You could use this to
return a value, I guess.
Quote:
> Hello!
> Does anybody know how can I pass parameters to VB application (as
> parameters to main(int argc, char ** argv) in C or main(String[]) in
> Java?
> And how can I return value from VB exe application?
> Thanks.
> Igor Laberov