Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to attach several emails to form to open in Outlook?

Posted on 2012-03-18
3
252 Views
Last Modified: 2012-03-21
I have a form that open and populates an Outlook email from vb.net.  How do I include a button to add attachments to the email?  They need the ability to "add more attachments."
0
Comment
Question by:Kevin Smith
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37735056
On your form? Provide a way of adding files to list. Use listbox and a button which shows the Open File dialog. Once you have pathes of all files, use the Attachments.Add method to add each file.
0
 

Author Comment

by:Kevin Smith
ID: 37735280
So how do I do that?
0
 

Author Comment

by:Kevin Smith
ID: 37735292
Okay, did that (ha).  I did 5 different text boxes and five different buttons...is there a better way than have to do it manually?  What if they wanted to add 6 files?  Is there an "add another file" method?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question