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
Converting Unicode data from the Clipboard to a character string using a given code page
Custom GDI+ class
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Establishing connection using the SQLDriverConnect
Custom FTP Class for Visual FoxPro application
Detecting changes in connections to removable drives (VFP9)
How to create non-blocking Winsock server
Splash Screen for the VFP application
Winsock: sending email messages (SMTP, port 25)
How to print a bitmap file
GDI+: copying to the Clipboard (a) image of active FoxPro window/form, (b) image file
Enumerating raw input devices attached to the system (keyboard, mouse, human interface device)
Peer-to-peer LAN messenger built with Mailslot API functions
Sending email messages with Simple MAPI
Custom HttpRequest class (WinINet)
How to create MD-5 and SHA-1 hash values from a string
Enumerating data formats currently available on the clipboard
Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
How to put a vertical text scrolling on the form (a movie cast)
Displaying bitmap using the AlphaBlend function
Mapping and disconnecting network drives
How to prevent users from accessing the Windows Desktop and from switching to other applications
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: 165  
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 (23.22.252.150)
3 sec.Example: 'Obtaining window class name for the main VFP window'
1.05 hrs.Example: 'How to enumerate sessions and processes on a specified terminal server'
 Function: 'LocalAlloc'
5.31 hrs.Example: 'Converting long file names to the short format and vice versa'
 Example: 'How to copy the image of a form to the Clipboard using Bitmap API functions'
9.3 hrs.Function: 'WinHttpCrackUrl'
Function group: 'HTTP Functions (WinHTTP)'
 Function: 'CryptGenKey'
Function group: 'Cryptography Reference'
13.76 hrs.Function: 'GetModuleFileName'
Function group: 'Dynamic-Link Library'
 Function: 'OpenService'
Function group: 'Service'
17.93 hrs.Function: 'AVIFileGetStream'
Function group: 'Windows Multimedia'
Google
Advertise here!