Link to home
Start Free TrialLog in
Avatar of FCapo
FCapo

asked on

Vb.net shortcut

Hi,

I`m wondering if it's possible to use the RUN command in windows to launch my vb.net application but also to send commands to it before it opens,

Such as,

START->RUN

myapplication -search 14564

when my app opens it knows that there's a command and it needs to filter the results for 14564

would this be possible?
Avatar of dustock
dustock
Flag of United States of America image

Have you tried to wrap the application path in double quotes then add the command?

"c:\temp\myapp.exe" -search 14564
Avatar of FCapo
FCapo

ASKER

Yes but my question was what do I need to add in my Vb.net Application for it to recognize -search 14564 as a command?
Sorry, misread the question.  Is this a console application or windows forms application?
Avatar of FCapo

ASKER

windows forms application
ASKER CERTIFIED SOLUTION
Avatar of dustock
dustock
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial