Thứ Hai, 14 tháng 4, 2014

Tài liệu Programming Microsoft ® SQL Server™ 2000 with Microsoft Visual Basic® .NET pptx


LINK DOWNLOAD MIỄN PHÍ TÀI LIỆU "Tài liệu Programming Microsoft ® SQL Server™ 2000 with Microsoft Visual Basic® .NET pptx": http://123doc.vn/document/1044931-tai-lieu-programming-microsoft-sql-server-2000-with-microsoft-visual-basic-net-pptx.htm


software developers today is that of software application deploym ent and
versioning. I f you don’t agree, j ust ask any software developer about “DLL hell,”
and you’re bound to get an earful. For many .NET applications, the .NET platform
features “copy and paste” or XCOPY deploym ent. (Users simply copy your
application files from the source media to any single directory and run the
application.) And because .NET no longer relies on the registry, virtually all DLL
compatibility issues go away.
With this book, Rick aim s to give you t he skills you need to program SQL Server
solutions with Visual Basic .NET. I know you will find Rick’s book helpful. Rick
brings his experience to bear from three previous books: Programm ing Microsoft
Access Version 2002 (Microsoft Press, 2001), Program m ing Microsoft Access 2000
(Microsoft Press, 1999), and Professional SQL Server Development with Access
2000 (Wrox Press Inc., 2000). Rick also brings his experience of leading a
successful nationwide sem inar tour. More im portant, I know you will enjoy Rick’s
book because of his deep interest in Visual Basic .NET and SQL Server, and in
helping you, the professional developer, understand and apply these technologies
in your daily software application development projects.
Paul Cornell MSDN Office Developer Center
http: / / msdn.microsoft.com/ officeMicrosoft Corporat ion February 2002


Acknow ledgm ent s
This section offers m e a chance to say thank you to all who helped make this
book possible. I wish to offer special recognition to five support resources.
First, the folks at Microsoft Press have been fantastic. Dave Clark, an acquisitions
editor, selected me to write the book just months after I com pleted anot her book
for Microsoft Press. Dick Brown, my project editor, staunchly stood up for his
perception of how to make the book’s organization and content clear to you
without being petty or boring to m e. Dick also lightened my load substantially by
showing a real knack for editing my text without distorting the original intent.
When Dick was especially busy, he handed off some of his load to Jean Ross, who
also did an admirable job. Others at Microsoft Press who contributed to my well-
being in one way or another include Aaron Lavin and Anne Hamilton.
Second, I had excellent working relations with several professionals within
Microsoft. Paul Cornell, a widely known technical editor at Microsoft, was kind
enough to share his insights on how to present .NET concepts com pellingly. I
want to thank Paul especially for writ ing the Foreword to this book. Karthik
Ravindran served as the MSXML Beta Product Lead Engineer at Microsoft Product
Support Services during the t im e that I wrote this book. He provided valuable
technical content about the SQL Server 2000 Web releases. Other Microsoft
representatives providing moral and technical support for this book include
Richard Waym ire and Jan Shanahan.
Third, I want to express my appreciation to the many readers, sem inar
attendees, and site visitors who took the time to tell m e what I did right or wrong
for them, and also to those who shared their technical support questions with m e.
It is through this kind of feedback that I am able to know what’s important to
practicing developers. I encourage you to visit my m ain Web site
(http: / / www.program mingmsaccess.com) and sign the guest book. The entry
form includes space for you to leave your evaluation of this book or your question
about a topic covered in the book. I prom ise to do my best to reply personally. I n
any event, I definitely read all m essages and use them so that I can serve you
better with future edit ions of this, and other, books.
Fourth, I want t o tell the world how grateful I am to my wife, Virginia. Without
Virginia’s warm support, love, and care, this book would be less professional. She
relieves me of nearly every responsibility around the house when I undertake a
book project. In addition, she offers strategic advice on the issues to address and
their style of coverage. When I run out of tim e, she even pitches in with the
proofreading.
Fifth, it is important for me to give praise and glory to my Lord and Savior, Jesus
Christ, who I believe gave me the strengt h and wisdom to write this book. I n
addition, He gave me health during the long gestation period that resulted in the
birth of this book. It is my prayer that the book prove to be a blessing to you.


