.net Show最新专题:Visual Basic.net

Ninputer 2001-08-15 11:19:31
就在 http://msdn.microsoft.com/theshow/
赶快去看看?
...全文
53 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
lanren_me 2001-08-15
  • 打赏
  • 举报
回复
GZ
Introduction Welcome to .NET and Visual Basic .NET.As you already know, .NET is a name for a new strategy: a blueprint for building applications for the next decade. It’s actually even more than that. It’s Microsoft’s commitment to remain at the top of a rapidly changing world and give us the tools to address the needs of tomorrow’s computing. Visual Basic .NET is a language for creating .NET applications, like many others. It also happens that Visual Basic is the easiest to learn, most productive language (but you already know that). Visual Basic .NET is released shortly after the tenth anniversary of the first version of VB. The original language that changed the landscape of computing has lasted for 10 years and has enabled more programmers to write Windowsapplication than any other language. Programmers who invested in Visual Basic 10 years ago are in demand today. In the world of computing, how- ever, things change very fast, including languages. At some point, they either die, or they evolve into something new. Visual Basic was a language designed primarily for developing Windows applications. It was a simple language, because it managed to hide many of the low-level details of the operating system. Those who wanted to do more with Visual Basic had to resort to Win- dows API. In a way, earlier versions of Visual Basic were ‘sandboxed’ to protect developers from scary details. Microsoft had to redesign Visual Basic. The old language just didn’t belong in the .NET pic- ture (at least, it wouldn’t integrate very well into the picture). Visual Basic .NET is not VB7; it’s a drastic departure from VB6, but a necessary departure. Visual Basic .NET was designed to take us through the next decade of computing, and if you want to stay ahead, you will have to invest the time and effort to learn it. The most fundamental component of the .NET initiative is the .NET Framework, or simply the Framework. You can think of the Framework as an enormous collection of functions for just about any programming task. All drawing methods, for example, are part of the System.Drawing class. To draw a rectangle, you call the DrawRectangle method, passing the appropriate argu- ments. To create a new folder, you call the CreateDirectory method of the Directory class; to retrieve the files in a folder, you call the GetFiles method of the same object. The Framework contains all the functionality of the operating system and makes it available to your application through numerous methods. VB was such a success because it was a very simple language. You didn’t have to learn a lot before you could start using the language. Being able to access the Framework’s objects means that you’re no longer limited by the language. The new version of the language unlocks the full potential of .NET; now there’s hardly anything you can do with another language but can’t do 2877c00.qxd 11/11/01 4:13 PM Page xxiii INTRODUCTION xxiv with Visual Basic. This makes the language as powerful as any other language, but it also makes the learning curve steeper. The good news is that, if you get started today, you’ll get a head start, which may well last for another decade. Who Should Read This Book? You don’t need to know Visual Basic to read Mastering Visual Basic .NET,but you do need a basic understanding of programming. You need to know the meaning of variables and functions and how an If…Thenstructure works. This book is addressed to the typical programmer who wants to get the most out of Visual Basic. It covers the topics I feel are of use to most VB programmers, and it does so in depth. Visual Basic .NET is an extremely rich programming environment, and I’ve had to choose between superficial coverage of many topics and in-depth coverage of fewer topics. To make room for more topics, I have avoided including a lot of reference material and lengthy listings. For example, you won’t find complete project listings or Form descriptions. I assume you can draw a few controls on a Form and set their properties, and you don’t need long descriptions of the properties of the control. I’m also assuming that you don’t want to read the trivial segments of each application. Instead, the listings concentrate on the “meaty” part of the code: the procedures that explain the topic at hand. If you want to see the complete listing, it’s all on the CD. The topics covered in this book were chosen to provide a solid understanding of the principles and techniques for developing applications with Visual Basic. Programming isn’t about new key- words and functions. I chose the topics I felt every programmer should learn in order to master the language. I was also motivated by my desire to present useful, practical examples. You will not find all topics equally interesting or important. My hope is that everyone will find something interesting and something of value to their daily work—whether it’s an application that maps the folders and files of a drive to a TreeView control, an application that prints tabular data, or an application that saves a collection of objects to a file. Many books offer their readers long, numbered sequences of steps to accomplish something. Fol- lowing instructions simplifies certain tasks, but programming isn’t about following instructions. It’s about being creative; it’s about understanding principles and being able to apply the same techniques in several practical situations. And the way to creatively exploit the power of a language such as Visual Basic .NET is to understand its principles and its programming model. In many cases, I provide a detailed, step-by-step procedure that will help you accomplish a task, such as designing a menu. But not all tasks are as simple as designing menus. I explain why things must be done in a certain way, and I present alternatives and try to connect new topics to those explained earlier in the book. In several chapters, I expand on applications developed in earlier chap- ters. Associating new knowledge to something you have already mastered provides positive feedback and a deeper understanding of the language. This book isn’t about the hottest features of the language; it’s about solid programming tech- niques and practical examples. For example, I’m not going to show you how to write multithreaded applications. The real challenge with multithreaded applications is their debugging, which requires substantial experience. Once you master the basics of programming Windowsapplications with Visual Basic .NET and you feel comfortable with the more advanced examples of the book, you will find it easy to catch up with the topics that aren’t discussed.
Beginning Visual Basic 2010 (最新英文原版) Author: Thearon Willis , Bryan Newsome Publication Date: 2010-02-26 This book is designed to teach you how to write useful programs in Visual Basic 2010 as quickly and easily as possible.There are two kinds of beginners for whom this book is ideal:You′re a beginner to programming and you′ve chosen Visual Basic 2010 as the place to start. That′s a great choice! Visual Basic 2010 is not only easy to learn, it′s also fun to use and very powerful.You can program in another language but you′re a beginner to .NET programming. Again, you′ve made a great choice! Whether you′ve come from Fortran or Visual Basic 6, you′ll find that this book quickly gets you up to speed on what you need to know to get the most from Visual Basic 2010.Visual Basic 2010 offers a great deal of functionality in both tools and language. No one book could ever cover Visual Basic 2010 in its entirety—you would need a library of books. What this book aims to do is to get you started as quickly and easily as possible. It shows you the roadmap, so to speak, of what there is and where to go. Once we′ve taught you the basics of creating working applications (creating the windows and controls, how your code should handle unexpected events, what object–oriented programming is, how to use it in your applications, and so on) we’ll show you some of the areas you might want to try your hand at next:Chapters 1 through 9 provide an introduction to Visual Studio 2010 and Windows programming. These chapters will help you install the Visual Studio 2010 IDE you′ll use to create Visual Basic 2010 applications and learn your way around the interface. You′ll be introduced to the .NET Framework and the CLR (Common Language Runtime). You′ll learn to use variables, data types, comments, methods, and control software flow with the If statement and loops. You′ll work with data in arrays, enumerations, constants, structures, ArrayLists, Collections, and tables. Chapter 6 provides an introduction to XAML and Windows Presentation Foundation (WPF) programming. XAML and WPF are the most recent addition to how VB programmers create user interfaces for their applications. You′ll also work with events, create toolbars, buttons, forms, display dialog boxes, and create menus.Chapter 10 provides an introduction to application debugging and error handling.Chapters 11 through 13 provide an introduction to object–oriented programming (OOP) and building objects. You′ll use classes, learn about reusability, work with constructors and inheritance, and see .NET Framework classes and namespaces. You’ll learn to work with OOP memory management, class libraries, you′ll register assemblies, and see how to use third party class libraries.Chapter 14 provides an introduction to creating Windows Forms user controls. While WPF user interfaces are newer, Windows forms are still in widespread use. You′ll create and test controls and work with their properties.Chapters 15 and 16 provide an introduction to programming with databases and covers Access, SQL Server, and ADO.NET. The chapters walk you through the SQL SELECT statement, Access queries, data access components, and data binding.Chapters 17 and 18 provide an introduction to Dynamic Data Web Sites and ASP.NET and show you how to write applications for the Web. You′ll work with the most current ASP.NET 4 web techniques in Visual Studio 2010.Chapter 19 provides a brief introduction to XML, a powerful tool for integrating your applications with others—regardless of the language they were written in.Chapter 20 introduces you to deploying applications using ClickOnce technology.Note: CD–ROM/DVD and other supplementary materials are not included as part of eBook file.

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