I've been working on an Addin for Outlook in C#. It hasn't been long now,
just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified,
but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine
from Outlook. I archived my existing code, cleared out the registry and
recreated a brand new Addin project with the same name. The internal code is
exactly the same as Addin1, which loads fine, but my named Addin doesn;t
load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working
on a product and I'd like to keep the name if I can. I don't want to have to
change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz - 7 2562
Is Outlook showing that addin as disabled? Check in Help, About, Disabled
Items. If so there was some crash or unhandled exception and your addin was
disabled by Outlook.
--
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
"Joseph Geretz" <jg*****@nospam.com> wrote in message
news:uf**************@TK2MSFTNGP03.phx.gbl... I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with the same name. The internal code is exactly the same as Addin1, which loads fine, but my named Addin doesn;t load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working on a product and I'd like to keep the name if I can. I don't want to have to change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz -
Your project output and your debug symbols are not synching correctly, to
begin with. If you attempted to install the addin with VS2005 and then made
significant changes to the code base you will most definitely have problems.
One of a few steps you can do is go to the Project Properties and redirect
your project output to the location of your installed addin. That way you
can make changes and still be able to step through the code. This is done by
right-clicking the Addin project choosing Properties, then selecting the
Build tab, under the Output delimter browse to where you have previously
installed the code.
If you really want to reuse the first name of your addin you are going to
have to do a registry clean of the GUID that you used for your original
addin. Even if you uninstalled and thought you got all the entries, you may
not have.
Sometimes though it might be worth shutting down VS2005, rebooting your
system and starting where you left off.
Regards,
Thaddaeus.
"Joseph Geretz" <jg*****@nospam.com> wrote in message
news:uf**************@TK2MSFTNGP03.phx.gbl... I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with the same name. The internal code is exactly the same as Addin1, which loads fine, but my named Addin doesn;t load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working on a product and I'd like to keep the name if I can. I don't want to have to change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz -
Hi Ken,
No disabled items showing.
Thanks,
- Joseph Geretz -
"Ken Slovak - [MVP - Outlook]" <ke*******@mvps.org> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl... Is Outlook showing that addin as disabled? Check in Help, About, Disabled Items. If so there was some crash or unhandled exception and your addin was disabled by Outlook.
-- 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
"Joseph Geretz" <jg*****@nospam.com> wrote in message news:uf**************@TK2MSFTNGP03.phx.gbl... I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with the same name. The internal code is exactly the same as Addin1, which loads fine, but my named Addin doesn;t load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working on a product and I'd like to keep the name if I can. I don't want to have to change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz -
Hi Thaddaeus, Your project output and your debug symbols are not synching correctly, to begin with. If you attempted to install the addin with VS2005 and then made significant changes to the code base you will most definitely have problems.
But aside from not hitting my breakpoints, I don't even see the Add In
appearing in Outlook. If my AddIn loads, it installs several toobar buttons
and menu items, but these are not appearing.
One of a few steps you can do is go to the Project Properties and redirect your project output to the location of your installed addin.
I'm not sure what you mean by this. I never actually installed the AddIn.
I've just been running this from within Visual Studio. Eventually I'll need
to work on a deployment, but for now it seems that VS has been taking care
of 'behind the scenes' installation.
If you really want to reuse the first name of your addin you are going to have to do a registry clean of the GUID that you used for your original addin. Even if you uninstalled and thought you got all the entries, you may not have.
I will give this a shot.
Thanks!
- Joe Geretz -
"Thaddaeus Parker" <tp*****@microlinkllc.com> wrote in message
news:eb**************@TK2MSFTNGP03.phx.gbl... Your project output and your debug symbols are not synching correctly, to begin with. If you attempted to install the addin with VS2005 and then made significant changes to the code base you will most definitely have problems.
One of a few steps you can do is go to the Project Properties and redirect your project output to the location of your installed addin. That way you can make changes and still be able to step through the code. This is done by right-clicking the Addin project choosing Properties, then selecting the Build tab, under the Output delimter browse to where you have previously installed the code.
If you really want to reuse the first name of your addin you are going to have to do a registry clean of the GUID that you used for your original addin. Even if you uninstalled and thought you got all the entries, you may not have.
Sometimes though it might be worth shutting down VS2005, rebooting your system and starting where you left off.
Regards,
Thaddaeus.
"Joseph Geretz" <jg*****@nospam.com> wrote in message news:uf**************@TK2MSFTNGP03.phx.gbl... I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with the same name. The internal code is exactly the same as Addin1, which loads fine, but my named Addin doesn;t load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working on a product and I'd like to keep the name if I can. I don't want to have to change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz -
Having built add-ins in VS2003 using C# I have run into issues where my
add-in did this same exact thing and it came down to my add-in after it
was rebuilt not registering itself.
At one point I used a COM Shim in order to load my add-in, but this
solution does not work on .net 2.0. So I went back to using regasm which
is what VS uses anyway. One thing I would definately check is that your
add-in is being registered after it has been compiled.
Rog
Joseph Geretz wrote: Hi Thaddaeus,
Your project output and your debug symbols are not synching correctly, to begin with. If you attempted to install the addin with VS2005 and then made significant changes to the code base you will most definitely have problems.
But aside from not hitting my breakpoints, I don't even see the Add In appearing in Outlook. If my AddIn loads, it installs several toobar buttons and menu items, but these are not appearing.
One of a few steps you can do is go to the Project Properties and redirect your project output to the location of your installed addin.
I'm not sure what you mean by this. I never actually installed the AddIn. I've just been running this from within Visual Studio. Eventually I'll need to work on a deployment, but for now it seems that VS has been taking care of 'behind the scenes' installation.
If you really want to reuse the first name of your addin you are going to have to do a registry clean of the GUID that you used for your original addin. Even if you uninstalled and thought you got all the entries, you may not have.
I will give this a shot.
Thanks!
- Joe Geretz -
"Thaddaeus Parker" <tp*****@microlinkllc.com> wrote in message news:eb**************@TK2MSFTNGP03.phx.gbl... Your project output and your debug symbols are not synching correctly, to begin with. If you attempted to install the addin with VS2005 and then made significant changes to the code base you will most definitely have problems.
One of a few steps you can do is go to the Project Properties and redirect your project output to the location of your installed addin. That way you can make changes and still be able to step through the code. This is done by right-clicking the Addin project choosing Properties, then selecting the Build tab, under the Output delimter browse to where you have previously installed the code.
If you really want to reuse the first name of your addin you are going to have to do a registry clean of the GUID that you used for your original addin. Even if you uninstalled and thought you got all the entries, you may not have.
Sometimes though it might be worth shutting down VS2005, rebooting your system and starting where you left off.
Regards,
Thaddaeus.
"Joseph Geretz" <jg*****@nospam.com> wrote in message news:uf**************@TK2MSFTNGP03.phx.gbl... I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with the same name. The internal code is exactly the same as Addin1, which loads fine, but my named Addin doesn;t load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working on a product and I'd like to keep the name if I can. I don't want to have to change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz -
What if you set a breakpoint in your addin and right-click on the breakpoint
and select the Location menu item. In that dialog check the "allow source
code to be different from the original version" checkbox. Does that help at
all?
--
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
"Joseph Geretz" <jg*****@nospam.com> wrote in message
news:OZ**************@TK2MSFTNGP02.phx.gbl... Hi Ken,
No disabled items showing.
Thanks,
- Joseph Geretz -
Hi Rog, One thing I would definately check is that your add-in is being registered after it has been compiled.
How do I check this? Under Project | Properties | Build Tab, Register for
COM interop is checked. What can I do further to confirm that this is
actually being properly registered?
Thanks!
- Joe Geretz -
"Rog" <ro****@yahoo.com> wrote in message
news:ex**************@TK2MSFTNGP02.phx.gbl... Having built add-ins in VS2003 using C# I have run into issues where my add-in did this same exact thing and it came down to my add-in after it was rebuilt not registering itself. At one point I used a COM Shim in order to load my add-in, but this solution does not work on .net 2.0. So I went back to using regasm which is what VS uses anyway. One thing I would definately check is that your add-in is being registered after it has been compiled. Rog
Joseph Geretz wrote: Hi Thaddaeus,
Your project output and your debug symbols are not synching correctly, to begin with. If you attempted to install the addin with VS2005 and then made significant changes to the code base you will most definitely have problems.
But aside from not hitting my breakpoints, I don't even see the Add In appearing in Outlook. If my AddIn loads, it installs several toobar buttons and menu items, but these are not appearing.
One of a few steps you can do is go to the Project Properties and redirect your project output to the location of your installed addin.
I'm not sure what you mean by this. I never actually installed the AddIn. I've just been running this from within Visual Studio. Eventually I'll need to work on a deployment, but for now it seems that VS has been taking care of 'behind the scenes' installation.
If you really want to reuse the first name of your addin you are going to have to do a registry clean of the GUID that you used for your original addin. Even if you uninstalled and thought you got all the entries, you may not have.
I will give this a shot.
Thanks!
- Joe Geretz -
"Thaddaeus Parker" <tp*****@microlinkllc.com> wrote in message news:eb**************@TK2MSFTNGP03.phx.gbl... Your project output and your debug symbols are not synching correctly, to begin with. If you attempted to install the addin with VS2005 and then made significant changes to the code base you will most definitely have problems.
One of a few steps you can do is go to the Project Properties and redirect your project output to the location of your installed addin. That way you can make changes and still be able to step through the code. This is done by right-clicking the Addin project choosing Properties, then selecting the Build tab, under the Output delimter browse to where you have previously installed the code.
If you really want to reuse the first name of your addin you are going to have to do a registry clean of the GUID that you used for your original addin. Even if you uninstalled and thought you got all the entries, you may not have.
Sometimes though it might be worth shutting down VS2005, rebooting your system and starting where you left off.
Regards,
Thaddaeus.
"Joseph Geretz" <jg*****@nospam.com> wrote in message news:uf**************@TK2MSFTNGP03.phx.gbl... I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days.
Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints are hit in my source code. The Addin isn't being loaded.
If I create a new Addin program from scratch, e.g. AddIn1, it loads up fine from Outlook. I archived my existing code, cleared out the registry and recreated a brand new Addin project with the same name. The internal code is exactly the same as Addin1, which loads fine, but my named Addin doesn;t load up.
Sure, I could abandon the name I'm using, but I like the name, I'm working on a product and I'd like to keep the name if I can. I don't want to have to change my product name, just because my Outlook doesn't want to load it!
What can I do to diagnose this?
Thanks for your help!
- Joseph Geretz -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Samuel Bernard |
last post by:
Hi,
I created an addin for Outlook 2003. It creates a menu in Outlook in order
to allow the user to access severals options of our Web site.
I use MsiInstaller of MS to install this addin which...
|
by: Ernie |
last post by:
We have an Outlook 2000 VBA application - 8 user forms, and about a thousand lines of code - that we wish to distribute. We know that we can password-protect the code, but that does not give us the...
|
by: Pieter |
last post by:
Hi,
On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an
exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server
is not available. (Exception from...
|
by: guilligan.geo |
last post by:
Hello,
I'm trying to create an addin for Outlook 2002 using the one provided
in the demo of win32com as a starting point. I've been able to do my
addin and test it if I go the "standard" way...
|
by: Joseph Geretz |
last post by:
I'm porting a C# Outlook Addin originally engineered as a COM Addin over to
use VSTO. I've gotten this to the point where my VSTO Addin installs its
Menu items and Toolbar buttons when Outlook...
|
by: Pieter |
last post by:
Hi,
I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes
suddenly stops loading. I've put everywhere in the code Exception Handlers,
but no Exception is catched.
it...
|
by: =?Utf-8?B?TmVlbENoYW5kcmE=?= |
last post by:
Hi ,
I am Using Visual Studio 2005 (VB code) to develop a AddIn for Outlook
2003;
I need to find out from the AddIn If Of Outlook 2003 is connected to
internet ,
That is, Is Outlook 2003...
|
by: John |
last post by:
Hi
I have a simple Outlook 2003 AddIn created using Outlook 2003 AddIn template
in vs 2008. The full code is given below at the end. I got warnings on
Interop assemblies as I have Office 2007...
|
by: John |
last post by:
Hi
I have an Outlook add-in solution which includes a setup project. If I
install the Outlook add-in by right clicking on the setup project and
sleeting Install then the add-in gets installed...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |