Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to change display settings: screen resolution, screen refresh rate
Adding and deleting Scheduled Tasks using NetScheduleJob API functions
Custom GDI+ class
Converting Unicode data from the Clipboard to a character string using a given code page
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Enumerating data formats currently available on the clipboard
Winsock: sending email messages (SMTP, port 25)
Custom FTP Class for Visual FoxPro application
Detecting changes in connections to removable drives (VFP9)
How to download a file from the FTP server using FtpGetFile
Splash Screen for the VFP application
Mapping and disconnecting network drives
How to activate Windows Calculator
Custom HttpRequest class (WinINet)
How to convert a bitmap file to monochrome format (1 bpp)
Custom HttpRequest class (WinHTTP)
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
Establishing connection using the SQLDriverConnect
Using Font and Text functions
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
Displaying bitmap using the AlphaBlend function
Using WM_COPYDATA for interprocess communication (VFP9)
Extensible Storage Engine class library
How to make a VFP form fading out when released (GDI+ version)
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: 74  
    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 (54.242.188.217)
    1.39 hrs.Example: 'Using an Event Object. Part B: running an application responding to events'
     Function: 'UuidCreate'
    3.48 hrs.Example: 'Using the Semaphore object to allow only one instance of VFP application running'
     Function: 'GetSystemDirectory'
    11.35 hrs.Example: 'Semi-transparent Form'
     Function: 'InternalGetWindowText'
    12.58 hrs.Example: 'Displaying system dialog that selects a folder'
     Function: 'WaitForSingleObject'
    15.4 hrs.Function: 'WNetGetConnection'
    Function group: 'Windows Networking'
     Example: 'GDI+: Drawing a Pie Chart'
    Google
    Advertise here!