Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Enumerating global and local group accounts on a server (WinNT/XP/2K)
How to empty the Recycle Bin
How to find the application associated with a file name
Simulating DOEVENTS
Using the IsWindowEnabled function
Winsock: how to retrieve the protocol information corresponding to a protocol number
Changing system colors
Converting a decimal string to an integer
FindText -- the hopeless and useless Common Dialog
How to initiate System shutdown
Reading and setting Environment variables
Retrieving size of a remote file
Returning some basic information for the specified INF file
Verifying a file using the Authenticode policy provider
Copying strings through the global memory block
Enumerating the subkeys for a given registry key
Form Magnifier
Testing an ODBC connection for supporting specific functionality
Using the RestartDialog function -- restarting Windows
High-powered ALLTRIM
Quering Audio Mixer Device
Retrieving information about the main VFP window
Retrieving list of all active RAS connections
Retrieving the name and type of all available RAS-capable devices
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: 122  
    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 (50.17.88.213)
    4 sec.Example: 'How to retrieve version information for the specified file'
    6.73 min.Example: 'Enumerating devices installed on the local machine'
    6.82 min.Example: 'Playing WAV sounds simultaneously'
    6.87 min.Example: 'Converting image file to .ICO file'
    2.08 hrs.Examples
    Page 3
     Function: 'CeRegSetValueEx'
    Function group: 'Remote Application Programming (RAPI)'
    Google
    Advertise here!