Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using GetFileSize
Winsock: creating a socket that is bound to a specific service provider
Winsock: resolving an address to a host name
Converting an HTTP time/date string to a SYSTEMTIME structure
Enumerating Volumes and Volume Mounting Points (NTFS)
Moving shortcut to a specified position on the Windows Desktop
A client for testing non-blocking Winsock server
A procedure for setting file times
How to browse and connect to printers on a network (WinNT)
How to display Windows On-Screen Keyboard
How to retrieve version information for the specified file
Pocket PC: Folder Viewer
Using FillMemory
Verifying a file using the Authenticode policy provider
Another way to go online (it is not about choosing an ISP)
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
GDI+: printing image file
How to download this reference`s archive through WinInet functions using InternetOpenUrl
How to upload a local file to FTP server using FtpPutFile
Obtaining information about all user accounts on a server (WinNT only)
Storing the environment strings in cursor
Using FtpCommand
Using GetBinaryType (WinNT only) to determine the type of an executable file
Drawing standard Windows icons
Pocket PC: custom RAPI class for operating with the Object Store Databases

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
Before you begin:
The object store is the permanently mounted RAM-based storage area that contains the built-in file system, the system registry, and property databases.

This class is subclassed from the base RAPI class. Some members of it are implemented through collections. That unfortunately makes it unusable under Visual FoxPro versions 6 and older.

Solutions based on this class:
  • enumerating mounted database volumes and databases in the Object Store
  • reading the Contacts Database
  • creating new database and adding records to it
  •  
      Members area. Log in to view this example.
     
      User name:
      Password:
     
     
      Forgot your password?
     
      Sign up for
    the Membership
     
     


    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    10624 bytes  
    Created: 2004-06-29 10:28:19  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 102  
    Listed functions:
    CeCreateDatabase
    CeDeleteDatabase
    CeDeleteRecord
    CeEnumDBVolumes
    CeFindFirstDatabaseEx
    CeFindNextDatabaseEx
    CeOidGetInfoEx
    CeOpenDatabase
    CeReadRecordProps
    CeSeekDatabase
    CeWriteRecordProps
    Printer friendly API declarations
    My comment:
    MSDN:"Databases provide storage, access, and sorting of property-set records.

    The Windows CE database model is that of a small, flat structure, optimized for small, efficient storage. As such, the Windows CE database APIs do not correspond to the Win32 database APIs.

    Data operations are transactioned within the object store or a database volume, which protects against data loss. If a Windows CE–based device loses power (reset or suspend/resume, where the RAM is refreshed) during a data transaction, Windows CE reverts all partial database operations to the last known good state. "


    Read complete topic Microsoft Windows CE Databases at the MSDN web site.

    #kwd: sln_pocketpc.
    Word Index links for this example:
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    User Contributed Notes:
    146.145.45.227 | 2005-09-11 16:30:42
    Does not work with vfp7.
    Uses Try/Catch code
    GDIPlus.Prg uses vfp8 Createobject("collection") which is unsupported in vfp7.

    Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

    Privacy policy
    Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (50.19.155.235)
    3 hrs.Example: 'Sending email messages with Simple MAPI'
     Function: 'CeOpenDatabase'
    14.83 hrs.Example: 'How to generate UUID values'
     Function: 'CopyFileTransacted'
    16.8 hrs.Function: 'DeleteService'
    20.43 hrs.Example: 'Retrieving top-child window for the VFP form'
     Example: 'Custom FTP Class for Visual FoxPro application'
    1 day(s)Function: 'CreateHardLink'
    Function group: 'File Management'
     Function: 'LookupAccountName'
    Function group: 'Security'
     Example: 'Displaying all TCP connections for the local system'
    Google
    Advertise here!