Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Using Shell for performing operations on files
GDI+: loading image file, drawing on it, saving the result to another file
Winsock: retrieving information from a host database for a given host name
Dial the Net Automatically
How to display a dialog box with which the user can add a data source (DSN)
Setting the volume label
Converting long file names to the short format and vice versa
GDI+: converting image file to another graphics format
Pocket PC: retrieving data from the Contacts Database
Reading and setting explicit Application User Model ID for the current process (Win7)
Reading Internet Query options
Retrieving the name of the network resource associated with a local device
Saving available locale records into a cursor
Scanning a hierarchy of child windows down from the Windows Desktop
Using the FindMediaType function
Copying files as a transacted operation (Vista)
Retrieving graphic capabilities of your display
Retrieving list of Global Atom names
Retrieving System Error message strings
StrDup returns a pointer to the duplicate of a source VFP string
URL: converting unsafe characters and spaces into escape sequences
How to retrieve information about a cache entry (Internet Explorer)
Memory usage info for current VFP session (WinNT only)
Retrieving configuration information for the specified server (Win2000/XP)
Retrieving default spooling directory name

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
Before you begin:
See also:
  • How to delete all print jobs for a printer
  • How to retrieve the number of print jobs queued for the printer
  • Simple printer queue monitor
  •  
      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:
    • ~
    1246 bytes  
    Created: 2002-12-30 21:01:47  
    Modified: 2010-05-19 17:18:01  
    Visits in 7 days: 36  
    Listed functions:
    ClosePrinter
    GetPrinterData
    GetProfileString
    OpenPrinter
    Printer friendly API declarations
    My comment:
    Some reasons may exist for changing the print spooling directory, which task can be done either with the SetPrinterData function or manually through Start - Settings - Printers command.
    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.56.212)
    20.35 min.Solution: 'ScreenCapture Library (FLL) for Visual FoxPro'
    Google
    Advertise here!