D
Dhananjay
Hi All,
I have developed one COM-Addin in vb 2005 / VSTO / Office 2007. I have
added one property page to the options page. My addin loads perfectly
with the correct option page, on any platform for many machines. i.e.
my addin works for Vista, xP, 2003 server etc. with office 2007
installed on it. My property page is also loading perfectly. But on
some machine with Office 2007 / Vista, I can not click on my property
page. I get error - "Cannot display "Custom" page. This page will
remain visible, but is not available".
To display property page I have included one form which Inherits from
System.Windows.Forms.UserControl & Implements
Microsoft.Office.Interop.Outlook.PropertyPage. & in my
Application_OptionPagesAdd event, I added the line
Pages.Add("Custom.PropPage", "Custom Title"). Also in my trace file I
can see the trace before & after "Pages.add ..." line & also
proppage_load event's trace. But when someone clicks on the tab, he is
greeted with this error & also my trace file contains
Application_optionPagesAdd trace & doesn't contain PropPage_Load
events trace statements at all.
As I mentioned before, my addin is working fine on all machines with
platforms XP, 2k3 , Vista etc, but on some machines (Office 2007 with
Vista), only I am getting this error.
So what should I check on those machines specifically?
Thanks in advance,
Dhananjay
I have developed one COM-Addin in vb 2005 / VSTO / Office 2007. I have
added one property page to the options page. My addin loads perfectly
with the correct option page, on any platform for many machines. i.e.
my addin works for Vista, xP, 2003 server etc. with office 2007
installed on it. My property page is also loading perfectly. But on
some machine with Office 2007 / Vista, I can not click on my property
page. I get error - "Cannot display "Custom" page. This page will
remain visible, but is not available".
To display property page I have included one form which Inherits from
System.Windows.Forms.UserControl & Implements
Microsoft.Office.Interop.Outlook.PropertyPage. & in my
Application_OptionPagesAdd event, I added the line
Pages.Add("Custom.PropPage", "Custom Title"). Also in my trace file I
can see the trace before & after "Pages.add ..." line & also
proppage_load event's trace. But when someone clicks on the tab, he is
greeted with this error & also my trace file contains
Application_optionPagesAdd trace & doesn't contain PropPage_Load
events trace statements at all.
As I mentioned before, my addin is working fine on all machines with
platforms XP, 2k3 , Vista etc, but on some machines (Office 2007 with
Vista), only I am getting this error.
So what should I check on those machines specifically?
Thanks in advance,
Dhananjay