Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

NetOffice Outlook Add-in

$
0
0

I'm new to #develop and a relative novice when it comes to programming (and has mostly been vba).

I have written quite a bit of vba for outlook which I wanted to share with others in the office. I could just copy the vba from machine to machine, but I decided to look into creating a proper add-in instead!

I have therefore downloaded the NetOffice assemblies and #develop.

I used the NetOffice Developer Tools to create the basic add-in code, using the Project Wizard with the following settings -> Automation Addin, VB.NET, Visual Studio 2010 (Express), NET 4.0 (Client Profile), for Outlook, Current User, Load at Startup, only customize ribbon UI selected.

Loaded the solution up in sharpdevelop and built using the default settings, and it works like a charm.

As we have multiple users I then realised that it would be better if the add-in was installed for all users. I went through the same process to create the project but selected all users instead. Built in #develop, but this fails to register the addin.

I have tried manually registering the addin using c:\windows\microsoft.NET\Framework\v4.0.30319 egasm (as administrator) which brings up a message box (generated by the addin?) of "An error occured in Register", then regasm reports types registered successfully. This doesn't load in outlook.

The machine i'm running this on is 64bit windows 8, with 32bit office 2013

I've tried this on a virtual machine with a fresh copy of winXP 32bit, and office 2010 with the same results - current user works fine local machine doesn't

As this is a virtually blank project, I can't understand what the problem is. Not sure if is netoffice, #develop, or the machine

Any help would be appreciate - Probably something obvious to someone more experienced!!

Richard


Viewing all articles
Browse latest Browse all 1764

Trending Articles