Link to home
Start Free TrialLog in
Avatar of hillo10
hillo10

asked on

Opening a file with parameters

hi i was wondering how i would go about opening a file from visual basic using the shell command, i know how to open it normally, but i need an extra parameter at the end, which is entered into a textbox, i'm new to this stuff :/

i use

Shell ("C:\Sierra\Half-Life\hl.exe -console -game cstrike +connect")

which opens fine :)

but i need to add abit on the end which would taken from a textbox.
ASKER CERTIFIED SOLUTION
Avatar of twalgrave
twalgrave

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
Avatar of hillo10
hillo10

ASKER

thanx alot :)