Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do xxxx in yyyy nightmare! Whats the deal??
Message
From
12/09/2007 23:33:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01254043
Message ID:
01254047
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform