Hi All,
I wonder if someone could help me please, I am in the process of writing a little menu program in VB6 to run on windows 98 which will load up some of my classic old time games that do not run on XP any more.
The trouble I’ve got with one particular game is that it want to start running in its own directory and if I just call
Str3 = shell(“C:\wingames\incoming\incoming.exe”)
It fails, I have tried running a couple of other shell commands prior to this, such as
Str1 = shell(“C:\command.com /c C:”)
Str2 =shell(“C:\command.com /c cd c:\wingames\incoming”)
Unfortunately that does not work either.
So I suppose what I’m asking for, (in a long winded way) is a way to code in the running directory of a shell statement.
Any help or pointers would be gratefully received
Many thanks
ModeX
I wonder if someone could help me please, I am in the process of writing a little menu program in VB6 to run on windows 98 which will load up some of my classic old time games that do not run on XP any more.
The trouble I’ve got with one particular game is that it want to start running in its own directory and if I just call
Str3 = shell(“C:\wingames\incoming\incoming.exe”)
It fails, I have tried running a couple of other shell commands prior to this, such as
Str1 = shell(“C:\command.com /c C:”)
Str2 =shell(“C:\command.com /c cd c:\wingames\incoming”)
Unfortunately that does not work either.
So I suppose what I’m asking for, (in a long winded way) is a way to code in the running directory of a shell statement.
Any help or pointers would be gratefully received
Many thanks
ModeX