![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "David82" wrote in message ... 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 |
#3
|
|||
|
|||
![]()
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 "Ken Slovak - [MVP - Outlook]" wrote: 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? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "David82" wrote in message ... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VSTO and Outlook Event | ck | Add-ins for Outlook | 1 | April 3rd 08 02:02 PM |
Creating my first outlook 2003 add in using vsto | John | Add-ins for Outlook | 3 | January 10th 08 06:20 PM |
outlook 2003 vsto | Danny Kjærgaard | Add-ins for Outlook | 1 | March 19th 07 01:23 PM |
Question: Using VSTO to package/deploy Outlook Add-Ins? | Tadwick | Add-ins for Outlook | 6 | July 31st 06 10:58 PM |
Any advantages of VSTO instead of VB6 for Outlook add-in? | mattiasw | Add-ins for Outlook | 4 | February 24th 06 07:00 AM |