Microsoft KB Archive/173837: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
Line 44: Line 44:
== SUMMARY ==
== SUMMARY ==


This article contains corrections, comments, and information on known errors relating to the Microsoft Press book &quot;Building Applications with Microsoft Outlook 97,&quot; ISBN 1-57231-536-9.<br />
This article contains corrections, comments, and information on known errors relating to the Microsoft Press book "Building Applications with Microsoft Outlook 97," ISBN 1-57231-536-9.<br />
<br />
<br />
Contents:
Contents:
Line 73: Line 73:
=== Location of Practice Folders ===
=== Location of Practice Folders ===


Pages xi - xiv give a list of the folders included on the companion CD-ROM to &quot;Building Applications with Microsoft Outlook 97.&quot; However, the list of directories on the companion CD-ROM does not appear to match the list of folders on pages xi - xiv.<br />
Pages xi - xiv give a list of the folders included on the companion CD-ROM to "Building Applications with Microsoft Outlook 97." However, the list of directories on the companion CD-ROM does not appear to match the list of folders on pages xi - xiv.<br />
<br />
<br />
The folders listed on pages xi - xiv are meant to represent the folders included in the &quot;Building Microsoft Outlook 97 Applications&quot; hierarchy in your Outlook environment. They are not meant to represent directories on your CD-ROM.<br />
The folders listed on pages xi - xiv are meant to represent the folders included in the "Building Microsoft Outlook 97 Applications" hierarchy in your Outlook environment. They are not meant to represent directories on your CD-ROM.<br />
<br />
<br />
The following folders mentioned in pages xi - xiv have separate directories on the CD-ROM:
The following folders mentioned in pages xi - xiv have separate directories on the CD-ROM:
* Outlook Visual Basic Help
* Outlook Visual Basic Help
* Switch Forms
* Switch Forms
* Web Site Shortcuts (referred to in the book as &quot;Web Sites&quot;)
* Web Site Shortcuts (referred to in the book as "Web Sites")


The &quot;Outlook Visual Basic Help&quot; directory contains the Outlook Forms Help file and the Outlook Visual Basic Help file. &quot;Switch Forms&quot; contains the Switch Forms utility, mentioned as being part of the Miscellaneous folder. &quot;Web Sites&quot; contains the list of Web sites, mentioned as part of the Help and References folder.<br />
The "Outlook Visual Basic Help" directory contains the Outlook Forms Help file and the Outlook Visual Basic Help file. "Switch Forms" contains the Switch Forms utility, mentioned as being part of the Miscellaneous folder. "Web Sites" contains the list of Web sites, mentioned as part of the Help and References folder.<br />
<br />
<br />
All of the other information necessary for the book is contained in the Building Microsoft Outlook 97 Applications .PST file. Once this file is installed, the folders will appear as listed in the book in your Microsoft Outlook environment. &quot;Building Applications with Microsoft Outlook 97&quot; assumes that the reader is using the Microsoft Exchange Server e-mail system as well as Microsoft Outlook. However, the requirement for Microsoft Exchange is not made clear on the back cover of the book.
All of the other information necessary for the book is contained in the Building Microsoft Outlook 97 Applications .PST file. Once this file is installed, the folders will appear as listed in the book in your Microsoft Outlook environment. "Building Applications with Microsoft Outlook 97" assumes that the reader is using the Microsoft Exchange Server e-mail system as well as Microsoft Outlook. However, the requirement for Microsoft Exchange is not made clear on the back cover of the book.
=== Page 6: Typographical Error ===
=== Page 6: Typographical Error ===


Correction:<br />
Correction:<br />
Page 6, paragraph 2, sentence 2:<br />
Page 6, paragraph 2, sentence 2:<br />
Change: &quot;Form more information...&quot;<br />
Change: "Form more information..."<br />
To: &quot;For more information...&quot;
To: "For more information..."
=== Chapter 3 Even Page Heading Incorrect ===
=== Chapter 3 Even Page Heading Incorrect ===


Line 96: Line 96:
<div class="indent">
<div class="indent">


&quot;Part 2 Quick Guide to Building Applications&quot;
"Part 2 Quick Guide to Building Applications"




Line 103: Line 103:
<div class="indent">
<div class="indent">


&quot;Part II Quick Guide to Building Applications&quot;
"Part II Quick Guide to Building Applications"




