Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relative paths in .exe
Message
From
20/01/2004 11:53:41
 
 
To
19/01/2004 14:39:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00868265
Message ID:
00868583
Views:
15
>>I have my database event procedures in a dedicated procedure file. This works fine in development mode, but when trying to work with an .exe runtime version, the command:

>>DBSETPROP("ICS_BASE", "DATABASE", "DBCEventFilename", lcDBCEventFileName)

>>returns the error "procedure file lcDBCEventFileName not found". The variable lcDBCEventFileName contains the relative path and procedure filename from the .dbc to the procedure file. Evidently the relative path is different when the procedure file is in the .exe than it is when running in development mode.

What is strange is that SYS(2014, lcProcedureFileName) returns a path that existed on the development machine, but is not on the machine that the runtime .exe is installed on.

Any ideas?

David
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform