Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Finding the path to the VFP executable running
High-powered ALLTRIM
How to delete all print jobs for a printer
Retrieveing general information about the driver and data source associated with an ODBC connection
Retrieving local computer and user names
Semi-transparent Form
How to display Windows On-Screen Keyboard
GDI+: saving image of FoxPro form to graphics file (BMP, GIF, JPG, PNG, TIF)
Monitoring changes occurring within a directory
Retrieving the interface–to–IP address mapping table
Retrieving Window Class information for the VFP window
Enumerating global and local group accounts on a server (WinNT/XP/2K)
How to block the ALT+TAB shortcut (WinXP)
How to create a desktop shortcut (shell link)
How to play MIDI notes
How to view icons stored in executable files (Icon Viewer)
Obtaining some properties for the Windows desktop using the GetWindowPlacement function
Reading the structure of VFP main menu
Creating a clipping region from the path selected into the device context of a form
Drawing Windows frame controls using the DrawFrameControl function
Enumerating ports that are available for printing on a specified server
GDI+ fun: roach-infested desktop
GetProcessVersion points at target OS
Retrieving the name of the primary domain controller (PDC) and join status information (NT/2000/XP)
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 Printer friendly version of this code sample
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: 183  
    Listed functions:
    GetActiveWindow
    GlobalAlloc
    GlobalFree
    GlobalSize
    SHFileOperation
    Printer friendly API declarations
    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:
    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.


    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.242.188.217)
    8.49 hrs.Example: 'How to delete IE cookies, clear IE history and delete files in Temporary Internet Files directory'
    8.84 hrs.Example: 'Winsock: connecting to a news server (NNTP, port 119)'
    22.36 hrs.Function: 'SQLInstallerError'
    Function group: 'ODBC API'
    1 day(s)Function: 'GdiGetBatchLimit'
    Function group: 'Painting and Drawing'
    2 day(s)Example: 'Winsock: how to retrieve the protocol information corresponding to a protocol name'
     Function: 'SQLBrowseConnect'
     Example: 'Converting command-line string to a set of Unicode argument strings (WinNT only)'
     
    Function group: 'Window Procedure'
     Function: 'GetProcessTimes'
    Function group: 'Process and Thread'
     Function: 'CeGetSystemInfo'
    Function group: 'Remote Application Programming (RAPI)'
    Google
    Advertise here!