In what directory is your h20.prg located? If it's in, for example, c:\program files\somedir\, then you have to make absolutely sure that the app association has the %1 in double quotes. Otherwise, I expect it will be opening vfp7 and looking for a file 'c:\program.prg'
Alan
>Windows is opening VFP7.
>But before it runs whatever prg I double clicked on I get the error.
>It's like VFP is looking for a file named "Program.prg", but can't find it, so it just displays the error (with only the "OK" Button availble) and then goes to the command window. I can't even get into debugger at that point.
>I even created a file named "Program.prg" and I still get the error even though "File('Program.prg')" returned .T.
>
>
>>Check what application is associated with PRG RUN action. It should be "C:\Program Files\microsoft visual foxpro 7\vfp7.exe" -SHELLRUN "%1"
>>
>>>I'm using VFP7 SP1
>>>
>>>I created a little one line prg that I want to run from Windows 98, but everytime I try to run it I get and error "File 'Program.prg' does not exist" and I'm in the command window.
>>>In Windows 98 Explore I right mouse click the file and say Run, and get the error.
>>>If I just OPEN (instead of RUN) the file then run it after VFP opens, it runs fine.
>>>
>>>I don't have a Config.fpw
>>>I've checked the Options/file locations and cannot find anything pointing at a "program.prg".
>>>Where else can I look?
>>>
>>>TIA
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only