Re: Using the Shell function
Put the whole command line into the string, i.e
dim myStr as string
myStr = "C:\wad3.exe " & fileName
Shell myStr
That should work.
Andrew
Re: Using the Shell function
Nope, doesn't make any difference... ahhh, this problem drives me crazy!!!
Thanks anyway mate!
Re: Using the Shell function
Hello again,
It seems to work for me....one thing I noticed though - you need to include the DOS name instead of the Windows one, i.e if you are specifying a path then My Documents becomes MYDOCU~1 - if you are specifying a file to open the pass the directory in the DOS format.
Thanks
Andrew
Re: Using the Shell function
i have copied both the executable and the file to convert to c: just for testing purpose so thera are no long file names. Also i have tried with other dos programs, for example Shell "Regsvr32.exe " & "test.dll" which works excellent. So I cannot understand why this wad3-program only runs from the command promt... it's coded with c++, so maybe I should make a post to that forum instead...