I'm trying to do the following:
VB Code:
Dim programparameters as string openfiledialog.ShowOpen Process.Start(openfiledialog.Filename & " " & programparameters)
but, as you would've guessed by now (hence why I am here) is that my program doesn't like it.
I've ommited the arguments, but further on in the code, I use Shell() command for running a program with arguments.
Is the Shell command the way to go, or is there a .NET way of doing what I've asked?




Reply With Quote