Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide and Unhide Command window
Message
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01050280
Message ID:
01050446
Views:
12
Brenda,

I've never tried setting a startup file that way. I use a config.fpw file instead. Create a text file in the folder with the VFP executable. In that file, put something like this:
Command = DO DockWindows IN C:\Dev\aSetup.prg
OR
Command = DO C:\Dev\aSetup.prg
Of course, you'd change the path from C:\Dev\ to where ever you put your program. If you want to do other startup chores, you can put them in the aSetup.prg along with a call to the function and use the second implementation above. If that's the only thing you want to do, you can use either method above as long as you have a call to the function in the prg itself. If you don't put a call in the prg, then you'll nedd to use the first option.

HTH,
Chad


>Went to TOOLS->OPTIONS->FILE LOCATIONS->STARTUP and changed the file to startup_custom.prg. But each time that I startup VFP the STARTUP file is back to taskpane.app.
>
>Brenda
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Reply
Map
View

Click here to load this message in the networking platform