S
Sergio
I need to pass two parameter to a vb.net 2003 windows form application, is
this posible? how?
this posible? how?
I need to pass two parameter to a vb.net 2003 windows form application, is
this posible? how?
\My.Application.CommandLineArgs property as well as the old VB Command
function. I believe that the My.Application.CommandLineArgs is the
recommended way now
I need to pass two parameter to a vb.net 2003 windows form application, is
this posible? how?
Tom,
\
Why?
In my idea is the My class only build to make it easier for old VB6 users.
That does in my idea not make it the recommended way.
The overloaded constructor is in my idea the normal way for this.
thanks Onur,
this works great, but always display one message (even if no parameters are
passed), the path of the .exe file, for ex: "c:\myApp\myApp.exe", any ideas?
Sergio.
Tom,
Jay B has once written all the possibilities he knew that there were with
with Sub Main in VB.Net (I thought that he was showing 12), I thought that
Armin and Herfried are never creating a real solution without that.
However as you know, only for the record.
Cor
Thanks, finally i used
Environment.GetCommandLineArgs.GetValue(1)