"The code is exactly
how I would like to write code and the algorithms used are very
efficient and well-documented."
Van T. Dinh, Microsoft MVP
|
|
Class: CShellExecute
Class that uses the Windows Shell to launch, print, or explore files or programs. The routines in this class allow you to use the Windows shell to perform a variety of file execution operations. For example you can copy a file or group of files and have the Windows shell provide an animated progress display. You can send files to the Recycle Bin with full confirmation support.
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the CShellExecute class
|
|
StillExecuting
|
Property
|
Returns whether the application launched with the LaunchProgram or LaunchDocument method is still executing.
This property is only valid if the previous method called was either LaunchProgram or LaunchDocument. If you test the value after executing one of the other methods, the property's value will be False, even though the Folder, or E-mail program etc. might actually still be executing.
|
|
Explore
|
Method
|
Launches Windows Explorer open to the specified folder
|
|
LaunchDocument
|
Method
|
Launch a program by specifying the document or data file. For example this could be a Word document or an Access .MDB database
|
|
LaunchEmail
|
Method
|
Open the program associated with email on the system
|
|
LaunchFolder
|
Method
|
Open a folder window on a directory
|
|
LaunchProgram
|
Method
|
Launch a program
|
|
LaunchURL
|
Method
|
Open the default Internet browser on the user's machine by specifying a URL (uniform resource locator)
For example: http://www.fmsinc.com, ftp://ftp.microsoft.com, etc.
|
|
PrintDocument
|
Method
|
Prints a document by launching the program that is associated with the document.
This is similar to what happens when you drag a document to the printer icon on the desktop.
|
Overview of Total Visual SourceBook
The source code in Total Visual
SourceBook includes modules and classes for Microsoft Access, Visual
Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily
add this professionally written, tested, and documented royalty-free code
into your applications to simplify your application development efforts.
Additional Resources
|
|