![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]() I using Outlook 2007 and vs2008 outlook-addin. In this addin when user click on some mail message (there is some criteria for which type of mail message, but that is not matter) I add some attachement in mailItem. Problem is that new attachment is not visible in mailItem until I select some other mailItem and then return on previus item) in other words I have "REFRESH PROBLEM" with mailItem. Any help? |
#2
|
|||
|
|||
![]()
That sounds rather normal. Are you releasing all object references to the
item? In any case that's a very common thing to happen when making changes in code to an item, where the UI doesn't refresh the view for a period of time or until you switch items or even folders. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ivica Muruzovic" wrote in message ... I using Outlook 2007 and vs2008 outlook-addin. In this addin when user click on some mail message (there is some criteria for which type of mail message, but that is not matter) I add some attachement in mailItem. Problem is that new attachment is not visible in mailItem until I select some other mailItem and then return on previus item) in other words I have "REFRESH PROBLEM" with mailItem. Any help? |
#3
|
|||
|
|||
![]()
Ok, but how can I force Outlook to do that immediately
On Tue, 19 Feb 2008 09:12:45 -0500, "Ken Slovak - [MVP - Outlook]" wrote: That sounds rather normal. Are you releasing all object references to the item? In any case that's a very common thing to happen when making changes in code to an item, where the UI doesn't refresh the view for a period of time or until you switch items or even folders. |
#4
|
|||
|
|||
![]()
You can't without side effects, for example changing
ActiveExplorer.CurrentFolder to some other folder and then back again. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ivica Muruzovic" wrote in message ... Ok, but how can I force Outlook to do that immediately |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Refresh Problem? | Kenny | Outlook - Using Forms | 5 | August 16th 07 04:47 PM |
How can I refresh all calendars quickly? | David Samuell | Outlook - Calandaring | 0 | March 28th 07 03:14 AM |
refresh the currently selected item? | Jiho Han | Outlook and VBA | 4 | June 2nd 06 03:23 PM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 05:14 PM |
OWA refresh with IE | FOAD | Outlook - General Queries | 0 | January 18th 06 07:25 PM |