petgre
Posts: 48
Joined: 2014-04-29
|
Hi
Before Office 365 version 1808 we naver had any problems with our search form in the calendar. In Outlook.
VB code, VS2017 version 15.9.9
After the update of Office, it seems like the form is shown, because it occupies the space, but the form is just white.
Like it is somewhere outside the outlook region.
The form has been working for several years and in a lot of office versions, without any code changes.
In the AdxOlFormsCollection I can se it has
ExplorerLayout = DockRight
ExplorerItemTypes = olAppointmentItem
InspectorLayout = RightSubpane
AlwaysShowHeader = True
Enabled = True
I updated to the last version of add in express 9.2.4635
Created a new version, distribute it to all the users.
I tought the problem was solved, but today I talked to a person having my latest version. The form did not display, it was white again.
We disabled my add in, then enabled it again, now it works.
Is there anything I can do to control the form and display it correctly?
Cheers! //Peter |
|
Alexander Solomenko
Posts: 140
Joined: 2009-02-27
|
|
petgre
Posts: 48
Joined: 2014-04-29
|
Thanks for quick reply!
To be honest, I dont have any CreateHandle() method in the whole project. At least as I can figure out.
This add in was created 2014, if it has anything to do with it..?`
Programming in VB, not C.
I have a :
Public Sub New()
MyBase.New()
InitializeComponent()
End Sub
//Peter |
|
Alexander Solomenko
Posts: 140
Joined: 2009-02-27
|
Hi Petgre,
You may not have this method but it is available in the base class System.Windows.Forms.Form from which your ADXOlForm class is inherited. It is virtual and can be overridden. Just add it to your class as following:
Protected Overrides Sub CreateHandle()
MyBase.CreateHandle()
End Sub Regards,
Aleksandr Solomenko |
|