Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set defa to
Message
From
10/09/2008 04:58:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01342284
Message ID:
01346265
Views:
10
You could use a projecthook with the following code in .Init(): Set Default To (JustPath(_Vfp.ActiveProject.Name)). This will change your current directory whenever you open a project. The projecthook class can be attacked to a project by rightclicking the project window, choosing "project info", then checking "project class" and pointing to actual projecthook class. A quick mention - don't include the classlib where the projecthook is stored in your project - it will prevent you to Build with recompile.

>I have many applications under development
>
>so I have to start with "set defaut to"
>
>But sometimes the path can be very long
>
>Is there any place I can automate this ?
>
>If I create a form with button to each path command, how can I put this form as the VFP starts ?
Grigore Dolghin
Class Software.
Previous
Reply
Map
View

Click here to load this message in the networking platform