New Visual FoxPro 8.0 Solution Samples

This version of Visual FoxPro contains many Solution samples to demonstrate new features and enhancements.

In This Section

  • Binding, Raising, Unbinding, and Retrieving Events Sample
    Demonstrates binding events, raising events programmatically, unbinding events, and retrieving events.
  • Controlling MSN Messenger Sample
    Demonstrates how to perform operations with MSN Messenger using the Messenger API and Windows Scripting Host.
  • Creating a Cursor from an XML DataSet Sample
    Demonstrates how to create a cursor from an XML DataSet using the CursorAdapter and XMLAdapter classes and how to bind the data to controls on a form.
  • Creating Irregularly Shaped Windows Sample
    Demonstrates how you can use the Windows API SetLayeredWindowAttributes function to change the default rectangular-shaped client area of the main Visual FoxPro window or any forms you create.
  • Grid Highlighting, Column Resizing, and Header Images Sample
    Demonstrates how to select style and colors for grid highlighting, resize columns automatically to the width of data in the column, lock the first grid column so that it does not scroll, and specify images in column headers.
  • Loading and Generating XMl Using XMLAdapter Class Sample
    Demonstrates some of the many uses for the XMLAdapter class, such as select an XML file to create cursors or generate XML from multiple tables.
  • Managing Data Access Using CursorAdapters Sample
    Demonstrates how CursorAdapter objects retrieve data from three different data source types.
  • Member Classes Sample
    Demonstrates how specifying and subclassing member classes makes it possible for you to select a parent container, set the member class library, increase or decrease the member count, and view behavior at design time or run time.
  • Passing Strongly Typed Arrays Sample
    Demonstrates how you can pass a strongly typed array by reference to a COM server using the COMARRAY function. This sample also demonstrates the interface declaration syntax for specifying ByRef type arrays in the generated COM type library.
  • SCATTER NAME...ADDITIVE Sample
    Demonstrates how to update and saves some form properties from and to a table using the SCATTER command with the NAME and ADDITIVE clauses and the GATHER command with the NAME clause.
  • Structured Exception Handling Sample
    This sample demonstrates how to catch exceptions using the TRY and CATCH blocks, clean up resources using the FINALLY block, and throwing, or escalating, exceptions using a THROW statement.
  • System Tray Icon Sample
    Demonstrates some common uses of the Systray class, which supports using icons in the Taskbar Notification Area, or System Tray. The Systray class also supports mouse events, balloon tips, and Visual FoxPro shortcut menus for your System Tray icon so you can use all the features of the Visual FoxPro Menu Designer.
  • Windows XP Themes Support Sample
    Demonstrates different levels of Visual FoxPro support for Windows XP Themes.
  • Solutions Samples
    Contains a collection of independent samples that demonstrate particular Visual Foxpro features. The Solution samples also include examples based on the Visual FoxPro Foundation Classes.
  • Server Samples
    Contains samples that demonstrate automation servers. Automation servers are COM component applications that expose functionality that other applications can use through automation.
  • Foundation Class Samples
    Contains samples that demonstrate the Visual FoxPro Foundation Classes that are provided with the Component Gallery to assist in rapid application development.
  • Walkthroughs
    Describes step-by-step instructions for common scenarios.