We use a simple project class to put us into the root directory of the project we have just opened.
DEFINE CLASS projhook AS projecthook
Height = 22 Width = 23 Name = "projhook"
PROCEDURE Init LOCAL lcDir lcDir=_VFP.ACTIVEPROJECT.HOMEDIR SET DEFAULT TO (lcDir) ENDPROC
ENDDEFINE
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Tracy Pearson Sent: Monday, 03 February 2020 21:08 To: profoxtech@leafe.com Subject: RE: Is there a way to uto open the last project?
If you have the setting in the Tools - Options - View tab - Open last project on startup. You may be able to look at _VFP.ActiveProject.HomeDir to know where to go. Otherwise, I'm not sure how to determine the last used project.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Michael Savage Sent: Monday, February 03, 2020 4:01 PM To: profoxtech@leafe.com Subject: Is there a way to uto open the last project?
I have standard directory structure that I use. I can run a seetup program when I'm in the root directory of a project. Is there way to know what the last project project was, and therefore change to it automatically and then run my setup routine. TIA, Mike
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]