Outlook 2010 hides on Send/Receive

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

Outlook 2010 hides on Send/Receive
 
Spiros Nikolopoulos




Posts: 42
Joined: 2012-01-05
Outlook 2010 hides when Send/Receive and I'm selecting an IMAP folder or minimizing the add-in form.

The event that fires before outlook hides is:


procedure TAddInModule.adxOlFormsManager1ADXBeforeFormInstanceCreateEx(
  ASender: TObject; Args: TBeforeFormInstanceCreateEventArgs);
begin
 if (OutlookUtils.RefreshCurrentFolderExecuting) then begin
    Args.Cancel := true;
  end;
end


After than only the send and receive icon is visible ...
Posted 12 Nov, 2012 16:06:42 Top
Andrei Smolin


Add-in Express team


Posts: 14671
Joined: 2006-05-11
Hi Spiros,

Spiros Nikolopoulos writes:
After than only the send and receive icon is visible ...


Can you please send me a screenshot of your screen with that icon?

Also, I'd like to have this information:
- Outlook version, bitness and service pack
- Add-in Express build number
- Delphi version and update pack
- the code of OutlookUtils.RefreshCurrentFolderExecuting.

Can you please send me all the above to the support email address (please find it in readme.txt)? If positive, polease make sure that your email contains a link to this topic.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Nov, 2012 01:34:44 Top
Spiros Nikolopoulos




Posts: 42
Joined: 2012-01-05
Andrei,

Thanks for the reply.
With more careful search I find out that the outlook was disappearing every time I was navigating from folder to folder.
This was happening only when the adxOlForm was visible (reginState=rsNormal).
by setting

RegionState := rsHidden in AdxOlFormADXAfterFormShow;

the adxolform minimize itself before every navigation and looks like it works now.

Thanks
Posted 14 Nov, 2012 10:34:34 Top
Andrei Smolin


Add-in Express team


Posts: 14671
Joined: 2006-05-11
Hi Spiros,

This resembles the issue we are haiving in 7.0.4023. Can you wait for a fix? I expect that we will be able to release a new Add-in Express version next week. If this is urgent, I could send you an intermediate assembly that fixes this.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Nov, 2012 11:37:20 Top
Spiros Nikolopoulos




Posts: 42
Joined: 2012-01-05
It's OK I can wait till next week for the new version.

Why adxOlFormCre ate event fires every time I change a folder?
Is this by design or something in my code?
where do I put initialization code for the adxOlForm ? So it runs only once (read registry settings etc.)?

(although I think this should be in a separate post :-) )

Thanks
Posted 14 Nov, 2012 11:55:01 Top
Andrei Smolin


Add-in Express team


Posts: 14671
Joined: 2006-05-11
Ouch! I I've noticed that I talked about a problem in Add-in Express for Office and .NET while you use Add-in Express for Office and VCL. Now I need to find out what causes the issue. Can you please help me in reproducing it?

The form is created in accordance with the TadxolFormsCollectionItem.Cached property, see the section Caching Forms in the manual.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Nov, 2012 12:04:08 Top
Spiros Nikolopoulos




Posts: 42
Joined: 2012-01-05
Ok Thanks TadxolFormsCollectionItem.Cached solve my problem.

As for the disappearing Outlook I can't even reproduced myself :-).
On changing folders and sometimes.
Posted 15 Nov, 2012 13:19:03 Top
Andrei Smolin


Add-in Express team


Posts: 14671
Joined: 2006-05-11
Hi Spiros,

Does "disappearing" means "OUTLOOK.EXE dissappears also from the Processes list of the Task Manager window"?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Nov, 2012 02:55:37 Top
Spiros Nikolopoulos




Posts: 42
Joined: 2012-01-05
No OUTLOOK.EXE exists in Process list. It is just the Main window of outlook hidden.
Posted 16 Nov, 2012 03:16:37 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Spiros,

Do you set/change the Application.Handle property somewhere in your code? Could you please send your project (or some demo project with the same behavior) to us for testing?
Posted 16 Nov, 2012 03:56:37 Top