Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't RUN prg
Message
De
21/07/2002 19:13:44
 
 
À
21/07/2002 18:57:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00680909
Message ID:
00680950
Vues:
17
This message has been marked as a message which has helped to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform