Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem when building an. EXE
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00606623
Message ID:
00606636
Views:
24
>I have created a project. I can run the main.prg from the command line and it runs fine - however when compiled into an EXE and ran, it changes the directory. I have no views or paths set up. The exe can see everything it needs in the same directory, for some reason it tells the EXE to look in C:\
>
>????


When you start VFP path and other things are set for you automatically via settings in the Tools Options.

In a program you have to set up your own environment (path and all). So if you never did set a path in your main program or in the config.fpw (if one is used) then defaults I think are being used.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform