Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Storing the environment strings in cursor
Uploading file to the FTP server using InternetWriteFile
Using FrameRgn for displaying system colors
Obtaining a handle to the desktop associated with the calling thread
Retrieving list of Global Atom names
Using GetSysColor
Using the DeleteFile
Validating the heap of the calling process
Validating URLs using moniker functions
Wininet last error description
Winsock: retrieving information about available transport protocols
Converting long file names to the short format and vice versa
Enhanced GetFont dialog
Loading a string resource from an executable file
Number of clipboard formats available
Retrieving long values associated with the class of the VFP window
Animating a transition of the VFP form (a wire-frame rectangle)
Deleting a file stored on the FTP server
GDI+: reading and writing metadata in JPEG and TIFF files
How to generate GUID values
Retrieving Window Class information for the VFP window
Saving HKEY_LOCAL_MACHINE\\Software\\ODBC Registry Entries to an XML file
Using the GetTempFileName
Clipping mouse cursor area
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 (107.21.186.38)
8.13 hrs.Example: 'Verifying a file using the Authenticode policy provider'
 Function: 'GdipSetPageScale'
Function group: 'GDI+ Graphics'
8.36 hrs.Example: 'Starting a dialog box for connecting to network resources (mapping network drive)'
 Example: 'Hiding mouse cursor'
15.81 hrs.Function: 'NetUserDel'
Function group: 'Network Management'
 Example: 'GetFileOwner - Get the owner of an NTFS file'
18.7 hrs.Example: 'Using GetNearestColor'
 Example: 'The SQLGetProp() creates a bridge between Visual FoxPro and the ODBC API'
22.52 hrs.Example: 'How to write and read Window Properties for the specified window'
1 day(s)Function: 'CryptGetProvParam'
Google
Advertise here!