I ntroduct ion
Anyone who buys a book—or considers buying it—wants to know who the book is
for, what sets it apart from others like it, and how the book is organized. This
introduction covers those three questions, and it also discusses system
requirem ents, sample files, and support.
• First , w ho is the book for? There are at least two answers to t his
question. One answer is that the book targets professional developers
(and others aspiring to be professional developers). The second group the
book addresses is those w ho want to build full- featured, secure SQL
Server solutions with Visual Basic .NET.
• Second, w hat’s special a bout t h e book? I hope you com e to believe
that the m ost important answer to this question is that the book
considered quality and depth of coverage m ore im portant than rushing to
m arket. The book will arrive on bookshelves more than three months after
the official release of the .NET Framework. It is my wish that you derive
value from the extra tim e taken to develop the many code samples and
the in-depth discussions of advanced topics, such as class inheritance,
ASP.NET, and XML Web services.
• Th ird, h ow is the b ook organiz e d? The short answer is that there are
two main sections. One section introduces SQL Server concepts as it
dem onstrates T- SQL (Transact SQL) program ming techniques. After
conveying SQL Server basic building blocks in the first part, the second
part reveals how t o put those parts together with Visual Basic .NET and
related t echnologies into SQL Server solutions for handling com mon
database chores.
The three support item s include a brief description of the book’s companion CD
and how to use it, Microsoft Press Support Information for this book, and a
summ ary of system and software requirem ents for the sam ple code presented in
the book.


W ho’s t he Book For ?
This book targets professional Visual Basic and Visual Basic for Applications
developers. From my seminar tours and Web sites
(http: / / www.program mingmsaccess.com and http: / / www.cabinc.net), I know
that these professionals are driven by a passion to deliver solutions to their
clients through applying the most innovative technologies their clients will accept.
In-house developers are the go-to persons for getting results fast— particularly for
custom in-house systems and databases. I ndependent developers specialize in
serving niche situations that can include under-served business needs and work
overflows. I n both cases, these professionals need training materials that address
practical business requirem ents while showcasing innovative technologies without
wasting their tim e. This book strives to serve this broad need in two specific
areas.
This book is for developers looking for code sam ples and step-by-step instructions
for building SQL Server 2000 solutions with Visual Basic .NET. The book focuses
on the integration of SQL Server 2000 with .NET technologies tapped via Visual
Basic .NET. It is my firm belief that you cannot create great SQL Server solutions
in any programming language without knowing SQL Server. Therefore, this book
goes beyond t raditional coverage of SQL Server for Visual Basic developers. You’ll
learn T-SQL program ming techniques for data access, data manipulation, and
data definition. A whole chapter equips you to secure your SQL Server solutions.
In addition, there’s plenty of content in this book on Visual Basic .NET and relat ed
technologies, such as ADO.NET, ASP.NET, XML (Extensible Markup Language),
and XML Web services. The presentation of t hese technologies demonstrates
coding techniques and explores concepts that equip you to build better solutions
with SQL Server 2000 databases. I n addition, the book highlights innovations
introduced through the Web releases for SQL Server 2000 that integrate SQL
Server 2000 tightly with Visual Basic .NET.
This isn’t a book about XML, but three of t he book’s 13 chapters focus in whole or
in part on XML. Therefore, those seeking practical dem onstrations of how to use
XML wit h SQL Server and Visual Basic .NET will derive value from this book. I f
you have looked at any of the com puter magazines over the past couple of years,
you know that XML is coming to a solution near you. However, the rapid pace of
XML innovat ion may have dissuaded some from jumping on the bandwagon while
they wait to see what’s going to last and what’s just a fad. I n the book’s three
chapters on XML technology, you’ll learn about XML documents, fragments, and
formatting as well as related technologies, such as XPath (XML Path Language)
queries, XSLT (Extensible Stylesheet Language Transform ation), and WSDL (Web
Services Description Language).


