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
Winsock: sending email messages (SMTP, port 25)
Mapping and disconnecting network drives
Winsock: retrieving directory listing from an FTP server using passive data connection (FTP, port 21)
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Custom GDI+ class
Converting Unicode data from the Clipboard to a character string using a given code page
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)
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
Using EnumPrinters function to enumerate locally installed printers
How to download a file from the FTP server using FtpGetFile
Retrieving the name of the network resource associated with a local device
How to play AVI file on the _screen
Creating a console window for Visual FoxPro application
Custom HttpRequest class (WinHTTP)
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Custom FTP Class for Visual FoxPro application
How to put a horizontal text scrolling on the form (a news line)
Deleting files into the Recycle Bin
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
Storing the environment strings in cursor
User rating: 0/10 (0 votes)
Rate this code sample:
~
More code examples
Listed functions
Add comment
W32 Constants
Translate this page
Versions:
click to open
Before you begin:
See also:
One more way to retrieve environment strings
Creating INI file and adding strings to it
Reading and setting Environment variables
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:
~
1380 bytes
Created: 2001-08-04 12:00:00
Modified: 2011-12-10 09:20:22
Visits in 7 days: 84
Listed functions:
FreeEnvironmentStrings
GetEnvironmentStrings
GlobalSize
My comment:
This way you get all environment variables, so you dont need to provide their names as with the GetEnv() function.
Word Index links for this example:
ini file
environment variable
environment strings
environment variables
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.235.20.17)
37.25 min.
Solution: 'LanguageBar ActiveX Control'
5.6 hrs.
Example: 'Using GetSysColor'
Example: 'Using Common Controls: the Header Control'
5.94 hrs.
Example: 'How to delete all print jobs for a printer'
Example: 'Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)'
12.22 hrs.
Example: 'Windows Shell Icons displayed and exported to ICO files (Vista)'
Example: 'Setting the last-error code for the FoxPro'
13.27 hrs.
Example: 'Class library providing access to the System Registry'
Example: 'Scanning the hierarchy of child windows down from the main VFP window'
16.88 hrs.
Function: 'GetWorldTransform'
More last topics visited ...
Advertise here!