OL2002: "Set ActiveExplorer.CurrentFolder = Session.GetDefaultFolder(olFolder<FolderName>)" Does Not Work As Expected in the FolderSwitch Event

Article translations Article translations
Article ID: 814554 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

When you use Visual Basic for Applications (VBA) code to customize Microsoft Outlook, you may not be able to use the following code in the FolderSwitch event:
Set ActiveExplorer.CurrentFolder = Session.GetDefaultFolder(olFolderFolderName)
(In this example, FolderName is the name of the folder that you want to switch the focus to.) When you try to use this code, the focus does not switch to the correct folder.

RESOLUTION

Service Pack Information

This problem is corrected in Office XP Service Pack 3.To resolve this problem, obtain the latest service pack for Microsoft Office XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
307841 How to obtain the latest Office XP Service Pack

Hotfix Information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. The global version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date           Time  Version    Size       File name     
   -------------------------------------------------------
   24-Mar-2003  11:23                  3,226,844  Outlookop.msp (Client Patch)
   24-Mar-2003  14:26                  6,985,728  Outlookff.msp (Full file Patch)
				
After the hotfix is installed, the global version of this fix will have the file attributes (or later) that are listed in the following table.
   Date           Time  Version    Size       File name     
   -------------------------------------------------------
   19-Sep-2002  18:23  10.0.4517.0       105,032  Envelope.dll     
   09-Jan-2003  19:31  10.0.4907.0       346,696  Exsec32.dll
   09-Aug-2002  00:22  10.0.4406.0       137,800  Impmail.dll      
   27-Feb-2003  22:57  10.0.5025.0       543,304  Outlcm.dll       
   14-Mar-2003  04:55  10.0.5112.0       100,936  Outlctl.dll      
   22-Mar-2003  00:06  10.0.5119.0     6,318,664  Outllib.dll      
   11-Oct-2002  19:14  10.0.4608.0        92,744  Outlmime.dll     
   22-Mar-2003  00:06  10.0.5119.0        47,688  Outlook.exe      
   22-Mar-2003  00:06  10.0.5119.0       121,416  Outlph.dll       
   25-Nov-2002  15:50  10.0.4721.0        47,688  Recall.dll

				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Office XP Service Pack 3.

Properties

Article ID: 814554 - Last Review: October 26, 2013 - Revision: 3.2
APPLIES TO
  • Microsoft Outlook 2002 Standard Edition
Keywords: 
kbnosurvey kbarchive kbautohotfix kbqfe kbhotfixserver kbbug kbfix kbofficexppresp3fix KB814554

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com