Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 Tags
Subject: What Proc is SET TO?
Thread ID: 78692 Message ID: 78692 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Projects and Design
Date: Thursday, October 06, 2005 11:38:11 PM         
   


Colleagues:

Here's another tough nut for us to crack: how do I know which of the two PRGs with the same name but in different directories my PROCEDURE is SET TO?

Specifically: you have 2 (or more) PRG modules with the same name in different directories, say - GenProcs.PRGs (why/how it can happen - leave it out of scope for now). In the program, you can check if this or that PRG file is "engaged" by issuing IF ATC(cPRGFileName, SET("PROCEDURE")) > 0, but it does not tell which exactly PRG file it is if you happen to have two PRG files with the same names in different directories.

So, is there any way to programmatically find out the path to the PRG file the PROCEDURE is SET TO?

Regards,

Ilya

ENTIRE THREAD

What Proc is SET TO? Posted by Ilya Rabyy @ 10/6/2005 11:38:11 PM
RE: What Proc is SET TO? Posted by Andy Kramek @ 10/7/2005 1:11:19 AM
RE: What Proc is SET TO? Posted by Ilya Rabyy @ 10/7/2005 1:55:12 AM
RE: What Proc is SET TO? Posted by Andy Kramek @ 10/7/2005 12:43:13 PM
RE: What Proc is SET TO? Posted by Ilya Rabyy @ 10/7/2005 5:11:30 PM
RE: What Proc is SET TO? Posted by Andy Kramek @ 10/8/2005 12:15:37 AM
RE: What Proc is SET TO? Posted by Ilya Rabyy @ 10/8/2005 1:12:19 AM