Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to get the path to a Special Folder
Returning some basic information for the specified INF file
The DetectAutoProxyUrl function identifies the auto-config script location
GDI+: printing vertical text on VFP reports via generated images (VFP8)
Initiating Inet connection using a modem
Retrieving information about all users currently logged on to the workstation (WinNT only)
How to display the port-configuration dialog box for a port on the specified server
How to hide your program from the Close Program dialog (Win9* only)
How to run FoxPro application under different user name (impersonating user)
One more way to retrieve environment strings
Converting a hexadecimal string to an integer
How to enumerate terminal servers within the specified Windows domain
Enumerating MIDI output devices
High-powered ALLTRIM
How to fill a buffer with random bytes using Cryptography API Functions
Retrieving country-specific dialing information from the Windows Telephony list of countries
Simulating DOEVENTS
Displaying all TCP connections for the local system
How to display a Task Dialog (Vista)
Extended OS Version info
GDI+: rotating images using matrix transformations
Retrieving Network Provider information
Sending a standard message with one or more attached files using default email client
How to empty the Recycle Bin
How to get the path to a Special Folder

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)
  • Obtaining the System and Windows folder names
  •  
      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: 2013-09-10 09:00:03  
    Visits in 7 days: 97  
    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-2017 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.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Last Topics Visited (54.227.127.109)
    40 sec.Example: 'Creating irregularly shaped FoxPro form using transparency color key'
    1.05 min.Example: 'Using Month Calendar Control (VFP9, Comctl32.dll)'
    1.4 min.Function: 'CeFindNextDatabaseEx'
    Function group: 'Remote Application Programming (RAPI)'
    1.78 min.Function: 'CeRegDeleteValue'
    Function group: 'Remote Application Programming (RAPI)'
    2.12 min.Example: 'How to change display settings: screen resolution, screen refresh rate'
    2.55 min.Function: 'AVIStreamInfo'
    Function group: 'Windows Multimedia'
    2.9 min.Function: 'CreateProcess'
    Function group: 'Process and Thread'
    3.32 min.Function: 'SetPriorityClass'
    Function group: 'Process and Thread'
    3.7 min.Function: 'CreateProcessAsUser'
    Function group: 'Process and Thread'
    4.12 min.Function: 'getsockopt'
    Function group: 'Windows Sockets 2 (Winsock)'
    Google
    Advertise here!