A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Window Rendering



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 1st 08, 09:24 AM posted to microsoft.public.outlook.program_forms
Juan Cieri
external usenet poster
 
Posts: 1
Default Window Rendering

Hi,

I'm creating a new Outlook.MailItem from inside a VSTO Word Solution like
follows:

....
// New Outlook application
outlookApp = new Microsoft.Office.Interop.Outlook.Application();
// New Outlook Mail Item
Outlook.MailItem mailItem =
(Outlook.MailItem)outlookApp.CreateItem(Microsoft. Office.Interop.Outlook.OlItemType.olMailItem);
// Here we set the body and other attributes
....
// Finally, we display the mailItem so final users can review the email and
send it.
mailItem.Display(false); // true sets the email window as modal

The problem is that while this window (the email window) is open, users
can't access neither Outlook (if they had oulook opened before the method was
called) nor the Word document they were working with.

Is there any possibility to isolate this mailItem in another process or
something like that?


Thank you very much,
Juan



Ads
  #2  
Old August 1st 08, 04:31 PM posted to microsoft.public.outlook.program_forms
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Window Rendering

That's kind of the whole point of a Modal dialog - you can't access any
other dialogs in the same process space while that window is open. I'm not
sure why Word is blocked - is this WordMail or a Word document opened from
an attachment in the e-mail?

FYI, this kind of post is more suitable for
microsoft.public.outlook.program_vba; this forum is for custom forms.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
President
Collaborative Innovations
- Try Picture Attachments Wizard 2.0 For Microsoft Outlook -
- Take your SharePoint content offline -
- More info: http://www.collaborativeinnovations.ca -
Blog: http://blogs.officezealot.com/legault


"Juan Cieri" Juan wrote in message
...
Hi,

I'm creating a new Outlook.MailItem from inside a VSTO Word Solution like
follows:

...
// New Outlook application
outlookApp = new Microsoft.Office.Interop.Outlook.Application();
// New Outlook Mail Item
Outlook.MailItem mailItem =
(Outlook.MailItem)outlookApp.CreateItem(Microsoft. Office.Interop.Outlook.OlItemType.olMailItem);
// Here we set the body and other attributes
...
// Finally, we display the mailItem so final users can review the email
and
send it.
mailItem.Display(false); // true sets the email window as modal

The problem is that while this window (the email window) is open, users
can't access neither Outlook (if they had oulook opened before the method
was
called) nor the Word document they were working with.

Is there any possibility to isolate this mailItem in another process or
something like that?


Thank you very much,
Juan



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rendering Images Bob H Outlook - General Queries 1 September 4th 06 04:27 AM
im having rendering problems and cant fix it Edward Mah Outlook - Installation 1 August 7th 06 10:09 PM
Outlook 98 not rendering HTML Beldar Outlook - General Queries 2 July 6th 06 05:54 AM
Email not rendering fully Arthur Dent Outlook - General Queries 2 June 28th 06 03:24 AM
IE6 is rendering invisible text Larry Serflaten Outlook Express 5 January 18th 06 01:37 AM


All times are GMT +1. The time now is 02:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.