Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Retrieving System Error message strings
StrDup returns a pointer to the duplicate of a source VFP string
String representation for disk or memory capacity
Using the Semaphore object to allow only one instance of VFP application running
Listing INF files in a specified directory
Retrieving configuration information for the specified server (Win2000/XP)
Retrieving graphic capabilities of default printer
Retrieving the state of your Internet connection
The SQLGetProp() creates a bridge between Visual FoxPro and the ODBC API
Time in milliseconds represented as string (e.g. 1 hour 24 min 36 sec)
One more way to retrieve environment strings
Pocket PC: enumerating mounted database volumes and databases in the Object Store
Retrieving the command line for the VFP session
WAV file recorder
Changing pitch and speed of a wave file
Clipping mouse cursor area
Creating hash values for the list of names
Retrieving the priority class for the current process
Using the Semaphore object
Current System information
Enhanced GetFont dialog
Enumerating the subkeys of a user-specific key
Finding parameters for the region specified
Opening access to the Microsoft Internet functions for the application
How to get Special Folders paths

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
Versions:
click to open
Before you begin:
This code shows how to obtain path to special folders like My Documents, My Pictures, Start Menu, Startup, Favourites, Recent files and others.

See also:
  • Browsing Windows Known Folders (Special Folders)
  •  
      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:
    • ~
    2298 bytes  
    Created: 2003-07-16 17:27:29  
    Modified: 2011-01-20 08:33:38  
    Visits in 7 days: 64  
    Listed functions:
    SHGetFolderPath
    Printer friendly API declarations
    My comment:
    For Windows versions 98, NT4 the SHGetFolderPath is obtained through SHFolder.dll, not through Shell32.dll.

    SHFolder.dll continues to be included for backward compatibility, though the function is now implemented in Shell32.dll.

    CSIDL values provide a unique system-independent way to identify special folders used frequently by applications, but which may not have the same name or location on any given system. For example, the system folder may be "C:\Windows" on one system and "C:\Winnt" on another.

    As of Windows Vista, these values have been replaced by KNOWNFOLDERID values.

    CSIDL list.
    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:
    There are no notes on this subject.


    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 (107.21.156.140)
    1.12 hrs.
    Function group: 'Terminal Services'
     Example: 'Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)'
    Google
    Advertise here!