Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Enumerating MIDI output devices
FindText -- the hopeless and useless Common Dialog
GDI+: creating scaled copy of image file
How to display picture stored in enhanced-format metafile (*.emf)
Obtaining a handle to the desktop associated with the calling thread
Attaching menu to a top-level form
Creating a unique filename based on existing filename
Dial the Net Automatically
Enumerating Volumes and Volume Mounting Points (NTFS)
Retrieving various system metrics
Simple Window Viewer
Using the DeleteFile
Enhanced GetFont dialog
How to view icons stored in executable files (Icon Viewer)
How to view icons stored in executable files (Icon Viewer) - II
Retrieving list of supported paper names (for example, Letter or Legal) for a given printer
Using the CreateFile
Displaying Windows shell folders in TreeView control with Visual FoxPro FLL
Enumerating the subkeys for a given registry key
Monitoring changes in a directory
Reading and setting explicit Application User Model ID for the current process (Win7)
Wininet last error description
Winsock: retrieving the host information corresponding to a network address
GDI+: Using Scale and Shear transformations
Sending a standard message with one or more attached files using default email client

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:
You do not have much control over the sending process with this function, comparing to the MAPISendMail.

Some parameters you should enter manually through a dialog box: a list of recipients, and optional message. As well this function requires the user to push Send button on the dialog for the message to be sent.
 
  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:
  • ~
1302 bytes  
Created: 2002-02-04 21:37:37  
Modified: 2011-12-10 09:20:22  
Visits in 7 days: 171  
Listed functions:
GetActiveWindow
MAPISendDocuments
Printer friendly API declarations
My comment:
Provide this function with a handle to your VFP application main window to keep it on the top after the sending dialog window closes. The Outlook Express changes the default directory, that is why it needs to be saved and restored. Just another way how to send email from FoxPro application.

#kwd: sln_sendemail.
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 (184.72.91.94)
3 sec.Example: 'Using Change Notification Objects to monitor changes to the printer or print server'
1.23 hrs.Example: 'Simple printer queue monitor: deletes, pauses, resumes print jobs for local printer'
 Function: 'SQLCreateDataSource'
4.63 hrs.Function: 'GetRawInputDeviceList'
 Example: 'Sending email messages with Simple MAPI'
6.68 hrs.Function: 'AddPrinter'
 Function: 'htonl'
Function group: 'Windows Sockets 2 (Winsock)'
12.18 hrs.Example: 'Retrieving IP statistics for the computer'
16.61 hrs.Function: 'GetAce'
Function group: 'Security'
17.59 hrs.Example: 'Custom HttpRequest class (WinHTTP)'
Google
Advertise here!