Wiley.com
Print this page Share

Professional VB 2005

ISBN: 978-0-7645-7536-5
1104 pages
November 2005
Professional VB 2005 (0764575368) cover image

Description

  • Visual Basic .NET has changed dramatically from its predecessor, and this book shows developers how to build traditional console applications, ASP.NET applications, XML Web Services, and more
  • The top-notch author team shares their years of experience in VB programming and helps readers take their skills to new heights
  • Addresses issues such as security, data access (ADO.NET), and the latest Visual Studio .NET IDE
  • Explores Common Language Runtime, variables and data types, object syntax, inheritance and interfaces, Windows forms, error handling and debugging, XML, namespaces, and advanced features of the latest version of ASP.NET
See More

Table of Contents

Introduction.

Chapter 1: What Is Microsoft .NET?

Chapter 2: Introducing Visual Basic 2005 and Visual Studio 2005.

Chapter 3: Variables and Type.

Chapter 4: Object Syntax Introduction.

Chapter 5: Inheritance and Interfaces.

Chapter 6: The Common Language Runtime.

Chapter 7: Applying Objects and Components.

Chapter 8: Generics.

Chapter 9: Namespaces.

Chapter 10: Exception Handling and Debugging.

Chapter 11: Data Access with ADO.NET 2.0.

Chapter 12: Using XML in Visual Basic 2005.

Chapter 13: Security in the .NET Framework 2.0.

Chapter 14: Windows Forms.

Chapter 15: Windows Forms Advanced Features.

Chapter 16: Building Web Applications.

Chapter 17: ASP.NET 2.0 Advanced Features.

Chapter 18: Assemblies.

Chapter 19: Deployment.

Chapter 20: Working with Classic COM and Interfaces.

Chapter 21: Enterprise Services.

Chapter 22: Threading.

Chapter 23: XML Web Services.

Chapter 24: Remoting.

Chapter 25: Windows Services.

Chapter 26: Network Programming.

Chapter 27: Visual Basic and the Internet.

Appendix A: The Visual Basic Compiler.

Appendix B: Visual Basic Resources.

Index.

See More

Author Information

Bill Evjen is an active proponent of .NET technologies and community-based learning initiatives for .NET. He has been actively involved with .NET since the first bits were released in 2000. In the same year, Bill founded the St. Louis .NET User Group (www.stlnet.org), one of the world’s first .NET user groups. Bill is also the founder and the executive director of the International .NET Association (INETA–www.ineta.org), which represents more than 375,000 members worldwide.
Based in St. Louis, Missouri, Bill is an acclaimed author and speaker on ASP.NET and XMLWeb Services. He has written or coauthored more than 10 books, including Professional C# 2005 and Professional ASP.NET 2.0 (Wrox), XMLWeb Services for ASP.NET, ASP.NET Professional Secrets (Wiley), and more.
Bill is a technical director for Reuters, the international news and financial services company, and he travels the world speaking to major financial institutions about the future of the IT industry. He graduated from Western Washington University in Bellingham, Washington, with a Russian language degree. When he isn’t tinkering on the computer, he can usually be found at his summer house in Toivakka, Finland. You can reach Bill at evjen@yahoo.com.

Billy Hollis is coauthor of the first book ever published on Visual Basic .NET, VB.NET Programming on the Public Beta (Wrox Press) as well as numerous other books and articles on .NET. Billy is a Microsoft regional director and an MVP, and he was selected as one of the original .NET “Software Legends.” He writes a monthly column for MSDN Online and is heavily involved in training, consultation, and software development on the Microsoft .NET platform, focusing on smart-client development and commercial packages. He frequently speaks at industry conferences such as Microsoft’s Professional Developer Conference, TechEd, and COMDES. Billy is a member of the INETA speakers’ bureau and speaks at user group meetings all over the United States.

Rockford Lhotka is the principal technology evangelist for Magenic Technologies (www.magenic.com), a company focused on delivering business value through applied technology and one of the nation’s premiere Microsoft Gold Certified Partners. Rockford is the author of several books, including Expert Visual Basic .NET and C# Business Objects. He is a Microsoft Software Legend, regional director, MVP, and INETA speaker. He is a columnist for MSDN Online and contributing author for Visual Studio Magazine, and he regularly presents at major conferences around the world—including Microsoft PDC, Tech Ed, VS Live! and VS Connections. For more information go to www.lhotka.net.