W hat ’s Special About This Book?
There are several features that make this book stand apart from the flood of
books on .NET. One of the m ost im portant of these is that this book didn’t rush to
market but rather shipped m onths after t he release of the .NET Framework. This
allowed me enough time to filter, exam ine, and uncover what were the most
useful and innovative features for Visual Basic .NET developers building SQL
Server solutions. For exam ple, the book includes a whole chapter on creating
solutions with XML Web services. That chapter includes two major sections on the
SQL Server 2000 Web Services Toolkit, which didn’t ship until the day of the .NET
Framework release.
The .NET Fram ework content is at a professional level, but it isn’t just for techies.
This book doesn’t assume any prior knowledge of the .NET Framework. I t does
assume that you get paid for building solutions programmatically and that at least
some of those solutions are for SQL Server databases. Therefore, the book
explains basic .NET concepts and dem onstrates how to achieve practical results
with those concepts through a huge collection of .NET code samples.
This book is about building solutions for SQL Server 2000. I include coverage of
the many special feat ures that tie Visual Basic .NET and SQL Server 2000 closely
to one another. Although there is coverage of general .NET database techniques,
this book dives deeply into T-SQL programming techniques so that you can create
your own custom database objects, such as tables, stored procedures, views,
triggers, and user-defined functions. I n addition, there is separate coverage of
the XML features released wit h SQL Server 2000 as well as separat e coverage of
the XML features in the first three Web releases that shipped for SQL Server
2000. There are numerous code sam ples throughout t he book. These will equip
you to build solutions with Visual Basic .NET, T-SQL, and combinations of the two.
Finally, this book is special because of the unique experiences of its author, Rick
Dobson. I have trained professional developers in Australia, England, Canada,
and throughout the United States. This is my fourth book in four years, and you
can find my articles in popular publications and Web sites, such as SQL Server
Magazine and MSDN Online. As a Webmaster, m y main site
(http: / / www.program mingmsaccess.com) serves hundreds of thousands of
sessions to developers each year. I constantly examine their viewing habits at the
site to determine what interests them. In addition, m y site features scores of
answers to technical support questions subm itted by professional developers. My
goal in offering answers to these questions is to stay in touch with practicing
developers worldwide so that my new books address the needs of practicing,
professional developers.


