Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer
Verifying a file using the Authenticode policy provider
Form Magnifier
Retrieving Window Class information for the VFP window
Winsock: reading and setting socket options
Accessing examples contained in this reference from a VFP application
Changing file attributes
Creating a window using CreateWindowEx function
Enumerating printer drivers installed
Enumerating Processes -- Win9*
Finding out if the current user is the Guest account
GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)
How to access a file using not its name but an alias (hard link)
How to extract frames from AVI files
Mapping and disconnecting network drives
Pocket PC: custom RAPI class for operating with the System Registry
Retrieving the User Datagram Protocol (UDP) listener table
Winsock: how to retrieve a service information corresponding to a service name
Winsock: retrieving information from a host database for a given host name
Dynamic strings implemented through VFP Custom class
Enumerating forms supported by a specified printer
Generating sequential UUID values
How to activate Windows Calculator
How to download a file from the FTP server using FtpGetFile
Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer

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:

Job ID, status, and document name are on the list, retrieved with the EnumJobs function (JOB_INFO_1 structure is used).

* * *
See also:
  • Using Change Notification Objects to monitor changes to the printer or print server.

  • How to delete all print jobs for a printer
  • Retrieving default spooling directory name
  • How to retrieve the number of print jobs queued for the printer

  •  
      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:
    • ~
    6713 bytes  
    Created: 2003-01-20 16:57:47  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 106  
    Listed functions:
    ClosePrinter
    EnumJobs
    GetLastError
    GetProfileString
    GetVersion
    GlobalAlloc
    GlobalFree
    OpenPrinter
    SetJob
    Printer friendly API declarations
    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-2017 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.198.246.116)
    29 sec.Function: 'HttpSendRequest'
    Function group: 'Internet Functions (WinInet)'
    47 sec.Function: 'AVIStreamRelease'
    Function group: 'Windows Multimedia'
    1 min.Function: 'GetBinaryType'
    Function group: 'File Management'
    1.27 min.Example: 'Obtaining current Internet Explorer browser version and UserAgent'
    1.42 min.Function: 'GdipGetDpiY'
    Function group: 'GDI+ Graphics'
    1.73 min.Function: 'UnlockFile'
    Function group: 'File Management'
    1.98 min.Function: 'DestroyMenu'
    Function group: 'Menu'
    2.28 min.Function: 'ImageList_Destroy'
    2.85 min.Function: 'AVIStreamTimeToSample'
    Function group: 'Windows Multimedia'
    3.1 min.Function: 'GdipGetPropertyItemSize'
    Function group: 'GDI+ Image'
    Google
    Advertise here!