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
Custom GDI+ class
Mapping and disconnecting network drives
Winsock: sending email messages (SMTP, port 25)
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)
How to display the Properties dialog box for a file (ShellExecuteEx)
Disk in drive A:
Enumerating network resources
Detecting changes in connections to removable drives (VFP9)
Using Font and Text functions
Splash Screen for the VFP application
How to download a file from the FTP server using FtpGetFile
How to play AVI file on the _screen
Using EnumPrinters function to enumerate locally installed printers
Retrieving the name of the network resource associated with a local device
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)
Creating irregularly shaped FoxPro form using transparency color key
Creating a console window for Visual FoxPro application
How to put a horizontal text scrolling on the form (a news line)
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
Start an executable from VFP application by using the CreateProcess
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:
Other code samples you might be interested in:
Running external applications from VFP using WinExec
Using ShellExecute for performing operations on files
Running an external program from FoxPro and waiting for its termination
How to Start a Process as Another User (NT/XP/2K)
Running MSDOS Shell as a child process with redirected input and output
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:
~
1760 bytes
Created: 2001-07-12 12:00:00
Modified: 2011-12-10 09:20:22
Visits in 7 days: 188
Listed functions:
CreateProcess
GetLastError
TerminateProcess
My comment:
According to the Microsoft all
WinExec
calls are translated directly into corresponding
CreateProcess
calls.
Microsoft Knowledge Base Article - 175986
Understanding CreateProcess_and Command-line Arguments
.
* * *
Note overloaded Run methods in C# code.
Word Index links for this example:
child process
external applications
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)
4.28 hrs.
Example: 'Adding printer to the list of supported printers for the specified server'
Function: 'SetupDiGetClassImageIndex'
10.81 hrs.
Example: 'Using LoadLibrary'
Example: 'Using FrameRgn for displaying system colors'
12.34 hrs.
Example: 'Winsock: retrieving the host information corresponding to a network address'
22.76 hrs.
Example: 'Time in milliseconds represented as string (e.g. 1 hour 24 min 36 sec)'
Example: 'Using FtpCommand'
23.44 hrs.
Example: 'Displaying printer-properties Property Sheet for the specified printer'
Function: 'GetWindowPlacement'
Function group: 'Window'
1 day(s)
Example: 'Converting path to original case'
More last topics visited ...
Advertise here!