Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxcode enhancements
Message
From
27/08/2004 13:35:59
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00936976
Message ID:
00937110
Views:
9
Here are the exact instructions from the text file. All I did was to follow them exactly, and it works just fine. From your description below, it seems you may be missing a step or two - or are you missing some actual files?:
First:
Copy the apideclares table and memofile (apideclares.dbf and apideclares.fpt) 
to the HOME() directory of your VFP environment.

Also, copy the FC.dbf and FPT to the home() directory.

Next:
* Follow these steps through the commandwindow.
* you can copy and paste this code!!

* go to the home directory
cd home()

*Open the foxcode table
Use (_foxcode) in 0 again alias MyFC

*Now you're going to append two records in that table
Append from FC

* one record contains a user defined command API,
* the second record contains a script that is called by the user-command record. (APICALL)

USE in select("MyFC")
erase fc.*
>At a previous job, I stumbled upon a Foxcode enhancement to add the Windows API declarations such that I could type the following in my VFP command window:
>
>API
>
>and then when I hit the space bar a little list of API declarations would pop up, I could select the one I wanted, and that declaration would execute in the command window.
>
>It was the coolest little thing.
>
>I think it came packaged in a file named APICALLS.ZIP. Perhaps the guy who packaged it is named Boudewijn Lutgerink (from an email address in the documentation file). I don't recall that it was difficult to set up. Seems I had to insert a couple of records in the Foxcode table, which was in use, so I had to copy the table, alter THAT, and then rename the copy. Then I had to put a table called APIDECLARES.DBF and it's memo file, then a program called DECLAPI.PRG in the HOME() directory. No big deal.
>
>Now I am at a new job on a new computer with a brand new install of Windows 2000 and VFP 8, and I cannot get the thing to run to save my life. I really miss the thing because it makes using the API effortless when you have all the declarations right there at your fingertips.
>
>Does anybody use this? Is there a trick to getting this set up? Sometimes it's the simple things which humble us ...
>
>Any suggestions would be appreciated.
>
>Regards,
>
>Art
>bikermagi at yahoo dot com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform