Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / March 2007

Tip: Looking for answers? Try searching our database.

VSTO SE and outlook debugging problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dale Reed - 09 Jan 2007 14:59 GMT
Hi,

I've not even got started yet as I cannot get vsto se to work at all!

I have VS2005 with sp 1 installed.  I installed VSTOSE as I need to do a
small interface with outlook.  I have created an outlook 2003 addin
application (vb.net).  All I've done is put a message box in both start and
shutdown events and hit F5.

Outlook 2003 starts up as expected, but no message box on start up, and no
message box on shut down.  I've tried other things like
application.eventlog.write etc but basically nothing in the visual studio
add in seems to run.  I've also tried compiling the installer and installing
it on my PC to see if it was just a debugger issue but again this seems to
have no impact whatsoever on my outlook when I load it.

Has anyone else had this issue?  I've tried searching the web but as there
is no error message I'm struggling to find the problem!  I've tried
reinstalling vsto se but it made no difference.

Any help appreciated!

Dale.
Dale Reed - 09 Jan 2007 15:09 GMT
Just an addendum - this problem seems to ONLY be with outlook.  Doing the
same code with word and excel runs fine.  Is this something to do with the
security issues?  I didn't think I needed to worry about those on the
development machine?

> Hi,
>
[quoted text clipped - 19 lines]
>
> Dale.
Ken Slovak - [MVP - Outlook] - 10 Jan 2007 14:28 GMT
Usually the debugger sets the security for you on the development machine so
that's generally not an issue.

If you look in Tools, Options, Other tab, Advanced Options button, COM
Add-Ins button, does your addin show up in the list of COM addins? What does
the text show about it if you select it?

Normally I would start the code from the debugger and then set a breakpoint
in the Startup code. Are you not hitting that breakpoint at all?

Outlook/Office 2003 doesn't install the PIA's or Extensibility.dll, you have
to include them in your project or have them already installed. I'm not sure
about that as a problem on the development machine, but you can check to
make sure those are in your GAC.

In the debugger what is your output? Any errors listed?

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Just an addendum - this problem seems to ONLY be with outlook.  Doing the
> same code with word and excel runs fine.  Is this something to do with the
[quoted text clipped - 24 lines]
>>
>> Dale.
Felipe - 07 Mar 2007 18:58 GMT
Hi,
       I have the same problem. I can debug everything but Outlook. What I
have found so far is that the Add-in is not being loaded if I go to
Tools/Options/ Other/ COM Addins I can see my Add in there but if I check it
and click OK if I go back it is uncheck.

Please help

> Usually the debugger sets the security for you on the development machine so
> that's generally not an issue.
[quoted text clipped - 41 lines]
> >>
> >> Dale.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.