Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: converting image file to another graphics format
Obtaining MAC address through Address Resolution Protocol (ARP) request
Reading data from INI files
Retrieving System Error message strings
Simple MAPI: how to resolve a name to unique address list entry
Time in milliseconds represented as string (e.g. 1 hour 24 min 36 sec)
Using GetBinaryType (WinNT only) to determine the type of an executable file
Converting an integer value to a hexadecimal string
Listing INF files in a specified directory
Monitoring changes in a directory
Using the DrawText function
Deleting a file stored on the FTP server
Enumerating ODBC drivers available on the local computer
Enumerating servers of the specified type (e.g. SQL Server) in the primary domain
Retrieving information specific to the current Time Zone
Dynamic strings implemented through VFP Custom class
Enumerating printer drivers installed
Enumerating Volumes and Volume Mounting Points (NTFS)
Get the power status of your laptop computer
How to find the application associated with a file name
How to start the screen saver and how to find whether the screen saver is active
Managing Cookies
Number of clipboard formats available
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Using MessageBeep

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:
  • Using Beep and Sleep
  • How to play MIDI notes
  •  
    #DEFINE MB_OK                0
    #DEFINE MB_OKCANCEL          1
    #DEFINE MB_ICONHAND         16
    #DEFINE MB_ICONQUESTION     32
    #DEFINE MB_ICONEXCLAMATION  48
    #DEFINE MB_ICONASTERISK     64
    #DEFINE MB_ICONMASK        240
     
    DECLARE INTEGER MessageBeep IN "user32" INTEGER wType
     
    ? MessageBeep (MB_ICONEXCLAMATION)
     
     

    User rating: 0/10 (0 votes)
    Rate this code sample:
    • ~
    320 bytes  
    Created: 2001-07-12 12:00:00  
    Modified: 2010-06-22 09:36:34  
    Visits in 7 days: 93  
    Listed functions:
    MessageBeep
    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-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.
    Google
    Advertise here!