Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Printf-style formatted text output in VFP
Enumerating Volumes and Volume Mounting Points (NTFS)
How to display advanced Task Dialog (Vista)
Reading STARTUPINFO structure for the current VFP session
Retrieving list of all active RAS connections
Drawing a window caption using the DrawCaption routine
Enumerating the subkeys of a user-specific key
Finding out if the current user is the Guest account
How to register custom Event Log source
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Writing entries to custom Event Log
CryptoAPI: retrieving list of providers
Obtaining information about all user accounts on a server (WinNT only)
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Enumerating MIDI output devices
Obtaining a handle to the desktop associated with the calling thread
Reading and setting system access privileges for the current process
Using GetSysColor
Accessing Windows Control Panel from VFP Application
An alternative way of setting Form.Closable to False
Converting a decimal string to an integer
Enumerating ODBC drivers available on the local computer
GDI+: Color Transparency
Quering waveform-audio output devices
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: 112  
    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.
    Last Topics Visited (184.72.91.94)
    5.6 hrs.Function: '_lclose'
     Example: 'Adding and deleting Scheduled Tasks using NetScheduleJob API functions'
    Google
    Advertise here!