OptionsPagesAdd?

M

Microsoft

Ok,

I created a User ActiveX Control and added the folling line Pages.Add
"TQStationery.ctlTQStationery", "xxx"

The tab appears in the options tab, but you can't click on the tab and it
say it can't open the form. The form name is ctlTQStationery and is in the
same VB project as the Designers.

Any ideas?

Norman
 
O

Oscar

I created the OptionsPAge as a user control inside my .NET project..

Private Sub m_olOutlook_OptionsPagesAdd(ByVal Pages As
Microsoft.Office.Interop.Outlook.PropertyPages) Handles
m_olOutlook.OptionsPagesAdd

Try
m_SettingsPage = New SettingsPage ' Object
Pages.Add(m_SettingsPage, "MyTittle")
Catch ex As SystemException
DebugWriter("NewExplorer Exception: {0}", ex.Message)
End Try
 
Top