VB.Net PropteryPage error

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

VB.Net PropteryPage error
 
Morten Bohmer




Posts: 2
Joined: 2007-05-24
Hi

I cannot seem to get PropertyPage in Outlook to Display with Addin-Express. I add an ADX Outlook PropertyPage to my Project, put some buttons on it. When I run the project and go in to tools->Properties in outlook, I get the following exception.

Can anyone please explain ?



Morten




Detailed technical information follows:
---
(Inner Exception)
Date and Time: 24.05.2007 12:31:23
Machine Name:
IP Address:
Current User:

Application Domain: C:\Documents and Settings\xxx\My Documents\Visual Studio 2005\Projects\Outlook-Addin Hesnes Saga\Outlook-Addin Hesnes Saga\bin\Debug\
Assembly Codebase: file:///C:/WINDOWS/assembly/GAC_MSIL/AddinExpress.MSO.2005/3.1.1864.2005__c20c070a1fc9a144/AddinExpress.MSO.2005.dll
Assembly Full Name: AddinExpress.MSO.2005, Version=3.1.1864.2005, Culture=neutral, PublicKeyToken=c20c070a1fc9a144
Assembly Version: 3.1.1864.2005
Assembly Build Date: 07.02.2005 02:06:50

Exception Source:
Exception Type: System.Runtime.InteropServices.COMException
Exception Message: Exception from HRESULT: 0xEB420005
Exception Target Site: Object reference not set to an instance of an object.

---- Stack Trace ----



(Outer Exception)
Date and Time: 24.05.2007 12:31:23
Machine Name:
IP Address:
Current User:

Application Domain: C:\Documents and Settings\xxxx\My Documents\Visual Studio 2005\Projects\Outlook-Addin Hesnes Saga\Outlook-Addin Hesnes Saga\bin\Debug\
Assembly Codebase: file:///C:/WINDOWS/assembly/GAC_MSIL/AddinExpress.MSO.2005/3.1.1864.2005__c20c070a1fc9a144/AddinExpress.MSO.2005.dll
Assembly Full Name: AddinExpress.MSO.2005, Version=3.1.1864.2005, Culture=neutral, PublicKeyToken=c20c070a1fc9a144
Assembly Version: 3.1.1864.2005
Assembly Build Date: 07.02.2005 02:06:50

Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Target Site: InvokeDispMethod

---- Stack Trace ----
System.RuntimeType.InvokeDispMethod(name As String, invokeAttr As BindingFlags, target As Object, args As Object[], byrefModifiers As Boolean[], culture As Int32, namedParameters As String[])
AddinExpress.MSO.2005.dll: N 00000 (0x0) JIT
System.RuntimeType.InvokeMember(name As String, bindingFlags As BindingFlags, binder As Binder, target As Object, providedArgs As Object[], modifiers As ParameterModifier[], culture As CultureInfo, namedParams As String[])
AddinExpress.MSO.2005.dll: N 0000 (0x0) IL
System.Type.InvokeMember(name As String, invokeAttr As BindingFlags, binder As Binder, target As Object, args As Object[])
AddinExpress.MSO.2005.dll: N 0000 (0x0) IL
AddinExpress.MSO.OlApplicationEvents_BaseLogic.DoOptionsPagesAdd(pages As Object)
AddinExpress.MSO.2005.dll: N 0396 (0x18C) IL
Posted 24 May, 2007 07:00:04 Top
Sergey Grischenko


Add-in Express team


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

Did you set the PageType property to the correct type?


P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 24 May, 2007 08:25:36 Top
Morten Bohmer




Posts: 2
Joined: 2007-05-24
Found it.

Thank you!


Morten
Posted 24 May, 2007 08:43:26 Top