I have no idea why switching folders would work twice and not after that
unless something is being garbage collected or going out of scope.
If it works on one computer and not another there has to be something
different. Check for COM addins, use of synch software and PDA type devices,
other applications that are running at that time and anything else you can
think of.
--
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
"Dhananjay" wrote in message
ups.com...
Thanks Ken for your valuable reply,
And what's not working?
Ans: My view is not working. Custom property is added to folder
properties.
Now, as per Sue suggested, I selected different folder first & then
selected my custom folder again, it is showing me the currect view!!
So I changed the folder programmatically to inbox or contacts folder &
then switch back to my custom public folder. It works for 2 times &
after that, control remains in the Inbox folder, so I had to select my
custom folder again manually. Any ideas?
Other than that you're going to have to find out what's different about
your
machines and where it's not working.
Ans: I checked on "working" computer & "not working" computer for
environment, I found that
OS is same on both PCs (Windows XP)
SP of OS is same (SP 2)
All updates are fine for OS
Office 2003 SP3 is same on both PCs
User account rights are same on both PCs
What else I should check?
Thanks again,
Dhananjay