Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to change display settings: screen resolution, screen refresh rate
Adding and deleting Scheduled Tasks using NetScheduleJob API functions
Custom GDI+ class
Converting Unicode data from the Clipboard to a character string using a given code page
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Enumerating data formats currently available on the clipboard
Winsock: sending email messages (SMTP, port 25)
Custom FTP Class for Visual FoxPro application
How to download a file from the FTP server using FtpGetFile
Detecting changes in connections to removable drives (VFP9)
Splash Screen for the VFP application
Mapping and disconnecting network drives
Custom HttpRequest class (WinINet)
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
How to convert a bitmap file to monochrome format (1 bpp)
How to activate Windows Calculator
Custom HttpRequest class (WinHTTP)
Establishing connection using the SQLDriverConnect
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
Using Font and Text functions
Using WM_COPYDATA for interprocess communication (VFP9)
Displaying bitmap using the AlphaBlend function
Using EnumPrinters function to enumerate locally installed printers
Extensible Storage Engine class library
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: 184  
    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.234.231.49)
    7.27 min.Example: 'How to retrieve information about a cache entry (Internet Explorer)'
    7.32 min.Example: 'How to print FoxPro form'
    1.17 hrs.
    Function group: 'GDI+ Pen'
    5.44 hrs.Example: 'Opening access to the Microsoft Internet functions for the application'
     Function: 'GetForegroundWindow'
    Function group: 'Window'
    6.24 hrs.Example: 'Custom FTP Class for Visual FoxPro application'
    6.25 hrs.Example: 'Displaying animated images on FoxPro form with BitBlt and StretchBlt functions'
    9.73 hrs.Function: 'SetTextColor'
     Function: 'GetDeviceDriverBaseName'
    Function group: 'Performance Monitoring'
    13.08 hrs.Function: 'ConnectToPrinterDlg'
    Google
    Advertise here!