Help loading Add-In VB.Net 2005

  • Thread starter Thread starter Rick H
  • Start date Start date
R

Rick H

I have a addin I developed in VB6-migrated to VB.net 2003 and with a
little tweaking it was working fine. I was able to deploy to machines
running Outlook XP or 2003. Now I have upgaded to 2005 and it runs fine
on the development machine, but when I run setup on a machine that
doesn't have VB.net installed it never loads. The LoadBehavior is set
to 3 when installed and when I start Outlook it gets set to 2. I have
even went back to basic and downloaded the MicroEye sample addin. This
is doing the same thing. What am I missing?

I have loaded the PIA's on the deployment machine for the version of
outlook I'm deploying to.
The machine I'm deploying to is a Window XP Pro. Full install of
OfficeXP.

Please HELP!!! Rick
 
Yes, it has .NET framework 2.0, same as development machine. It is
installed during set up if it is not on the machine already. I have
tried just about everything (except what it needs). Even if I select
Just Me on the set up I still can't see the addin in the Options menu.
I'm about ready to revert back to VB6, but really hate to do this after
all the time I have put into getting it to work in .NET.
 
Hello,

I don't know how you created your addin with Visual Studio 2005.
Is it using the VSTO extension / runtime. Then you have to redistribute
the VSTO runtime on the target machines.

There also exists an update for Office - but I don't know if it helps
for Outlook 2003.
I recommend: when creating an Outlook AddIn use VS2003 against Framework
1.1 and put the folowing file into the Outlook.exe path named
Outlook.exe.config:

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>

Until you didn't use new VSTO / .Net 2.0 features you should be able to
compile your solution against Framework 1.1.


Office Update Issue with .Net 2.0

http://www.microsoft.com/downloads/details.aspx?FamilyID=1b0bfb35-c252-4
3cc-8a2a-6a64d6ac4670&DisplayLang=en

Hope this helps,

with regards / mit freundlichen Grüßen


Helmut Obertanner
MCSD.NET MCSE CACP
Microsoft Licensing Specialist 2005
X4U electronix | web: www.x4u.de


.... X4U rocks !
 
Back
Top