PC Review


Reply
Thread Tools Rate Thread

CurrentView.XML provides incorrect XML

 
 
Brian Kelly
Guest
Posts: n/a
 
      5th Apr 2010
I am trying to manipulate the CurrentView.XML to ensure that every time I
navigate to a "Deleted Items" page I see the "From" column and every time I
get to a "Sent Items" folder, I see a "To" column (trying to work around
problem described here:
http://www.office-outlook.com/outloo...24/#msg_171124).

In general, the code works fine, but sometimes the XML returned by
"CurrentView.XML" is incorrect.

For example, while looking at a particular view in which I can clearly see
the "To" column displayed, I can walk through my code and see that the
returned XML does not contain the "To" field, it contains the "From" field.

<column>
<autoresize>0</autoresize>
<heading>From</heading>
<prop>urn:schemas:httpmail:fromname</prop>
<type>string</type>
<width>184</width>
<style>padding-left:3px;;text-align:left</style>
</column>

Something is apparently cached somewhere (?) or otherwise corrupt. In fact,
this may even be the cause of the misbehavior in the first place, I suppose.

Regardless--does anyone know a way to get CurrentView.XML to reflect what is
actually shown in the current view?

Thanks!
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      5th Apr 2010
How are you getting the view XML and when?

--
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


"Brian Kelly" <Brian (E-Mail Removed)> wrote in message
news:2192E1BF-8EC1-41DD-B0C7-(E-Mail Removed)...
>I am trying to manipulate the CurrentView.XML to ensure that every time I
> navigate to a "Deleted Items" page I see the "From" column and every time
> I
> get to a "Sent Items" folder, I see a "To" column (trying to work around
> problem described here:
> http://www.office-outlook.com/outloo...24/#msg_171124).
>
> In general, the code works fine, but sometimes the XML returned by
> "CurrentView.XML" is incorrect.
>
> For example, while looking at a particular view in which I can clearly see
> the "To" column displayed, I can walk through my code and see that the
> returned XML does not contain the "To" field, it contains the "From"
> field.
>
> <column>
> <autoresize>0</autoresize>
> <heading>From</heading>
> <prop>urn:schemas:httpmail:fromname</prop>
> <type>string</type>
> <width>184</width>
> <style>padding-left:3px;;text-align:left</style>
> </column>
>
> Something is apparently cached somewhere (?) or otherwise corrupt. In
> fact,
> this may even be the cause of the misbehavior in the first place, I
> suppose.
>
> Regardless--does anyone know a way to get CurrentView.XML to reflect what
> is
> actually shown in the current view?
>
> Thanks!


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Journal, View-ArrangeBy-CurrentView-List: Sort by Categories & Start[date] Paul Microsoft Outlook Discussion 2 25th Feb 2010 09:30 PM
Incorrect Hard Drive Capacity Incorrect Problem kenitholson@yahoo.com Freeware 9 27th Mar 2006 10:34 PM
Incorrect Sum =?Utf-8?B?YXNobGFuZHBtYWM=?= Microsoft Excel Misc 1 15th Apr 2005 01:25 AM
Incorrect XP CD? roger Windows XP General 3 24th Jun 2004 02:59 PM
CurrentView Matt Microsoft Outlook VBA Programming 3 19th Mar 2004 07:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:53 AM.