question about vsto-outlook

  • Thread starter Thread starter David82
  • Start date Start date
D

David82

i'm studying now from the book "vsto for mere mortals" how to develop outlook
application. the problem is that some methods that the ThisAddIn class
should know by the book are not known in my code.
here are some of them:
Me.CreateItem
Me.ActiveExplorer()

the book is using visual studio 2005 and i'm using visual studio 2008. but
i don't think it's the reason.

anyone knows how to make it work?

thanks in advance
David
 
Is that book for VSTO 2005 or VSTO 2005 SE?

In VSTO 2005 SE you can't use Me.CreateItem because Me no longer is
Outlook.Application. Instead you use Me.Application.CreateItem or assign an
Outlook.Application object to Me.Application and use that.

Do you get Intellisense showing Me.CreateItem or Me.ActiveExplorer is valid?
Does Intellisense show Me.Application.CreateItem and
Me.Application.ActiveExplorer?
 
great! it works now.
i guess i have VSTO 2005 SE. i didn't even know there was a different
between them.
anyway i did what you said and it works now.

thanks alot
David
 
Back
Top