Line 111: Line 111:
Correction:<br />
Correction:<br />
Page 90, header 2:<br />
Page 90, header 2:<br />
Change: &quot;Save the Potential Beta Participants View&quot;<br />
Change: "Save the Potential Beta Participants View"<br />
To: &quot;Save the Product Category View&quot;<br />
To: "Save the Product Category View"<br />
<br />
<br />
Page 92, last line:<br />
Page 92, last line:<br />
Change: &quot;...click Potential Beta Participants.&quot;<br />
Change: "...click Potential Beta Participants."<br />
To: &quot;...click Product Ideas.&quot;
To: "...click Product Ideas."
=== Pages 113, 246, and 264: Miscellaneous Errors ===
=== Pages 113, 246, and 264: Miscellaneous Errors ===


Page 113, figure 5.13 caption:<br />
Page 113, figure 5.13 caption:<br />
Change: &quot;...definition and VBScript.1&quot;<br />
Change: "...definition and VBScript.1"<br />
To: &quot;...definition and VBScript.&quot;<br />
To: "...definition and VBScript."<br />
<br />
<br />
Page 246, paragraph 1, sentence 4:<br />
Page 246, paragraph 1, sentence 4:<br />
Change: &quot;Descending order sorts items in alphabetical order...&quot;<br />
Change: "Descending order sorts items in alphabetical order..."<br />
To: &quot;Descending order sorts items in reverse alphabetical order...&quot;<br />
To: "Descending order sorts items in reverse alphabetical order..."<br />
<br />
<br />
Page 264, paragraph 5, sentence 1:<br />
Page 264, paragraph 5, sentence 1:<br />
Change: &quot;...based on the contents of the From, Sent, To, Subject...&quot;<br />
Change: "...based on the contents of the From, Sent, To, Subject..."<br />
To: &quot;...based on the contents of the From, Sent To, Subject...&quot;
To: "...based on the contents of the From, Sent To, Subject..."
=== Page 289: Code Error ===
=== Page 289: Code Error ===


Line 135: Line 135:
Change code to read as follows:
Change code to read as follows:
<pre class="codesample">Sub CommandButton1_Click
<pre class="codesample">Sub CommandButton1_Click
   Set MyFolder = Application.GetNameSpace(&quot;MAPI&quot;).GetDefaultFolder(6)
   Set MyFolder = Application.GetNameSpace("MAPI").GetDefaultFolder(6)
   Set MyItems = MyFolder.Items
   Set MyItems = MyFolder.Items
   For i = 1 to 3
   For i = 1 to 3
Line 142: Line 142:
End Sub
End Sub
                 </pre>
                 </pre>
Note the change in line 5 (&quot;MsgBox MyItems(i).Subject&quot;).
Note the change in line 5 ("MsgBox MyItems(i).Subject").
=== Page 309: Text Error ===
=== Page 309: Text Error ===


Page 309, paragraph 4, sentence 2:<br />
Page 309, paragraph 4, sentence 2:<br />
Change: &quot;...the CommandButton1 control moves to the left.&quot;<br />
Change: "...the CommandButton1 control moves to the left."<br />
To: &quot;...the CommandButton1 control moves to the right.&quot;
To: "...the CommandButton1 control moves to the right."
=== Pages 310, 327: Miscellaneous Errors ===
=== Pages 310, 327: Miscellaneous Errors ===


Line 155: Line 155:
Change the code to read as follows:
Change the code to read as follows:
<pre class="codesample">  Sub CommandButton1_Click
<pre class="codesample">  Sub CommandButton1_Click
     Set Page = Item.GetInspector.ModifiedFormPages(&quot;Test&quot;)
     Set Page = Item.GetInspector.ModifiedFormPages("Test")
     Set MyControls = Page.Controls
     Set MyControls = Page.Controls
     For Each MyControl in MyControls
     For Each MyControl in MyControls
Line 163: Line 163:
                 </pre>
                 </pre>
Page 327, code samples:<br />
Page 327, code samples:<br />
The code in the text is correct, but the code on the CD-ROM is different and incorrect. Using the application on the CD-ROM, the user can change the value of the &quot;Book Category&quot; combo box but not the &quot;Book Name&quot; combo box.<br />
The code in the text is correct, but the code on the CD-ROM is different and incorrect. Using the application on the CD-ROM, the user can change the value of the "Book Category" combo box but not the "Book Name" combo box.<br />
<br />
<br />
Correction: In the Library Materials form, change the Item_CustomPropertyChange subroutine and ChangeBookNameValues subroutine to match page 327.
Correction: In the Library Materials form, change the Item_CustomPropertyChange subroutine and ChangeBookNameValues subroutine to match page 327.
=== Page 328: Text Error ===
=== Page 328: Text Error ===


