MS used to have a couple of decent documents on moving from FP to VFP 3-6, but I see now that VFP8 is out they have moved them from public view. Bummer. The main things that you'll need in VFP6 are still in VFP7 and the latest, VFP8, so that references to VFP7 and VFP8 can also apply to what you should look at. However, I wonder why at this point that you're bothering with VFP6 when VFP8 is the latest version with the most and best features and is very stable overall with a Service Pack 1 due to be officially available for free download within the next two weeks. Anyhow, VFP6 is still pretty good and if that's what you have in hand, go for it.
Besides the TasTrade app that ships with VFP6, look for and run the SOLUTION.app in the Samples folder that gives examples of things you can do with many areas of VFP as well as gives you access to the code that does them allowing you to see where things go in the new world of VFP.
Tasmanian Traders Sample
http://msdn.microsoft.com/
Walkthrough: Creating Applications with Visual FoxPro
http://msdn.microsoft.com/
Since you're trying to get a better feel for how things work and where things go, look for any project (.pjx) in the VFP folder and subfolders and open that project. Viewing it will show you how MS intends for you to build your apps in VFP which as you have seen differs in some aspects from FoxPro 2.6.
Also, in the Tools/XSource folder under VFP is a ZIP files called XSource.zip that gives you lots of source code for many utilities including Builders that VFP6 uses. You can learn from that source code if you wish.
If you're not at Service Pack 5 for VFP6, here's that link:
VS6sp5.exe
http://www.microsoft.com/d
Some other pertinent links to VFP6 (and I would get to them and download them before they too disappear) in no particular order:
Oopintro.exe - Intro to Object Oriented Programming
http://support.microsoft.c
Customizing Visual FoxPro 6.0 Application Framework Components Sample
http://www.microsoft.com/d
Visual FoxPro 6.0 Sample: Using the DateTimePicker's CallBack Field
http://www.microsoft.com/d
Visual FoxPro 6.0 Sample: Sets Print Options Without REPORT FORM ... PROMPT Command (ReportFormPrompt.exe)
http://www.microsoft.com/d
OLE Controls and Control Containers Guidelines
http://support.microsoft.c
Rs2dbf.exe Converting ADO 2.x Recordset to VFP Cursor
http://support.microsoft.c
FILE: Use CDX(),TAG(), and SYS(14) Function to Create an Index Utility
http://support.microsoft.c
Visual FoxPro 6.0 Sample: Demonstrates the TreeView Control
http://www.microsoft.com/d
Visual FoxPro 6.0 Sample: How to Create a Menu Object
http://www.microsoft.com/d
Vfpcom.exe Using COM Language Enhancements in VFP 6.0
http://support.microsoft.c
Visual FoxPro 6.0 Sample: Using a PictureClip Control to Animate in Visual FoxPro
http://www.microsoft.com/d
Visual FoxPro 6.0 Sample: Demonstrates the ListView Control
http://www.microsoft.com/d
Views.exe - One-To-Many Form Using a Parameterized View
http://support.microsoft.c
ADOCtl.Exe Demonstrates Active Documents, RDS and ADO
http://support.microsoft.c
Visual FoxPro 6.0 ActiveX Control Updater
http://www.microsoft.com/d
Sample Visual FoxPro Form to View XML Data
http://support.microsoft.c
Mapiform.exe How to Send Mail Messages with MAPI
http://support.microsoft.c
ArrayCom.exe Passing Array To COM DLL by Reference
http://support.microsoft.c
Visual FoxPro 6.0 Sample: Using the SliderBar ActiveX Control in Visual FoxPro (Slidebar.exe)
http://www.microsoft.com/d
OLE Examples for Taking Control of Excel from Visual FoxPro
http://support.microsoft.c
Visual FoxPro 6.0 Sample: Demonstrates Using a PictureClip Control
http://www.microsoft.com/d
Spindate.exe - DateTime Spinner Class Example
http://support.microsoft.c
Csexamp.exe - Client-Server Data Entry Screen for SQL
http://support.microsoft.c
This ought to give you plenty to dive into. Hope it helps.
Main Topics
Browse All Topics





by: mikegagnonPosted on 2003-09-29 at 03:53:57ID: 9450386
VFP comes with a sample application "tastrade", that uses pretty much all standar components of VFP.