A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

question about vsto-outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 29th 08, 11:07 AM posted to microsoft.public.outlook.program_forms
David82
external usenet poster
 
Posts: 2
Default question about vsto-outlook

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  
Old May 29th 08, 03:59 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default question about vsto-outlook

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  
Old June 5th 08, 04:13 PM posted to microsoft.public.outlook.program_forms
David82
external usenet poster
 
Posts: 2
Default question about vsto-outlook

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 06:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.