• Subject: Re: Add attachments to message via VB.NET 2005
  • Author: Jac Tremblay
  • Date: 13 Nov 2007
  • References: 1 2 3 4 5
Hi again, Sue,
I guess I will have to look again through all the different options available.
Right now, I'm going to try Redemption and will see what it does.
Thanks for the information. It will save me time.

Jac Tremblay

"Sue Mosher [MVP-Outlook]" wrote:

> Go with MAPI? Extended MAPI is not supported in managed code. And if you're thinking about MAPI.Session, that's CDO 1.21, which is also not supported in .NET.
>
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook 2007 Programming:
> Jumpstart for Power Users and Administrators
> http://www.outlookcode.com/article.aspx?id=54
>
>
> "Jac Tremblay" <jac.tremblay@donotspam.com> wrote in message news:C73E6D0C-798A-45C3-AACC-438B63B537BB@microsoft.com...
> > Hi again Sue,
> > These posts answer my questions. I spent the rest of the day and the whole
> > evening reading about these subjects and testing the different products
> > offered.
> >
> > I think I will go with MAPI for now.
> >
> > I will soon post another question about that subject in a new thread.
> >
> > Thank you again for the information. It is again very pertinent and useful.
> >
> > Have a good day.
> > --
> > Jac Tremblay
> >
> >
> > "Sue Mosher [MVP-Outlook]" wrote:
> >
> >> 1) From http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.outlook..._application.aspx:
> >>
> >> "This [_Application] is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see Application."
> >>
> >> 2) See http://www.outlookcode.com/article.aspx?ID=52 for your options with regard to the "object model guard" security in Outlook 2000 SP2 and later versions.
> >>
> >> It's best to post each individual question separately, as different people may have the answers.
>
> >>
> >> "Jac Tremblay" <jac.tremblay@donotspam.com> wrote in message news:AAFFD3BF-DF57-4760-A39C-18A52D65C03E@microsoft.com...
> >> >
> >> > I have a thousand more questions but will only post a couple of simple ones.
> >> > A reference to some explanations will do.
> >> >
> >> > 1- What is the difference between
> >> > Dim oApp As Outlook.Application
> >> > and
> >> > Dim oApp As Outlook._Application
> >> > and also
> >> > Dim oMsg As Outlook.MailItem
> >> > and
> >> > Dim oMsg As Outlook._MailItem
> >> > I tried them both and they do the job alright.
> >> >
> >> > 2- How can I avoid the message "Somebody is trying to use your mail system
> >> > to send a message. It might be a virus..." or something like this...?
> >>
> >>
>
12 Nov 2007Re: Add attachments to message via VB.NET 2005.Sue Mosher [MVP-Outlook]
12 Nov 2007\ Re: Add attachments to message via VB.NET 2005.Jac Tremblay
12 Nov 2007   \ Re: Add attachments to message via VB.NET 2005.Sue Mosher [MVP-Outlook]
13 Nov 2007      \ Re: Add attachments to message via VB.NET 2005.Jac Tremblay
13 Nov 2007         \ Re: Add attachments to message via VB.NET 2005.Sue Mosher [MVP-Outlook]
13 Nov 2007            \ Re: Add attachments to message via VB.NET 2005.Jac Tremblay
All times are in (US) Eastern Daylight Time (GMT -4:00)