how can use parameters in my vb application?
i want to make it so that when the parameter its “/y” i want some thing like this to hapen
if parameter = "/y" then
msgbox("you used the parameter /y")
else
msgbox("you dint use any parameter")
end if
i want some thing like this to hapen when i use the parameter “/y”
the parameters are used when for ex: im running the .exe on cmd
You can change Sub Main() to
And use the argument array that way. This has been valid in VB.NET for many versions.