Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / September 2005

Tip: Looking for answers? Try searching our database.

attaching pic from PictureBox Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sloopy5235@yahoo.com - 21 Sep 2005 20:12 GMT
Hey,
I'm wondering if anyone can help me attach a pic to an Outlook email
using VB, where the pic comes from the Picture object in a PictureBox
Control and isn't necessarily saved as a separate file.  I would also
like to have this pic embedded in the email.  I've figured out how to
create an email with an embedded image in it (using the code for here:
http://www.outlookcode.com/d/code/htmlimg.htm ), but I can't figure out
how to attach the Picture object from a PictureBox control as opposed
to an existing jpg (or gif or bitmap) file.  Any help would be much
appreciated!
Ken Slovak - [MVP - Outlook] - 21 Sep 2005 21:45 GMT
You'd need to get the picture and save it to the file system, probably using
Win32 API calls. Outlook needs to have the image you want to embed using
code as a file in the file system.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hey,
> I'm wondering if anyone can help me attach a pic to an Outlook email
[quoted text clipped - 6 lines]
> to an existing jpg (or gif or bitmap) file.  Any help would be much
> appreciated!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.