Change: &quot;In the right-hand box in the Forms Manager...&quot;<br />
Change: "In the right-hand box in the Forms Manager..."<br />
To: &quot;In the left-hand box in the Forms Manager...&quot;
To: "In the left-hand box in the Forms Manager..."
=== Pages 365, 366, 460, 468: Misc. Errors ===
=== Pages 365, 366, 460, 468: Misc. Errors ===


Page 365, section &quot;Add the BusinessCardRequestStatus Control&quot;:<br />
Page 365, section "Add the BusinessCardRequestStatus Control":<br />
Add steps as follows:
Add steps as follows:
# Drag a Label control from the Control Toolbox to the form.
# Drag a Label control from the Control Toolbox to the form.
Line 178: Line 178:
# Resize and position the Label control as needed.
# Resize and position the Label control as needed.


Page 366, step 6, column &quot;Setting&quot;:<br />
Page 366, step 6, column "Setting":<br />
Change: &quot;BusinessCardDateProcessed1&quot;<br />
Change: "BusinessCardDateProcessed1"<br />
To: &quot;BusinessCardDateProcessed&quot;<br />
To: "BusinessCardDateProcessed"<br />
<br />
<br />
Page 460, Figure 12.8:<br />
Page 460, Figure 12.8:<br />
Line 186: Line 186:
<br />
<br />
Page 468, code fragment, line 8:<br />
Page 468, code fragment, line 8:<br />
Move &quot;Else&quot; three characters left to align with the proper &quot;If&quot; clause.
Move "Else" three characters left to align with the proper "If" clause.
=== Page 393: Text Error ===
=== Page 393: Text Error ===


Page 393, second step 1:<br />
Page 393, second step 1:<br />
Change:<br />
Change:<br />
&quot;In the Folder List, right-click the Help Desk Application folder, and then click Properties on the shortcut menu.&quot;<br />
"In the Folder List, right-click the Help Desk Application folder, and then click Properties on the shortcut menu."<br />
To:<br />
To:<br />
&quot;In the Folder List, right-click the Help Desk folder in the Help Desk Application folder, and then click Properties on the shortcut menu.&quot;<br />
"In the Folder List, right-click the Help Desk folder in the Help Desk Application folder, and then click Properties on the shortcut menu."<br />


=== Page 404: Code Error ===
=== Page 404: Code Error ===

Revision as of 11:07, 21 July 2020

Article ID: 173837

Article Last Modified on 2/12/2007



APPLIES TO

  • MSPRESS Building Applications with Microsoft Outlook 97 ISBN 1-57231-536-9



This article was previously published under Q173837

SUMMARY

This article contains corrections, comments, and information on known errors relating to the Microsoft Press book "Building Applications with Microsoft Outlook 97," ISBN 1-57231-536-9.

Contents:

  • Back Cover: Microsoft Exchange Server Required
  • Location of Practice Folders
  • Page 6: Typographical Error
  • Chapter 3 Even Page Heading Incorrect
  • Pages 90 & 92: Miscellaneous Corrections
  • Pages 113, 246, and 264: Misc. Errors
  • Page 289: Code Error
  • Page 309: Text Error
  • Page 328: Text Error
  • Pages 310, 327: Misc. Errors
  • Pages 365, 366, 460, 468: Misc. Errors
  • Page 404: Code Error


MORE INFORMATION

Back Cover: Microsoft Exchange Server required

The text and utilities of this book make frequent reference to Public Folders. Public Folders are a feature of Microsoft Exchange Server. To follow the instructions correctly, the reader must be using Microsoft Outlook on a Microsoft Exchange Server system.

Microsoft Press is continuing to investigate this issue and will update this report when more information is available.

Location of Practice Folders

Pages xi - xiv give a list of the folders included on the companion CD-ROM to "Building Applications with Microsoft Outlook 97." However, the list of directories on the companion CD-ROM does not appear to match the list of folders on pages xi - xiv.

The folders listed on pages xi - xiv are meant to represent the folders included in the "Building Microsoft Outlook 97 Applications" hierarchy in your Outlook environment. They are not meant to represent directories on your CD-ROM.

The following folders mentioned in pages xi - xiv have separate directories on the CD-ROM:

  • Outlook Visual Basic Help
  • Switch Forms
  • Web Site Shortcuts (referred to in the book as "Web Sites")

The "Outlook Visual Basic Help" directory contains the Outlook Forms Help file and the Outlook Visual Basic Help file. "Switch Forms" contains the Switch Forms utility, mentioned as being part of the Miscellaneous folder. "Web Sites" contains the list of Web sites, mentioned as part of the Help and References folder.