Tim McCarthy is a principal engineer at InterKnowlogy, where he architects and builds highly scalable n-tier web and smart-client applications utilizing the latest Microsoft platforms and technologies. Tim’s expertise covers a wide range of Microsoft technologies, including, but not limited to: .NET Framework (ASP.NET/Smart Clients/Web Services), Active Directory, UDDI, SQL Server, Windows SharePoint Services/SharePoint Portal Server 2003, and Service Oriented Architecture (SOA) applications. Tim has worked as a project technical lead/member as well as in a technical consulting role for several Fortune 500 companies. He has held the Microsoft Certified Solution Developer (MCSD) and Microsoft Certified Trainer (MCT) certifications for several years and was one of the first wave of developers to earn the Microsoft Certified Application Developer (MCAD) for .NET and MCSD for .NET certifications. He also holds the Microsoft Certified Database Administrator certification for SQL Server 2000.
Tim has been an author and technical reviewer for several books from Wrox Press and most recently was a lead author on Professional VB.NET 2003. His other books include Professional Commerce Server 2000, and Professional ADO 2.5 Programming. Tim is currently working as a lead author on the next edition of Professional VB.NET. Tim has written numerous articles for the Developer .NET Update newsletter, developed packaged presentations for MSDN, and has written a whitepaper for Microsoft on using COM+ services in .NET. He has also written articles for SQL Server Magazine and Windows & .NET Magazine.
Tim has spoken at technical conferences around the world and several San Diego area user groups (including both .NET and SQL Server groups) and he has been a regular speaker at the Microsoft Developer Days conference in San Diego for the last several years. Tim has also delivered MSDN webcasts, many of which were repeat requests from Microsoft. Tim also teaches custom .NET classes to companies in need of expert .NET mentoring and training.
Tim holds a B.B.A. in marketing from the Illinois Institute of Technology as well as an M.B.A. in marketing from National University. Before becoming an application developer, Tim was an officer in the United States Marine Corps. Tim’s passion for .NET is only surpassed by his passion for Notre Dame athletics.

Rama Ramachandran is a software architect at DKR Capital, a major hedge fund company in Stamford, Connecticut. He is a Microsoft Certified Solutions Developer and Site-Builder and has excelled in designing and developing WinForms and Web applications using .NET, ASP.NET, Visual Basic and SQL Server. Rama has more than 15 years’ experience with all facets of the software development lifecycle and has cowritten Introducing .NET, Professional ASP Data Access, Professional Visual InterDev Programming (all Wrox Press), and four books on classic Visual Basic.
Rama is also the “ASP Pro” at Devx.com, where he maintains ASP-related columns. He teaches .NET Development and Web Development for Fairfield University’s master’s degree in software engineering, and at the University of Connecticut. You can reach Rama at ramabeena@hotmail.com.

Kent Sharkey. Born in an igloo and raised by wolves in a strange realm called “Manitoba,” Kent Sharkey wandered the wilderness until found by a group of kind technical evangelists and migrated to Redmond. He now is content strategist (yeah, he doesn’t know what he’s supposed to do either) for ASP.NET content on MSDN. When not answering email he dreams of sleeping, complains to everyone around (come to think of it, he does that while answering email as well), and attempts to keep his housemates (Babi, Cica, and Squirrel) happy.

Bill Sheldon is a software architect and engineer originally from Baltimore, Maryland. Holding a degree in Computer Science from the Illinois Institute of Technology (IIT) and a Microsoft Certified Solution Developer (MCSD) qualification, Bill has been employed as an engineer since resigning his commission with the U.S. Navy following the first Gulf War. Bill is involved with the San Diego .NET User Group and writes for Windows and .NET magazines, including the twice monthly Developer .NET Update email newsletter. He is also a frequent online presenter for MSDN and speaks at live events such as Microsoft Developer Days. He lives with his wife, Tracie, in Southern California, where he is employed as a principal engineer with InterKnowlogy. You can reach Bill at bills@interknowlogy.com.

See More

Downloads

