Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Converting an integer value to a hexadecimal string
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Reading and setting system access privileges for the current process
Using InternetGoOnline function
Winsock: creating a socket that is bound to a specific service provider
A procedure for setting file times
Converting an HTTP time/date string to a SYSTEMTIME structure
CryptoAPI: Collection of Providers class
Dial the Net Automatically
High-powered ALLTRIM
Monitoring changes in a directory
Printing text on the main VFP window
Retrieveing information about the active window (even if it is not owned by the calling process)
Verifying a file using the Authenticode policy provider
How to upload a local file to FTP server using FtpPutFile
Locking mouse and keyboard input for the VFP application
Shortcut Menu Class
Using GetFileSize
Configuring DEVMODE structure for a printer
Drawing standard Windows icons
GDI+: sending image of FoxPro form to printer
How to display a Task Dialog (Vista)
How to release and renew a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP)
Obtaining names and positions for shortcuts located on the Windows Desktop
How to display the Properties dialog box for a file (ShellExecuteEx)

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:
  • Displaying icons and descriptions associated with files and folders
  •  
      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:
    • ~
    3971 bytes  
    Created: 2002-07-24 17:19:30  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 170  
    Listed functions:
    GetActiveWindow
    GetLastError
    GetModuleFileName
    GlobalAlloc
    GlobalFree
    GlobalSize
    ShellExecuteEx
    Printer friendly API declarations
    My comment:
    The SHELLEXECUTEINFO structure contains several pointers to strings implemented in PChar class that wraps calls to GlobalAlloc, CopyMemory and GlobalFree API functions.

    The actions that can be performed on an object are presented through available verbs.

    The following verbs are commonly used: edit, explore, find, open, print and properties. Otherwise, the "play" verb is valid for multimedia files.
    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 (107.22.127.92)
    2.94 hrs.Example: 'GDI+: printing vertical text on VFP reports via generated images (VFP8)'
     Function: 'AlphaBlend'
    Function group: 'Bitmap'
     Example: 'Using MessageBeep'
    Language: 'C#'
    9 hrs.Example: 'Obtaining heap handles and enumerating memory blocks for the current VFP session (WinNT only)'
     Example: 'Retrieving long values associated with the class of the VFP window'
    9.23 hrs.Function: 'SHSimpleIDListFromPath'
     Function: 'AddPrinter'
    Function group: 'Printing and Print Spooler'
    9.34 hrs.Example: 'Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)'
     Example: 'Attaching menu to a top-level form'
    15.84 hrs.Example: 'How to print a bitmap file'
    Google
    Advertise here!