Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
FindText -- the hopeless and useless Common Dialog
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
Using the GetTempFileName
Animating a transition of the VFP form (a wire-frame rectangle)
Get the power status of your laptop computer
Reading and setting explicit Application User Model ID for the current process (Win7)
Validating URLs using moniker functions
OS version and revision
Retrieving long values associated with the class of the VFP window
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
Winsock: retrieving the host information corresponding to a network address
DiskFreeSpace class
Simple MAPI: how to resolve a name to unique address list entry
Starting a dialog box for connecting to network resources and passing input parameters
Testing Transparent Menu Class with top-level form (requires VFP9)
Using the Semaphore object
Displaying all TCP connections for the local system
Loading a string resource from an executable file
Obtaining I/O counts for the current process
Determining if an Active Network Connection is Available
Enumerating servers of the specified type (e.g. SQL Server) in the primary domain
Converting twips to pixels and vice versa
Displaying the drive type value
Setting properties of the window: caption and user-defined value
WAV file player

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:

Very often sndPlaySound function is all you need to play a waveform sound. The following code gives you additional control over the process in exchange for more complexity.

See also:
  • Playing WAV sounds simultaneously
  • WAV file recorder
  • How to play MIDI notes
  •  
      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:
    • ~
    10419 bytes  
    Created: 2003-07-22 20:38:09  
    Modified: 2011-12-10 09:20:22  
    Visits in 7 days: 112  
    Listed functions:
    GlobalAlloc
    GlobalFree
    mmioAscend
    mmioClose
    mmioDescend
    mmioOpen
    mmioRead
    waveOutClose
    waveOutGetPosition
    waveOutGetVolume
    waveOutOpen
    waveOutPrepareHeader
    waveOutReset
    waveOutSetVolume
    waveOutUnprepareHeader
    waveOutWrite
    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 (54.234.231.49)
    4 sec.Example: 'Deleting files into the Recycle Bin'
    7.33 min.Example: 'How to retrieve information about a cache entry (Internet Explorer)'
    7.38 min.Example: 'How to print FoxPro form'
    1.17 hrs.
    Function group: 'GDI+ Pen'
    5.44 hrs.Example: 'Opening access to the Microsoft Internet functions for the application'
     Function: 'GetForegroundWindow'
    Function group: 'Window'
    6.25 hrs.Example: 'Custom FTP Class for Visual FoxPro application'
     Example: 'Displaying animated images on FoxPro form with BitBlt and StretchBlt functions'
    9.73 hrs.Function: 'SetTextColor'
     Function: 'GetDeviceDriverBaseName'
    Function group: 'Performance Monitoring'
    Google
    Advertise here!