Using Win32 functions in Visual FoxPro Image Gallery
Process and Thread
..msdn
AssignProcessToJobObject
CommandLineToArgvW
CreateJobObject
CreateProcess
CreateProcessAsUser
CreateProcessWithLogonW
ExitProcess
FreeEnvironmentStrings
GetCommandLine
GetCurrentProcess
GetCurrentProcessId
GetCurrentThread
GetCurrentThreadId
GetEnvironmentStrings
GetEnvironmentVariable
GetPriorityClass
GetProcessIoCounters
GetProcessTimes
GetProcessVersion
GetStartupInfo
GetThreadPriority
IsWow64Process
OpenProcess
RegisterServiceProcess
SetEnvironmentVariable
SetPriorityClass
SetThreadPriority
Sleep
TerminateJobObject
TerminateProcess
WinExec
Code examples:
GDI+ fun: roach-infested desktop
How to control Adobe Reader 9.0 (SDI mode) from VFP application
How to make the caption of a VFP application flashing in the Windows task bar
How to play MIDI notes
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)

User rating: 10/10 (1 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 MessageBeep
  • How to play MIDI notes
  •  
    DECLARE Sleep IN kernel32 INTEGER dwMilliseconds
     
    DECLARE INTEGER Beep IN kernel32;
        INTEGER dwFreq, INTEGER dwDur
     
    = Beep1(100)
    = Beep1(300)
    = Beep1(200)
    = Beep1(300)
    = Beep1(400)
    = Beep1(100)
    = Beep1(300)
    = Beep1(500)
     
    PROCEDURE  Beep1(lnFreq)
        = Beep(lnFreq, 90)
        = Sleep (20)
     

    User rating: 10/10 (1 votes)
    Rate this code sample:
    • ~
    295 bytes  
    Created: 2002-01-03 18:58:34  
    Modified: 2010-06-22 09:38:33  
    Visits in 7 days: 45  
    Listed functions:
    Beep
    Sleep
    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 (23.22.252.150)
    3 sec.Function: 'ChangeClipboardChain'
    6.67 min.Example: 'Copying files as a transacted operation (Vista)'
    6.75 min.Function: 'GetLengthSid'
    Function group: 'Security'
    6.8 min.Example: 'GDI+: sending image of FoxPro form to printer'
    Language: 'C#'
    1.64 hrs.Function: 'waveOutSetVolume'
     Function: 'GetModuleHandle'
    Function group: 'Dynamic-Link Library'
    4.41 hrs.Example: 'Retrieving information about the specified icon'
    4.42 hrs.Example: 'Exporting DLL icon resources as .ICO files'
    7.25 hrs.Function: 'FrameRgn'
     Example: 'Starting a dialog box for connecting to network resources and passing input parameters'
    Google
    Advertise here!