Using Win32 functions in Visual FoxPro
Image Gallery
functions
•
examples
•
solutions
•
updates
•
about
•
links
•
articles
•
login
•
Code examples:
How to change display settings: screen resolution, screen refresh rate
Enumerating data formats currently available on the clipboard
Adding and deleting Scheduled Tasks using NetScheduleJob API functions
Custom GDI+ class
Winsock: sending email messages (SMTP, port 25)
Mapping and disconnecting network drives
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Converting Unicode data from the Clipboard to a character string using a given code page
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
Disk in drive A:
How to display the Properties dialog box for a file (ShellExecuteEx)
Enumerating network resources
Detecting changes in connections to removable drives (VFP9)
How to download a file from the FTP server using FtpGetFile
Using EnumPrinters function to enumerate locally installed printers
Splash Screen for the VFP application
How to play AVI file on the _screen
Retrieving the name of the network resource associated with a local device
Custom HttpRequest class (WinHTTP)
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
Creating a console window for Visual FoxPro application
Custom FTP Class for Visual FoxPro application
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: 266
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.234.180.187)
1.86 hrs.
Function: 'GdipScaleMatrix'
Function: 'CeGetVersionEx'
Function group: 'Remote Application Programming (RAPI)'
4.09 hrs.
Example: 'Obtaining provider name for a specific type of network'
Function: 'PathFileExists'
Function group: 'Shell Lightweight Utility APIs -- Path Functions'
Function: 'GetTempFileName'
5.7 hrs.
Function: 'SQLBindCol'
Function group: 'ODBC API'
Example: 'Power capabilities of the system: battery, UPS, sleep and hibernation modes, processor throttling'
6.85 hrs.
Function: 'RegOpenKeyEx'
Example: 'Obtaining the System and Windows folder names'
Function: 'CreateProcess'
Function group: 'Process and Thread'
More last topics visited ...
Advertise here!