2.7 Loader and Outlook Property Page Demo without shim !

Add-in Express™ Support Service
That's what is more important than anything else

2.7 Loader and Outlook Property Page Demo without shim !
 
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
Hi

I have used the 2.6 advanced demo "Outlook Property Page" in my addin so I can update items in the main addin from the properties page this works perfectly with the 2.6 build.

Does the new 2.7 loader without the shim allow this demo to still work correctly as I do not want to update my main dev machine in case the new loader does not work with this syle code.

I realise you guys are not hols but should I stay with 2.6 untill sept when you have more time.

In paticular the code:

if (CompareStrings(t.Name, "ADXRemoteObject"))
{
string progID = (string)AddinExpress.MSO.ADXAddinModule.
CallProxyMethod(addinObj.Object, "GetProgID", null);
if (CompareStrings(progID, "OutlookPropertyPageShim2005.Proxy"))
{
addinModule = addinObj.Object;
break;

which queries the shim, if the shim is not there can this still work !

If it does not is their any example to do the above using the loader.

thx

Matt
Posted 04 Aug, 2006 19:12:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Matt.

This code will work fine with the ADX loader as well.
However you will need to use the progID of the AddinModule class.
Posted 05 Aug, 2006 17:19:55 Top
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
thx. I have it all working. What was wrong is I was instantiating objects in the code:

public AddinModule()
{
InitializeComponent();
settings = new Settings(false);
olMessage = new olMessage();
}

This causes a major crash of ADX when it loads. I have moved my settings and olMessage objects to AddinModule_AddinStartupComplete. One to remember for other users maybe as I was recommended to put my stuff in the InitializeComponent() area by other developers.

Matt

Posted 07 Aug, 2006 07:08:20 Top
Matt Driver


Matt


Posts: 152
Joined: 2004-08-17
thx, all working

Matt
Posted 08 Aug, 2006 11:21:38 Top