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?
|
|
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[ at ]hotmail.com> wrote in message news:1142525409.075864.281600[ at ]e56g2000cwe.googlegroups.com...
[Quoted Text] > 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? >
|
|
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:
[Quoted Text] > 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? >
|
|
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
|
|
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[ at ]hotmail.com> wrote in message news:1142629548.897668.179570[ at ]j52g2000cwj.googlegroups.com...
[Quoted Text] > 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 >
|
|
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........
|
|
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:
[Quoted Text] > 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........ >
|
|
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.
|
|
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[ at ]hotmail.com> wrote in message news:1142950215.368409.18980[ at ]t31g2000cwb.googlegroups.com...
[Quoted Text] >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. >
|
|
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.
|
|