Download TitleSizeDownload
Source code from the book 2.05 MB Click to Download
Screenshot - Figure 3-4
This is the screenshot for Figure 3-4 as a full-color JPG file.
95.75 KB Click to Download
Download Corrected figures 14-14 to 14-22 70.00 KB Click to Download
Download Updated Code for Chapter 4
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
8.87 KB Click to Download
Corrected Chapter 11 Code
This error is due to the fact that the code was written in the Beta version of VB.NET 2005. Until the time of releasing the final version of VB.NET, Microsoft had changed many classes. Due to this the code gives errors when run on the final release of VB.NET 2005. This download contains the corrected code.
419.97 KB Click to Download
Code for Chapters 14 and 15 325.58 KB Click to Download
Missing Chapter 22 code files
You will find the missing Chapter 22 code in this ZIP download.
154.11 KB Click to Download
See More

Errata

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
Code Replacement / Errata Download
Code Replacement for this title can be found at:
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764575368.html

http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764575368,descCd-download_code.html
04/18/2006
4 Updated Chapter 4 Files
Download updated Source files for Chapter 4 from the download section.
3/10/06
25 Error in Text
Next to last sentence:
Compile tab

should be:
7/20/06
31 Error in Text
Line 6:
Form1.Design.vb

should be:
Form1.Designer.vb
7/19/06
34 Error in Text
Under the heading 'Adding a Control and Event Handler', the first line:

"The button you've dragged..."
Should be:
"Drag a button control from the toolbox on to the form. The button you've dragged..."
1/10/06
35 Error in Reference
Line before listing:
Chapter 8

should be:
Chapter 9
7/20/06
46-47 "Show Tasks" option
In Chapter 2 under the "The Task List",

"Show Tasks" is listed in two places.

The Show Tasks option was removed in the release version. The release version has a drop down that allows for the selection of tasks.

It should also be noted that in the release version, the build results with the errors and warnings is it's own window and is separate from the Task List.
2/23/06
49 Error in Text
"8. Select Tool -> Macros -> Record Temporary Macro"
should be:
"8. Select Tools -> Macros -> Macro Explorer"
3/23/06
69 Error in Text
Paragraph 4, lines 1 and 2:
"Object Strict"

Should read:
"Option Strict"

AND

Line 3 or "Char and Byte" section:
It is then assigns

should be:
It is then assigned
2/21/06
74 UBound Function Error
Second line under the heading "the UBound Function":

"... from arrMyIntArray2(0) to arrMyIntArray1(3)."
Should be:
"... from arrMyIntArray2(0) to arrMyIntArray2(3)."
1/10/06
133 Error in Text
figure 4.5, the window should not include Mary 48 as the first item. Remove the first instance of Mary 48 from the window.
11/20/05
104, 105, 108 Inconsistant Prefix
104, 105, 108 you use fields with type prefix, e.g. mstrName while earlier in the chapter they were declared without it, e.g. mName
2/14/06
938 Error in Code Formatting
In the code example under item 9, there are several text formatting errors. The two important errors follow:

Line 6: Dim reader should start on a new line
11/20/05
938 Error in Code Formatting
In the code example under item 9, there are several text formatting errors. The two important errors follow:

Line 10: Dim posEnd should start on a new line
11/20/05
956-959 Missing Step for "Creating your Web Server"
There should be a new step between 3 and 4 for "Creating your Web Server":

3. Add the private members to the Class. In addition, add a constant to identify the port number the service will use for listening. Select a port that currently isn't in use on your computer. I'll use 9090.

Private listener As New HttpListener()
Private theService As String

Private Const PORT As Integer = 9090
3/1/06
569 Error in TExt
control.Name Property (1stSource, 1stTarget) does not accept a digit as a first character.

From VB Documentation: When you name an element in your Visual Basic application, the first character of that name must be an alphabetic character or an underscore. Note, however, that names beginning with an underscore are not compliant with the Common Language Specification (CLS).
The documentation I sighted was the MSDN Online library section on "Visual Basic Naming Conventions."
The link to that article is here: http://msdn.microsoft.com/en-us/library/0b283bse(VS.80).aspx (http://msdn.microsoft.com/en-us/library/0b283bse(VS.80).aspx)
06/05/08
See More

Related Titles

Back to Top