Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Retrieving default spooling directory name
System and Local Time values
Converting a hexadecimal string to an integer
High-powered ALLTRIM
How to drag a Form not using its Titlebar or Caption
How to get the path to a Special Folder
How to test file attributes (key method for FileExists and DirectoryExists routines)
Retrieving the System Time adjustment
Retrieving graphic capabilities of your display
Converting an HTTP time/date string to a SYSTEMTIME structure
Obtaining I/O counts for the current process
Scanning the hierarchy of child windows down from the main VFP window
Sending a standard message with one or more attached files using default email client
Retrieving information about all users currently logged on to the workstation (WinNT only)
Testing an ODBC connection for supporting specific functionality
Using File Mapping for enumerating files opened by Visual FoxPro
Creating two-byte hashes for a list of URLs
MSMQ: how to open a queue
Displaying bitmap using the AlphaBlend function
GetProcessVersion points at target OS
Winsock: initializing the service in the VFP application
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Converting an integer value to a hexadecimal string
GDI+: how to make VFP controls visually shake and shudder
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: 122  
    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-2018 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.234.190.237)
    2 sec.Function: 'GetMonitorCapabilities'
    Function group: 'Monitor Configuration (Vista)'
    4 sec.Function: 'InternetCloseHandle'
    Function group: 'Internet Functions (WinInet)'
    7 sec.Function: 'DrawDibOpen'
    Function group: 'Windows Multimedia'
    9 sec.Banners
    12 sec.Function: 'PathFindExtension'
    Function group: 'Shell Lightweight Utility APIs -- Path Functions'
    15 sec.Function: 'SQLAllocEnv'
    Function group: 'ODBC API'
    18 sec.Function: 'NetApiBufferFree'
    Function group: 'Network Management'
    20 sec.Function: 'SQLDriverConnect'
    Function group: 'ODBC API'
    21 sec.Function: 'ImageList_Destroy'
    24 sec.Function: 'InternetFindNextFile'
    Google
    Advertise here!