Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application path retrieval from registry
Message
From
08/08/2001 08:03:06
 
 
To
08/08/2001 07:28:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00541125
Message ID:
00541176
Views:
42
Cetin

Non VFP application does not support automation, hence original problem.

By determining path to VFP application, then

SET DEFA TO &lcAppPath && Non VFP application
! /N or WinAPI call to non VFP application
SET DEFA TO &lcOldPath && VFP application

It may be an initial filesearch on first time run of VFP pplication, save to TABLE.field, followed by IF FILE(TABLE.field) etc subsequently on initialising VFP application.

IF FILE(TABLE.field) unsuccessful, (user deleted or other reason), search again, and save to TABLE.field.

Dennis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform