Using Win32 functions in Visual FoxPro
Image Gallery
functions
•
examples
•
solutions
•
updates
•
about
•
links
•
articles
•
login
•
Code examples:
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Using the GetLogicalDriveStrings
Determining whether or not the system is connected to the Internet
Managing Cookies
Obtaining addresses for the adapters on the local computer (Win XP/2003/Vista)
Winsock: retrieving information from a host database for a given host name
Creating hash values for the list of names
GDI+: creating scaled copy of image file
How to enumerate sessions and processes on a specified terminal server
Minimizing all running applications
Printing text with the Escape function
Reading entries from Event logs
Using Custom FTP class (DEFINE CLASS ftp As Custom)
Accessing Windows Control Panel from VFP Application
How to display picture stored in enhanced-format metafile (*.emf)
Retrieving geometrical parameters of the system desktop window
Simple MAPI: how to pick an email recipient from Outlook Express address book
GDI+: reading and writing metadata in JPEG and TIFF files
How to drag a Form not using its Titlebar or Caption
Reading and setting system access privileges for the current process
Reading data from INI files
An alternative way of setting Form.Closable to False
How to display the Print property sheet
How to view icons stored in executable files (Icon Viewer) - II
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
How to release and renew a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP)
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:
This is an equivalent of two DOS commands
IPCONFIG /release
IPCONFIG /renew
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:
~
1961 bytes
Created: 2002-12-02 11:40:47
Modified: 2009-09-08 14:48:46
Visits in 7 days: 81
Listed functions:
GetInterfaceInfo
IpReleaseAddress
IpRenewAddress
Word Index links for this example:
IP address
DHCP
Dynamic Host Configuration Protocol
lease on an IP address
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)
4 sec.
Example: 'Extensible Storage Engine class library'
10.47 hrs.
Function: 'SQLGetDiagRec'
17.77 hrs.
Example: 'System Image List Viewer'
21.06 hrs.
Example: 'Copying picture of the active form to the Clipboard using Enhanced Metafile API functions'
1 day(s)
Function: 'CreateRectRgn'
2 day(s)
Function: 'FindText'
Example: 'Minimizing all running applications'
Example: 'Number of clipboard formats available'
Example: 'Winsock: how to retrieve a service information corresponding to a port'
Example: 'Placing an arbitrary rectangular area of main VFP window on the Clipboard'
More last topics visited ...
Advertise here!