Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Retrieving various system metrics
Testing MS Internet Explorer version installed
Winsock: how to retrieve the protocol information corresponding to a protocol name
Clipping mouse cursor area
Enumerating MIDI output devices
FindText -- the hopeless and useless Common Dialog
How to display picture stored in enhanced-format metafile (*.emf)
How to view icons stored in executable files (Icon Viewer) - II
Simple Window Viewer
Using FrameRgn for displaying system colors
Using the CreateFile
Reading and setting explicit Application User Model ID for the current process (Win7)
Using the DeleteFile
Creating a unique filename based on existing filename
Dial the Net Automatically
Enhanced GetFont dialog
Monitoring changes in a directory
Retrieving list of supported paper names (for example, Letter or Legal) for a given printer
Winsock: retrieving the host information corresponding to a network address
GDI+: Using Scale and Shear transformations
How to view icons stored in executable files (Icon Viewer)
Retrieving information specific to the current Time Zone
Retrieving System Error message strings
Wininet last error description
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: 75  
    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 (72.44.48.122)
    7.8 min.Solution: 'LanguageBar ActiveX Control'
    12.88 hrs.Function: 'LsaFreeMemory'
    14.37 hrs.Example: 'How to enumerate terminal servers within the specified Windows domain'
    22.89 hrs.Function: 'FreePrinterNotifyInfo'
    Function group: 'Printing and Print Spooler'
     Example: 'Class for sound recording'
     Function: 'AVIFileInfo'
    1 day(s)Function: 'GdipDeleteMatrix'
    Function group: 'GDI+ Matrix'
     Function: 'SQLGetFunctions'
    Function group: 'ODBC API'
     
    Function group: 'File Management'
     Example: 'Enumerating servers of the specified type (e.g. SQL Server) in the primary domain'
    Google
    Advertise here!