All of the other information necessary for the book is contained in the Building Microsoft Outlook 97 Applications .PST file. Once this file is installed, the folders will appear as listed in the book in your Microsoft Outlook environment. "Building Applications with Microsoft Outlook 97" assumes that the reader is using the Microsoft Exchange Server e-mail system as well as Microsoft Outlook. However, the requirement for Microsoft Exchange is not made clear on the back cover of the book.

Page 6: Typographical Error

Correction:
Page 6, paragraph 2, sentence 2:
Change: "Form more information..."
To: "For more information..."

Chapter 3 Even Page Heading Incorrect

On all of the even numbered pages of chapter 3 change the heading. Change:

"Part 2 Quick Guide to Building Applications"


To:

"Part II Quick Guide to Building Applications"


Pages 90, 92: Miscellaneous Corrections

Correction:
Page 90, header 2:
Change: "Save the Potential Beta Participants View"
To: "Save the Product Category View"

Page 92, last line:
Change: "...click Potential Beta Participants."
To: "...click Product Ideas."

Pages 113, 246, and 264: Miscellaneous Errors

Page 113, figure 5.13 caption:
Change: "...definition and VBScript.1"
To: "...definition and VBScript."

Page 246, paragraph 1, sentence 4:
Change: "Descending order sorts items in alphabetical order..."
To: "Descending order sorts items in reverse alphabetical order..."

Page 264, paragraph 5, sentence 1:
Change: "...based on the contents of the From, Sent, To, Subject..."
To: "...based on the contents of the From, Sent To, Subject..."

Page 289: Code Error

Page 289, third CommandButton1_Click code sample:
Change code to read as follows:

Sub CommandButton1_Click
   Set MyFolder = Application.GetNameSpace("MAPI").GetDefaultFolder(6)
   Set MyItems = MyFolder.Items
   For i = 1 to 3
      MsgBox MyItems(i).Subject
   Next
End Sub
                

Note the change in line 5 ("MsgBox MyItems(i).Subject").

Page 309: Text Error

Page 309, paragraph 4, sentence 2:
Change: "...the CommandButton1 control moves to the left."
To: "...the CommandButton1 control moves to the right."

Pages 310, 327: Miscellaneous Errors

Page 310, code sample 2:
The example code does not use the For Each...Next construct that is discussed in the paragraph above. Instead, it uses a For...Next loop.

Change the code to read as follows:

  Sub CommandButton1_Click
     Set Page = Item.GetInspector.ModifiedFormPages("Test")
     Set MyControls = Page.Controls
     For Each MyControl in MyControls
           MsgBox MyControl.Name
     Next
  End Sub
                

Page 327, code samples:
The code in the text is correct, but the code on the CD-ROM is different and incorrect. Using the application on the CD-ROM, the user can change the value of the "Book Category" combo box but not the "Book Name" combo box.

Correction: In the Library Materials form, change the Item_CustomPropertyChange subroutine and ChangeBookNameValues subroutine to match page 327.

Page 328: Text Error

Change: "In the right-hand box in the Forms Manager..."
To: "In the left-hand box in the Forms Manager..."

Pages 365, 366, 460, 468: Misc. Errors

Page 365, section "Add the BusinessCardRequestStatus Control":
Add steps as follows:

  1. Drag a Label control from the Control Toolbox to the form.
  2. Click the Label control, and then type Request Status:
  3. Resize and position the Label control as needed.

Page 366, step 6, column "Setting":
Change: "BusinessCardDateProcessed1"
To: "BusinessCardDateProcessed"

Page 460, Figure 12.8:
Change screenshot from Approval and Status tab to Virus Check/Posted tab.

Page 468, code fragment, line 8:
Move "Else" three characters left to align with the proper "If" clause.

Page 393: Text Error

Page 393, second step 1:
Change:
"In the Folder List, right-click the Help Desk Application folder, and then click Properties on the shortcut menu."
To:
"In the Folder List, right-click the Help Desk folder in the Help Desk Application folder, and then click Properties on the shortcut menu."

Page 404: Code Error

Page 404, code listing line 16:
Change:

Set HelpDeskAppFolder = HelpDeskFolder.Parent


To:

Set HelpDeskAppFolder = HelpDeskFolder


This change must also be made in the corresponding code on the CD-ROM. Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.


Additional query words: mspress ms_press press bookbug 1-57231-536-9

Keywords: kbinfo kbdocerr KB173837