That was a really really wierd problem
I actually have more code in that form.
It was strange that if I need to hide a control - for some I may use
Visible=false, for others - only Width=0,Height=0 or form will become
one-off
Now this problem was even more strange - I have two Frames, one with
ActiveXCalendar and other with MSOutlookView control
When setting width/height = 0 to frames - both worked as it should, but when
hitting 'next item' on the toolbar - Outlook stopped responding.
So found out that for a Frame containing ActiveXCalendar - I may use
Width/Height=0, but for a frame containing MSOutlookView - only
Visible=false.
Really wierd
"Alexey Titov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I suspect the problem is in my open code
>
> Sub Item_Open()
> 'Get form's Inspector and Page
> Set oInspector = Item.GetInspector
> Set oPageGeneral = oInspector.ModifiedFormPages("General")
> End Sub
>
> Tried this
>
> Sub Item_Close()
> Set oPageGeneral = Nothing
> 'oInspector.Close 1 - causes an error
> Set oInspector = Nothing
> End Sub
>
> - it didn't help. Might be something I missed?
>
>