Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do xxxx in yyyy nightmare! Whats the deal??
Message
De
12/09/2007 23:33:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01254043
Message ID:
01254047
Vues:
14
>Hello!
>
>I am doing something trivial I have done a million times and it is not working now!!
>
>I have these 2 lines of code in an EXE
> SET PROCEDURE TO intreport.app additive
> DO checksecure IN intreport.app WITH lnretval
>
>
>the "intreport.app" file is a separate app built with a separate project and one of the program files is called "checksecure". Both the calling EXE and the APP file reside in the same directory.
>
>The code above errors out and says that checksecure cannot be found! Why?
>
>I tried it without the SET PROCEDURE to and same result.

If CURDIR() is something other than the EXE's folder when you try to issue your DO ..., this could happen. What are CURDIR() and SET( "PATH" )?

What happens if you do
SET PROCEDURE TO FullyQualifiedPath\intreport.app additive
* or
DO checksecure IN FullyQualifiedPath\intreport.app WITH lnretval
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform