/
333.html
219 lines (153 loc) · 8.26 KB
/
333.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./021X%20Errata%2010.01.03_files/filelist.xml">
<title>Errata</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Doris Wong</o:Author>
<o:LastAuthor>Doris Wong</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2003-10-01T17:19:00Z</o:Created>
<o:LastSaved>2003-10-01T17:19:00Z</o:LastSaved>
<o:Pages>2</o:Pages>
<o:Words>442</o:Words>
<o:Characters>2525</o:Characters>
<o:Company> Apress</o:Company>
<o:Lines>21</o:Lines>
<o:Paragraphs>5</o:Paragraphs>
<o:CharactersWithSpaces>3100</o:CharactersWithSpaces>
<o:Version>9.3821</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal>Errata<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Murphy's Law dictates that all technical books have a
certain number of errors, whilst Moore's Law adds that they can only ever be
found *after* the book hits the press. And so it is here, though thankfully the
list of corrections for Visual Basic .NET: The Tutorials is (so far!) minimal,
yet still worth noting.<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Incidentally, the source code for this book is worth
obtaining - it'll not only save you a lot of typing, but also includes bonus
material, all the databases used in the book, plus implements any changes from
the errata.<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Thank you for your support!<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Karl Moore<o:p></o:p></p>
<p class=MsoNormal>karl@karlmoore.com<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>--- For those reading any print run ---<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>* Beginning VB.NET - Page 104<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Following last minute changes, Microsoft now automatically
excludes the "dotnetfxredist_x86.enu.msm" file used in setup projects
to distribute the .NET Framework (despite the Setup Wizard still adding it by
default). Instead, for machines that don't already have the .NET Framework,
you'll have to incorporate the new dotnetfx.exe package into your setup. There
are a number of ways you can do this. Visit
http://msdn.microsoft.com/library/en-us/dnnetdep/html/dotnetframedepguid.asp
for more information.<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>--- For those reading the first print run ---<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>* Beginning VB.NET - Page 78<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>If you receive the error "Cannot access a disposed
object named 'Calculator'" when testing your application, add the
following code before calling the .Show method:<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>If
MyCalc.IsDisposed = True Then<o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>MyCalc =
New Calculator()<o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>End If<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>This checks that the form hasn't been closed
("disposed") before attempting to talk with it. If it has been
disposed, it creates a new instance of it before continuing. Don't worry if you
can't see the .IsDisposed function using the Intellisense - it's there, however
isn't displayed. Just use it.<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>* Doing Databases - Page 158<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>Getting the message "The Microsoft Jet database engine
cannot open the file 'C:\Nwind.mdb'. It is already opened exclusively by
another user, or you need permission to view its data"? Then check out
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q316675<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>* Doing Databases -
Page 212<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The steps ask you to add name, address and telephone TextBox
controls to the "Add New Member" page, however the screenshot only
shows a page with name and address controls. Stick with the instructions :)<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>* Doing Databases -
Page 233<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The connection string shown for specifying a username and
password with SQL Server omits a space. Instead of 'UserID=MyUserName', it
should display 'User ID=MyUsername'.<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>* Services Rendered
- Page 427<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The line of code under point six should read:<o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>Dim objHelper
As New localhost.Service1()<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>* Services Rendered
- Page 428<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The screenshot shows you using the Reverse function here,
whilst the text tells you to use the ReverseString function. Only the Reverse
function is actually available to you - use this.<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span>* World of Web
Services - Page 441<o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]> <![endif]><o:p></o:p></p>
<p class=MsoNormal>The page shows the Developer Network Journal site as being
at www.dnj.com. Whoops - it's actually www.dnjonline.com.</p>
</div>
</body>
</html>