How ’s the Book Organized?
There are two main parts to this book tied together by an introductory part. Part
II , the first main part, dwells on SQL Server techniques. Part II I builds on the
SQL Server background as it lays a firm foundation in .NET techniques for Visual
Basic .NET developers. Part I, the introductory part, demonstrates ways to use
SQL Server and Visual Basic .NET together.
Part I , I nt roduct ion
Part I, which includes only Chapter 1, has three main goals. First, it acquaints you
with the basics of Visual Basic .NET within Visual Studio .NET. You can think of
Visual Basic .NET as a major upgrade to the Visual Basic 5 or 6 that you are
probably using currently. This first section introduces som e concepts that you will
find useful as you initially learn the landscape of Visual Basic .NET. The second
goal of Chapter 1 is to introduce ADO.NET. If you think of Visual Basic .NET as a
major upgrade to Visual Basic 6, ADO.NET is more like a major overhaul of ADO.
In two sections, you get an introduction to ADO.NET classes— particularly as they
relate to SQL Server— and you get a chance to see a couple of beginner sam ples
of how to create SQL Server solutions with Visual Basic .NET and ADO.NET. The
third goal of the introductory part is to expose you to Query Analyzer. This is a
SQL Server client tool that ships with all commercial editions of SQL Server 2000.
You can think of it as an I DE for T-SQL code. Most of the book’s first part relies
heavily on T-SQL, and therefore having a convenient environment for debugging
and running T-SQL code is helpful. The final section of Chapter 1 addresses this
goal.
Part I I , SQL Ser ver
Part II consists of six relatively short chapters that focus substantially on
programming SQL Server 2000 with T-SQL. Chapter 2 and Chapter 3 introduce T-
SQL and SQL Server data types. I f you are going to program SQL Server and
create efficient, fast solutions, you m ust learn SQL Server data types, which is
one of t he main points conveyed by Chapter 2. Many readers will gravitate to
Chapter 3 because it introduces core T-SQL program ming techniques for data
access. You’ll apply the techniques covered in this chapter often as you select
subsets of rows and columns in data sources, group and aggregate rows from a
table, process dates, and join data from two or more tables. Chapter 3 also
considers special data access topics, such as outer joins, self joins and
subqueries.
The next pair of chapters in Part II, Chapter 4 and Chapter 5, take a look at
programming database objects t hat you will use for data access and dat a
manipulation, such as views, stored procedures, user-defined functions, and
triggers. These database objects are important for many reasons, but one of the
most important is that they bundle T-SQL statements for their easy reuse. I t is
widely known that the best code is the code that you don’t have to write.
However, if you do have to write code, you should definitely write it just onc, and
then reuse it whenever you need its functionality. Stored procedures are
particularly desirable database obj ects because they save com piled T-SQL
statements that can deliver significant speed advantages over resubm it ting the
same T-SQL statem ent for compilation each time you want to perform a data
access or data manipulation task. Chapter 4 and Chapter 5 are also important
because they convey T-SQL syntax for using param eters and conditional logic
that support dynamic run-tim e behavior and user interactivity.
One of the most important features of SQL Server 2000 is its XML functionality.
Because XML as a topic is changing so rapidly, Microsoft adopted a strategy of
upgrading the SQL Server 2000 XML functionality through Web releases. Although
those with SQL Server 2000 can download the Web releases without charge from
the Microsoft Web site, the Web releases are fully supported. Chapter 6
introduces core XML functionality introduced with SQL Server 2000 as well as
functionality from the first two Web releases. I n particular, you can learn in this
chapter about I IS virtual directories as well as formats for XML documents and
schemas. You also learn about tem plates in virtual directories that facilitate data
access and data manipulation tasks over the Web.
Chapter 7 closes out the SQL Server part of t he book with an in-depth look at
programming SQL Server security. I n these tim es, security has grown into a
monumental topic, and this chapter can keep you out of trouble by blocking
hackers from getting into or corrupting your database. You learn such t opics as
how to create and manage different types of login and user accounts and how to
control the permissions available to individual accounts as well as groups of
accounts. By learning how to script accounts and permissions with T-SQL, you
simplify revising and updating security as conditions change (for exam ple, when
users leave the company or when new, sensitive data gets added to a table).
Part I I I , .NET
Chapter 8 starts the .NET part of the book with a review of selected .NET topics
that are covered in the initial look Chapter 1 offered at the .NET Framework. This
chapter provides an overview of the architecture for .NET solutions, and it drills
down on two topics: ASP.NET and XML Web services. The general purpose of this
chapter is the sam e as Chapter 1, which is to introduce concepts. The em phasis
in Chapter 8 isn’t how you do som ething, but rather what are the m aj or
technologies enabling you to do som ething. Chapter 1 and Chapter 8 are both
relatively short chapters, but you m ay find t hem invaluable if you are the kind of
person who benefits from high-level overviews of a collection of topics.
Chapter 9 starts with a close exam ination of how to use Windows Form s with
Visual Basic .NET. It then shifts its focus to a review of traditional class
processing concepts via Visual Basic .NET as an introduction to class inheritance,
a new object-oriented feature that makes its first appearance in Visual Basic with
Visual Basic .NET. Next the treatment of classes progresses to the handling of
built-in events as well as the raising of custom events. Finally the chapter closes
with an exam ination of the new exception handling techniques for processing run-
time errors.
Chapter 10 is a how-to guide for solutions to typical problems with ADO.NET.
Before launching into its progression of sam ples showing how to perform all kinds
of tasks, the chapter starts with an overview of the ADO.NET object model that
covers the main objects along with selected properties and methods for each
object. The how-t o guide focuses on data access tasks, such as selecting rows
and columns from SQL Server database objects, as well as data m anipulation
tasks, such as inserting, updating, and deleting rows in a table. Working through
the samples in the how-to guide offers a hands-on feel for using the
Syst em .Dat a.SqlClient namespace elem ents to perform typical tasks.
Chapter 11 switches the focus to the Web by addressing the creation and use of
ASP.NET solutions. This chapter starts by introducing basic elem ents that you
need to know in order to use ASP.NET to create great Web solutions with Visual
Basic .NET. These include learning what happens as a page does a round-trip
from a browser to a Web server and back to the browser— particularly for data
associated with the page. Other preliminary topics that equip you for building
professional Web solutions include running the same page in multiple browser
types and sniffing the browser for cases in which you want to send a page
optim ized for a specific kind of browser type. Managem ent of session state is a
major topic in the chapter, and you learn how t o use enhancem ents to Session
variables for Web farms as well as the new view state variables, a non-server-
based technique for managing state in ASP.NET solut ions. The last two sections in
the chapter deal with ADO.NET topics in ASP.NET solut ions and the new
autom at ic data validation features built right into ASP.NET.
The last two chapters in the book explore how XML interplays with Visual Studio
.NET and SQL Server 2000. For example, Chapter 12 exam ines special tools in
Visual Studio .NET to facilitate the design and editing of XML document s and
schemas. I n addition, you learn how to designate XPath queries that accept run-
time input for returning SQL Server result sets inside Visual Basic .NET programs.
The chapter demonstrates techniques for processing the XML document
associated with all ADO.NET data set objects. I n the chapter’s last section, I
present a couple of code sam ples that illustrate how to program static HTML
pages based on XML docum ents with XSLT.
Chapter 1 3 drills down on XML Web services by dem onstrating several different
approaches for creating Web services as well as consuming XML output from Web
services. Web services behave som ewhat like COM objects in that you can set up
server applications for client applications. The server applications expose methods
to which the client applications can pass param eters. XML com es int o play with
Web services in a couple of areas. First, Web services represent t heir inputs and
outputs via WSDL, an XML-based language that formally describes an XML Web
service. Second, Web services return data to their clients as XML documents or
document fragments.


