Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Winsock: creating a socket that is bound to a specific service provider
Winsock: reading email messages (POP3, port 110)
Building a tree of subdirectories for a given path using FindFile functions
Creating a clipping region from the path selected into the device context of a form
Creating the Open dialog box to specify the drive, directory, and name of a file to open
How to generate GUID values
How to suspend or hibernate your system
Converting an integer value to a hexadecimal string
Displaying system dialog that selects a folder
Enumerating network resources
GDI+: retrieving list of available image encoders and image decoders
Placing an arbitrary rectangular area of main VFP window on the Clipboard
Configuring DEVMODE structure for a printer
GDI+: printing vertical text on VFP reports via generated images (VFP9)
Winsock: how to retrieve a service information corresponding to a port
Winsock: how to retrieve the protocol information corresponding to a protocol name
Exporting DLL icon resources as .ICO files
How to find which fonts Windows uses for drawing captions, menus and message boxes
Retrieving names for the registered clipboard formats
Running a regular FoxPro form while main VFP window is minimized
Simple Window Viewer
Enumerating data formats currently available on the clipboard
How to disable the Windows Clipboard (VFP9)
Setting the date and time that a file was created
Changing pitch and speed of a wave file

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:
Replace ccSource with valid .WAV file name.

This code reads .WAV file, then changes its Samples Per Second parameter, and writes the file back under a new name defined in ccTarget.
 
  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:
  • ~
5637 bytes  
Created: 2003-09-22 17:15:55  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 55  
Listed functions:
GlobalAlloc
GlobalFree
mmioAscend
mmioClose
mmioCreateChunk
mmioDescend
mmioFlush
mmioOpen
mmioRead
mmioWrite
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 (107.22.25.119)
13.57 min.Function: 'SHQueryRecycleBin'
Function group: 'Shell Functions'
13.65 min.Example: 'Adding user-defined items to the Control Menu of VFP form (requires VFP9)'
53.1 min.Example: 'Displaying standard progress dialog box when copying files'
53.15 min.Function: 'OpenClipboard'
1.87 hrs.Example: 'Retrieving file information for the VFP executable running'
2.4 hrs.Function: 'GetProfileString'
 Example: 'GDI+: sending image of FoxPro form to printer'
 Function: 'GetWindowTextLength'
3.51 hrs.Example: 'Placing a button on the VFP form as a new child window'
 Function: 'InitiateShutdown'
Function group: 'System Shutdown'
Google
Advertise here!