PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins .Net Add-in does not work with Outlook 2002 and 2000

Reply

.Net Add-in does not work with Outlook 2002 and 2000

 
Thread Tools Rate Thread
Old 16-03-2006, 04:10 PM   #1
Osi
Guest
 
Posts: n/a
Default .Net Add-in does not work with Outlook 2002 and 2000


Our Dev team has developed a COM that is to be used with Outlook 2003,
2002 and 2000. The code works well with the Outlook 2003 version, but
does not show at all in the other two versions(OL 2000,2002). We have
tried
developing the code using the "Building Outlook 2002 Add-ins with
Visual Basic .NET" method. The COM code that was working was converted
from VB6 to .Net. The regsitry references for the add-in are being
imported using the
Installer.(again this works fine in 2003). What else are we missing
that we are not
doing. Any suggestions?

  Reply With Quote
Old 16-03-2006, 04:27 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

Did you install the PIAs for the appropriate Office version on the client machines?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Osi" <quiksil_ver@hotmail.com> wrote in message news:1142525409.075864.281600@e56g2000cwe.googlegroups.com...
> Our Dev team has developed a COM that is to be used with Outlook 2003,
> 2002 and 2000. The code works well with the Outlook 2003 version, but
> does not show at all in the other two versions(OL 2000,2002). We have
> tried
> developing the code using the "Building Outlook 2002 Add-ins with
> Visual Basic .NET" method. The COM code that was working was converted
> from VB6 to .Net. The regsitry references for the add-in are being
> imported using the
> Installer.(again this works fine in 2003). What else are we missing
> that we are not
> doing. Any suggestions?
>

  Reply With Quote
Old 16-03-2006, 04:34 PM   #3
Rog
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

Which version of the OOM are you using ?
Perhaps if are using the 11.xxxx version and trying to access a
property/method not exposed in Outloook 2000 or Outlook 2002 you are
generating an exception that may not be caught and is causing your
add-in to not work.
Rog

Osi wrote:
> Our Dev team has developed a COM that is to be used with Outlook 2003,
> 2002 and 2000. The code works well with the Outlook 2003 version, but
> does not show at all in the other two versions(OL 2000,2002). We have
> tried
> developing the code using the "Building Outlook 2002 Add-ins with
> Visual Basic .NET" method. The COM code that was working was converted
> from VB6 to .Net. The regsitry references for the add-in are being
> imported using the
> Installer.(again this works fine in 2003). What else are we missing
> that we are not
> doing. Any suggestions?
>

  Reply With Quote
Old 17-03-2006, 09:05 PM   #4
Osi
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

Rog & Sue Mosher:
We compile the code using 9.xxx version. Also all the interops are
located in the application directory. Should i be adding references to
specific Office versions inside the GAC? The Office assembly in the
working windows 2003 machine has 2 office assemblies, one without a
vesion and one with a version of 11.xx. Im assuming that since i have
the one with 11.x on my 2003 office that is why it works.
Does the .Net redistributable have the necessary tools to get the
version specific assemblies? I am in charge of running the Wise
installation for the application, should i be adding them though Wise?
I am new to all of this, and its quite overwhelming to take in all at
once. Thanks for help so far
Gustavo

  Reply With Quote
Old 20-03-2006, 03:25 PM   #5
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

You need to install the PIAs for the appropriate version of Office on each client machine. this is separate from the .NET Framework installation. I haven't work with the Wise tool.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Osi" <quiksil_ver@hotmail.com> wrote in message news:1142629548.897668.179570@j52g2000cwj.googlegroups.com...
> Rog & Sue Mosher:
> We compile the code using 9.xxx version. Also all the interops are
> located in the application directory. Should i be adding references to
> specific Office versions inside the GAC? The Office assembly in the
> working windows 2003 machine has 2 office assemblies, one without a
> vesion and one with a version of 11.xx. Im assuming that since i have
> the one with 11.x on my 2003 office that is why it works.
> Does the .Net redistributable have the necessary tools to get the
> version specific assemblies? I am in charge of running the Wise
> installation for the application, should i be adding them though Wise?
> I am new to all of this, and its quite overwhelming to take in all at
> once. Thanks for help so far
> Gustavo
>

  Reply With Quote
Old 20-03-2006, 06:46 PM   #6
Osi
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

Downloaded and installed the necessary Outlook.dll Interop Assemblies
from the OfficeXP PIA redistribuatable to the GAC using the gacutil.exe
Still have no menus or controls showing afterward when i launch Outlook
2000 or 2002........

  Reply With Quote
Old 20-03-2006, 08:11 PM   #7
Rog
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

The OfficeXP PIAs are not supposed to work pre OUtlook 2003.
that is not to say that won't work, but some methods/properties that are
exposed in the PIA will not work on Outlook 2000/2002
Rog

Osi wrote:
> Downloaded and installed the necessary Outlook.dll Interop Assemblies
> from the OfficeXP PIA redistribuatable to the GAC using the gacutil.exe
> Still have no menus or controls showing afterward when i launch Outlook
> 2000 or 2002........
>

  Reply With Quote
Old 21-03-2006, 02:10 PM   #8
Osi
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

I contacted a company that facilitates the installation of Interops and
other .Net addins. They say that they have a Office2000 PIA and works
with Outlook, but it still has many bugs so they are not at the
redistribution stage. But from my research everything states otherwise,
that there is no such thing. If there is a office 2000 PIA where is it?
MSDN has nothing related to such a thing.

  Reply With Quote
Old 22-03-2006, 03:10 PM   #9
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

See if the information about rebuilding the PIA for Outlook 2002 to use with
Outlook helps. It's at
http://www.microeye.com/resources/res_outlookvsnet.htm

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


"Osi" <quiksil_ver@hotmail.com> wrote in message
news:1142950215.368409.18980@t31g2000cwb.googlegroups.com...
>I contacted a company that facilitates the installation of Interops and
> other .Net addins. They say that they have a Office2000 PIA and works
> with Outlook, but it still has many bugs so they are not at the
> redistribution stage. But from my research everything states otherwise,
> that there is no such thing. If there is a office 2000 PIA where is it?
> MSDN has nothing related to such a thing.
>


  Reply With Quote
Old 22-03-2006, 07:09 PM   #10
Osi
Guest
 
Posts: n/a
Default Re: .Net Add-in does not work with Outlook 2002 and 2000

I thought I had replied, found out the problem. As it turns out, the
interop that was needed was the Extensibility.dll file. This file is
not redistributed with the .Net framework or the XP PIAs redist. Also I
had to edit a few registry keys. The only thing that i had to to was
because the extensibility is an interop needed with .net, i just
installed it using the gacutil.exe and added regsitery value though a
..bat file. Seems to be working for all OL versions 2000,2002,2003. Also
we did recompile our plugin from a 2000 machine so that we can access
it. So all of these things got our plug in to work.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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