System Requirem ents
The requirem ents for this book vary by chapter. I developed and tested all
samples throughout this book on a com puter equipped with Windows 2000
Server, SQL Server Enterprise Edition, and the Enterprise Developer Edition of
Visual Studio .NET, which includes Visual Basic .NET. To use this book, you’ll need
to have Visual Basic .NET or Visual Studio .NET installed on your com puter. (See
Chapter 1 for m ore inform ation on versions of Visual Basic .NET and Visual Studio
.NET.) I n addition, you’ll need SQL Server 2000, and for some of the chapters,
you’ll need SQL Server 2000 updated with Web releases 1, 2, and 3. Chapter 6
gives the URLs for downloading Web releases 1 and 2. Chapter 12 gives two
different URLs for downloading Web Release 3— one with the SQL Server 2000
Web Services Toolkit and the ot her without it.
For selected chapters, you can run the samples with less software or different
operating systems than the one that I used. For exam ple, chapters 2 through 5
will run on any operating system that supports a commercial version of SQL
Server 2000, such as Windows 98 or a more recent Windows operating system.
Chapter 7 requires an operating system that supports Windows NT security, such
as Windows 2000 or Windows XP Professional. Chapter 6, Chapter 11, and
Chapter 1 3 require Microsoft Internet Information Services (II S). I n addit ion,
Chapter 6 requires the installat ion of Web releases 1 and 2. For Chapter 11, your
system needs to meet the minimum requirem ents for ASP.NET. (See a note in the
“How Does ASP.NET Relate to ASP?” section of Chapter 8.) Several of t he
samples in Ch apt er 13 require Web Release 3 and its associated SQL Server
2000 Web Services Toolkit.


Sa m ple Files
Sample files for this book can be found at the Microsoft Press Web sit e, at
http: / / www.microsoft.com /mspress/ books/ 5792.asp. Clicking the Com panion
Content link takes you to a page from which you can download the sam ples.
Supplem ental content files for this book can also be found on the book’s
companion CD. To access those files, insert the com panion CD into your
computer’s CD-ROM drive and make a selection from the menu that appears. I f
the AutoRun feature isn’t enabled on your system (if a menu doesn’t appear when
you insert the disc in your com puter’s CD-ROM drive), run StartCD.exe in the root
folder of the com panion CD. I nstalling the sample files on your hard disk requires
approxim ately 15.3 MB of disk space. I f you have trouble running any of these
files, refer to the text in the book that describes these programs.
Aside from the sam ple files that this book discusses, the book’s supplem ental
content includes a stand-alone eBook installation that will allow you to access an
electronic version of the print book directly from your desktop.


Support
Every effort has been made to ensure the accuracy of this book and t he contents
of the companion CD. Microsoft Press provides corrections for books through the
World Wide Web at the following address:
http: / / www.microsoft.com /mspress/ support
To connect directly to the Microsoft Press Knowledge Base and enter a query
regarding a question or an issue that you may have, go to:
http: / / www.microsoft.com /mspress/ support/ search.asp
If you have comments, questions, or ideas regarding t his book or the com panion
content, or questions that are not answered by querying the Knowledge Base,
please send them to Microsoft Press via e-mail to:
mspinput@m icrosoft.com
Or via postal mail to:
Microsoft Press Attn: Programm ing Microsoft SQL Server 2000 w it h Microsoft
Visual Basic .NET Editor One Microsoft Way Redmond, WA 98052-6399
Please note that product support is not offered through the above m ail address.
For product support information, please visit the Microsoft Support Web site at:
http: / / support.microsoft.com


