Using Win32 functions in Visual FoxPro
Image Gallery
functions
•
examples
•
solutions
•
updates
•
about
•
links
•
articles
•
login
•
Code examples:
CryptoAPI: retrieving list of providers
Displaying Windows shell folders in TreeView control with Visual FoxPro FLL
GDI+: Using Scale and Shear transformations
How to obtain Content-Type value for a file type from the System Registry
Retrieving System Error message strings
High-powered ALLTRIM
Loading a string resource from an executable file
Pocket PC: enumerating mounted database volumes and databases in the Object Store
Using Beep and Sleep functions to make the old tin
buzz
sing (WinNT only?)
Using the GetTempFileName
Animating a transition of the VFP form (a wire-frame rectangle)
GDI+: Storing DLL icon resources in image files
Reading VFP settings from the Windows Registry
Accessing examples contained in this reference through Web Services
Determining if an Active Network Connection is Available
Displaying all TCP connections for the local system
Validating URLs using moniker functions
Winsock: how to retrieve the protocol information corresponding to a protocol number
GDI+: cropping images
Number of clipboard formats available
Accessing examples contained in this reference from a VFP application
How to intercept window messages sent to VFP form
Pocket PC: creating backup for the System Registry
Winsock: how to retrieve a service information corresponding to a port
Other pages with examples:
<<
>>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[17]
18
19
20
21
22
23
24
Disk in drive A:
User rating: 0/10 (0 votes)
Rate this code sample:
~
More code examples
Listed functions
Add comment
W32 Constants
Translate this page
Before you begin:
See also:
Displaying the drive type value
Basic Volume information
Setting the volume label
Obtaining physical parameters for a drive: sectors, clusters, cylinders...
Mapping and disconnecting network drives in FoxPro application
How to detect when a removable drive gets connected or disconnected
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:
~
4388 bytes
Created: 2002-07-23 22:30:48
Modified: 2011-12-10 09:20:22
Visits in 7 days: 134
Listed functions:
GetDiskFreeSpace
GetVolumeInformation
SHFormatDrive
My comment:
Most of the time, DISKSPACE("A") works good enough.
Word Index links for this example:
network drive
disconnecting network drives
cylinders
removable drive
Frames not supported by your user agent
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.
Log in to post a comment
functions
•
examples
•
solutions
•
updates
•
about
•
links
•
articles
•
login
•
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.224.75.101)
3.26 hrs.
Function: 'GetTextExtentPoint32'
Function group: 'Font and Text'
3.27 hrs.
Example: 'Using the ChooseColor function'
4.55 hrs.
Example: 'Pocket PC: creating new database in the Object Store and copying Contacts Database records into it'
Function: 'ToAscii'
Function group: 'Keyboard Input'
7.61 hrs.
Function: 'FtpGetFileSize'
7.62 hrs.
Function: 'FlashWindowEx'
Function group: 'Error Handling'
8.36 hrs.
Function: 'GlobalReAlloc'
Function group: 'Memory Management'
Example: 'Retrieving top-child window for the VFP form'
13.41 hrs.
Example: 'Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)'
16.32 hrs.
Solution: 'LanguageBar ActiveX Control'
More last topics visited ...
Advertise here!