attaching pic from PictureBox Control

  • Thread starter Thread starter sloopy5235
  • Start date Start date
S

sloopy5235

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!
 
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.
 
Back
Top