Chapter 1 . Get t ing St a rt e d w ith Visua l
Basic .NET for SQL Se rver 2 0 0 0
This book aims t o give professional developers the background that they need to
program SQL Server applications with Microsoft Visual Basic .NET. This overall
goal implies three guidelines:
• First, the book targets practicing developers. In my experience, these are
busy professionals who need the details fast. These individuals already
know how to build applications. They buy a book to learn how t o build
those applications with a specific set of tools.
• Second, the book is about building applications for SQL Server 2000. This
focus justifies in-depth coverage of SQL Server program ming topics— in
particular, T-SQL, Microsoft’s extension of the Structured Query Language
(SQL).
• Third, the book illustrates how to program in Visual Basic .NET, but with
particular emphasis on database issues for SQL Server 2000. Special
attention goes to related .NET technologies, such as the .NET Fram ework,
ADO.NET, ASP.NET, and XML Web services.
My goal in this chapter is to equip you conceptually for the rest of the book.
Therefore, this chapter includes material that acquaints you with application
development techniques and topics for SQL Server 2000 and Visual Basic .NET.
The discussion of the sam ples in this chapter generally aims to convey broad
approaches instead of how to run t he sample. All the rem aining chapters except
for Chapter 8, anot her conceptual chapter, have sam ples with instructions aimed
at professional developers.
I believe that the overwhelming majority of professional Visual Basic developers
have no hands-on fam iliarity with Visual Basic .NET and its related technologies.
If you already knew Visual Basic .NET, it wouldn’t m ake any sense to buy a book
describing how to use it. This chapter therefore focuses on how to get started
with Visual Basic .NET and one of its core related technologies for those building
SQL Server applications— ADO.NET. I also believe t hat most Visual Basic
developers don’t have an intimate knowledge of SQL Server— especially for
creating user-defined objects, such as tables, views, and stored procedures. This
capability can empower you to build m ore powerful and more secure applications.
As you learn about database objects and how to create them in Chapter 2
through Chapt er 7, reflect back on the Visual Basic .NET coverage in this chapter
and how to marry database creation techniques and Visual Basic .NET
development techniques. One of the best tools to build database objects is SQL
Server 2000 Query Analyzer. This chapter’s closing section conveys the basics of
Query Analyzer t hat you need to follow the sam ples in Chapter 2 through Chapter
7.


Visua l St udio .NET, t he Visual Basic .NET I DE
Visual Studio .NET is the new multilanguage integrated development environment
(IDE) for Visual Basic, C# , C+ + , and JScript developers. I f you are developing
solutions for Visual Basic .NET, I definitely recommend that you use Visual Studio
.NET as your development environment. This section demonstrates how to get
started using Visual Studio .NET for developing solutions with Visual Basic .NET.
Visual Basic .NET is available as part of Visual Studio .NET in four edit ions:
• Professional
• Enterprise Developer
• Enterprise Architect
• Academ ic
All four edit ions of Visual Studio .NET include Visual Basic .NET, Microsoft Visual
C# .NET, Microsoft Visual C+ + .NET, and support for other languages. In
addition, Microsoft offers Visual Basic .NET Standard, which doesn’t include Visual
C# .NET or Visual C+ + .NET.
Because this book targets professional Visual Basic developers creating SQL
Server applications, it uses the Enterprise Developer Edition of Visual Studio
.NET. You m ay notice some differences if you’re using another edition.
Visual Studio .NET can be installed on computers running one of five operating
systems: Windows 2000, Windows NT, Windows XP, Windows ME, and Windows
98. Not all the .NET Fram ework features are available for each operating system .
For exam ple, Windows 98, Windows Me, and Windows NT don’t support
developing ASP.NET Web applications or XML Web services applications. The
samples for this book are tested on a computer running Windows 2000 Server,
which does support all .NET Fram ework features.
St art ing Visua l St udio .NET
To open Visual Studio .NET, click t he Start button on the Windows taskbar,
choose Programs, and then choose Microsoft Visual Studio .NET. Visual Studio
displays its integrated development environment, including the Start Page (unless
you previously configured Visual Studio to open differently). From the Start Page,
you can configure Visual Studio to work according to your development
preferences, and you can start new solutions as well as open existing projects.
Configu ring Visua l St udio .NET for Visua l Ba sic .NET
Use the links on the left side of the Start Page to begin configuring Visual Studio
.NET for developing solutions in Visual Basic .NET. Click the My Profile link to
open a pane in which you can specify an overall profile as well as individually
indicate your preferences for Keyboard Scheme, Window Layout, and Help Filter.
You also can designate the initial page that Visual Basic .NET displays. When you
are beginning, it m ay be particularly convenient to choose Show Start Page. As a
Visual Basic developer who has worked with Visual Basic 6, you might feel most
familiar with a layout that reflects your prior development environment. Figure 1-
1 shows these My Profile selections.
Figu re 1 - 1. My Profile sele ct ions for starting V isu al St udio .N ET for a
Visual Ba sic de velop e r.

Không có nhận xét nào:

Đăng nhận xét