Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Processing a PRG file programatically
Message
From
19/10/2004 18:05:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/10/2004 20:38:10
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00952486
Message ID:
00952829
Views:
16
>I'm working on a tool to analyze code, and am looking for a way to close down the prg file prior to analysis and reopen after analysis has completed. There are multiple solutions with VCX's and SCX's, but I haven't seen a solid way to get the full path for a prg.
>I can use FULLPATH(WonTop()), but if I have more than one PRG with the same name there is no guarantee I will pick up the correct PRG - or if the prg isn't in a folder in the path. Are there any VFP built in functions (e.g. like ASelObj()) which will give me a full filename and handle to the prg? Any API calls?
>
>Michael

Michael,
Check _Ed* foxpro API. I remember I did something similar with one of them.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform