Using Win32 functions in Visual FoxPro
Image Gallery
functions
•
examples
•
solutions
•
updates
•
about
•
links
•
articles
•
login
•
Code examples:
Exporting DLL icon resources as .ICO files
How to view icons stored in executable files (Icon Viewer)
Using the RestartDialog function -- restarting Windows
Downloading files from the FTP server using InternetReadFile
Retrieving the name of the network resource associated with a local device
Initiating Inet connection using a modem
Windows Shell Icons displayed and exported to ICO files (Vista)
Class library providing access to the System Registry
How to extract frames from AVI files
Monitoring changes occurring within a directory
Opening the Page Setup dialog box to specify the attributes of a printed page
Passing data records between VFP applications via the Clipboard
The SQLGetProp() creates a bridge between Visual FoxPro and the ODBC API
GDI+: Drawing a Pie Chart
How to find the application associated with a file name
Obtaining some properties for the Windows desktop using the GetWindowPlacement function
The window and its ancestors
Using MessageBeep
How to read email messages using Simple MAPI
How to retrieve information about a cache entry (Internet Explorer)
Placing On-screen Alert on top of all windows
Retrieving information about the main VFP window
Retrieving local computer and user names
Browsing Windows Known Folders (Special Folders)
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
Deleting files into the Recycle Bin
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:
The
SHFileOperation
can delete files into the Recycle Bin.
See also:
How to empty the Recycle Bin
How to retrieve number of objects in the Recycle Bin
How to remove a directory that is not empty
Displaying standard progress dialog box when copying file
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:
~
2753 bytes
Created: 2002-07-27 18:32:38
Modified: 2009-06-11 13:39:56
Visits in 7 days: 226
Listed functions:
GetActiveWindow
GlobalAlloc
GlobalFree
GlobalSize
SHFileOperation
My comment:
Check similar examples:
HOWTO: Delete a File into the Win95/98/Me Recycle Bin
.
VB World: Moving files into the Recycle Bin
.
Word Index links for this example:
dialog box
recycle bin
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
(184.72.184.104)
4.54 hrs.
Example: 'Who owns the Windows Clipboard'
Function: 'CreateFile'
10.77 hrs.
Function: 'gethostbyname'
15.56 hrs.
Example: 'Vertical Label control'
Function: 'SetBkColor'
16.14 hrs.
Function: 'WNetOpenEnum'
17.2 hrs.
Example: 'Retrieving information specific to the current Time Zone'
Example: 'How to find when the application started'
17.21 hrs.
Links
Page 4
18.22 hrs.
Example: 'How to make a VFP form fading out when released (GDI version)'
More last topics visited ...
Advertise here!