Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to enable the SE_SHUTDOWN_NAME privilege for the application
How to upload a local file to FTP server using FtpPutFile
Retrieving local computer and user names
Using NetWkstaTransportEnum to obtain MAC Address of remote server
GDI+ fun: roach-infested desktop
How to view icons stored in executable files (Icon Viewer)
The SQLGetProp() creates a bridge between Visual FoxPro and the ODBC API
Creating the Save dialog box to specify the drive, directory, and name of a file to save
How to create transparent areas inside a form -- punching holes in the form
How to display Windows On-Screen Keyboard
Scanning the hierarchy of child windows down from the main VFP window
Starting a dialog box for connecting to network resources (mapping network drive)
Using GetBinaryType (WinNT only) to determine the type of an executable file
Browsing Windows Known Folders (Special Folders)
High-powered ALLTRIM
Round FoxPro form
A class that encrypts and decrypts files using Cryptography API Functions
Disconnecting USB Mass Storage Device programmatically
Displaying the associated icons and descriptions for files and folders
Retrieving the command line for the VFP session
How to create a desktop shortcut (shell link)
Enumerating global and local group accounts on a server (WinNT/XP/2K)
Enumerating Volumes and Volume Mounting Points (NTFS)
How to copy the image of a form to the Clipboard using Bitmap API functions
Converting long file names to the short format and vice versa

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:
See also:
  • How to access a file using not its name but an alias (hard link)

  •  
      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:
    • ~
    1105 bytes  
    Created: 2001-07-19 12:00:00  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 85  
    Listed functions:
    GetLastError
    GetLongPathName
    GetShortPathName
    Printer friendly API declarations
    My comment:
    The "short path" means the 8.3 compliant path/filename. The source path must be always valid. You can not convert the name of a file that does not exist.

    See also: PathGetShortPath.
    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.234.231.49)
    4 sec.Example: 'How to retrieve the number of print jobs queued for the printer'
    1.04 hrs.Example: 'WAV file player'
    6.52 hrs.Function: 'GetCurrentProcess'
    Function group: 'Process and Thread'
     Function: 'mmioDescend'
     Function: 'GdipDeleteGraphics'
    Function group: 'GDI+ Graphics'
    10.81 hrs.Example: 'Storing screen shot of a form to bitmap file'
    12.57 hrs.Example: 'Using shared memory to exchange data between two FoxPro applications'
    12.58 hrs.Example: 'Hiding mouse cursor'
     Example: 'Using the IsWindowEnabled function'
    21.3 hrs.Example: 'How to set Creation Date/Time for a folder (WinNT)'
    Google
    Advertise here!