Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to APPEND PROCEDURES
Message
From
01/03/2002 11:04:04
 
 
To
01/03/2002 10:18:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00626971
Message ID:
00626998
Views:
15
Hi!

The only thing comed to mind is to use ShellExecute API function to run the VFP.EXE (development environment) separately with prepared code for database re-creating. You will have to install the VFP. There are no other way - the code of procedures is also stored in the internal pre-compiled format.

For what you need stored procedures in the DLL when you create database in run-time? Just include all SP in a procedure file (PRG), use SET PROCEDURE before opening the database, and all SP calls inside of the database will work with code in that PRG.


>I'm trying to build a DLL that creates a DBC based on data stored in some VFP tables. The DBC includes some stored procedures. APPEND PROCEDURES is not supported by the runtime engine. Is there another way to load the code into a DBC? Given that it's running as a DLL, it can't be visual so MODIFY PROCEDURES is not an option.
>
>TIA
>
>Ken Cluff
>CustomSoftware
>
>Time spent hugging your kids is not subtracted from the time you have left in this life
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform