Access command line parameters repeatedly

Joined
Jun 22, 2010
Messages
2
Reaction score
0
Hi

I am using VB.net and right now I am accessing command line parameters through the sub Main(args() as String) .Then I use Application.run(form1) to display my form. However the problem is that my form always runs in the background. So when I use any shortcut to run the application again no command line parameters are passed and instead the form is just brought to foreground.

Is there any alternative to this using either 3rd party libraries or maybe any other workaround to achieve what I want to.

Many thanks in advance.

GK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top