您现在正在浏览:首页 > 论文 > 计算机 > VB 2005 电子书

免费下载VB 2005 电子书

  • 资源类别:论文
  • 资源分类:计算机
  • 适用专业:VB 2005
  • 适用年级:高职
  • 上传用户:毒霸235
  • 文件格式:chm
  • 文件大小:15.22MB
  • 上传时间:2009-9-21 1:30:55
  • 下载次数:2
  • 浏览次数:58

安全检测:瑞星:安全 诺顿:安全 卡巴:安全

资料简介
VB 2005 电子书
Contents
Introduction xxv
Chapter 1: What Is Microsoft .NET? 1
What Is .NET? 1
A Broad and Deep Platform for the Future 2
What’s Wrong with DNA and COM? 2
An Overview of the .NET Framework 3
The Common Language Runtime 4
Key Design Goals 5
Metadata 7
Multiple-Language Integration and Support 7
A Common Type System 8
Namespaces 8
The Next Layer—The .NET Class Framework 8
What Is in the .NET Class Framework? 9
User and Program Interfaces 10
Windows Forms 11
Web Forms 11
Console Applications 12
Web Services 12
XML as the .NET Metalanguage 12
The Role of COM 13
No Internal Use of COM 13
Some Things Never Change . . . 13
.NET Drives Changes in Visual Basic 14
How .NET Affects You 14
A Spectrum of Programming Models 14
Reducing Barriers to Internet Development 15
Libraries of Prewritten Functionality 15
Easier Deployment 15
The Future of .NET 16
Major Differences in .NET 2.0 16
Summary 17
Chapter 2: Introducing Visual Basic 2005 and Visual Studio 2005 19
Visual Studio .NET—Startup 20
Visual Studio .NET 21
The Solution Explorer 22
My Project 23
References 24
Assembly Information Screen 25
The New Code Window 26
The Properties Window 29
Dynamic Help 30
Working with Visual Basic 2005 31
Form Properties Set in Code 32
Enhancing the Sample Application 34
Adding a Control and Event Handler 34
Customizing the Code 35
Build Configurations 40
Building Applications 43
Useful Features of Visual Studio 46
The Task List 46
The Command Window 47
The Server Explorer 47
Recording and Using Macros in Visual Studio 2005 49
Summary 50
Chapter 3: Variables and Type 51
Differences of Value and Reference Types 52
Value Types (Structures) 54
Primitive Types 54
Explicit Conversions 63
Compiler Options 64
Performing Explicit Conversions 66
Reference Types (Classes) 68
The Object Class 68
The String Class 70
The DBNull Class and IsDBNull() Function 72
Arrays 73
Collections 76
Parameter Passing 78
Contents
Retired Keywords and Methods 80
Elements of Visual Basic 6.0 Removed in .NET 80
Summary 81
Chapter 4: Object Syntax Introduction 83
Object-Oriented Terminology 84
Objects, Classes, and Instances 84
Composition of an Object 85
Working with Objects 88
Object Declaration and Instantiation 88
Object References 90
Dereferencing Objects 90
Early versus Late Binding 90
Creating Classes 94
Creating Basic Classes 94
Constructor Methods 114
Termination and Cleanup 115
Advanced Concepts 116
Overloading Methods 116
Overloading Constructor Methods 119
Shared Methods, Variables, and Events 120
Operator Overloading 125
Delegates 128
Classes versus Components 133
Summary 134
Chapter 5: Inheritance and Interfaces 137
Inheritance 138
Implementing Inheritance 140
Multiple Interfaces 187
Object Interfaces 187
Secondary Interfaces 189
Summary 195
Chapter 6: The Common Language Runtime 197
Elements of a .NET Application 198
Modules 198
Versioning and Deployment 201
Better Support for Versioning 201
Better Deployment 202
Cross-Language Integration 203
The Common Type System 203
Metadata 204
Better Support for Metadata 205
Attributes 206
The Reflection API 208
IL Disassembler 209
Memory Management 210
Traditional “Garbage Collection” 211
Faster Memory Allocation for Objects 218
Garbage Collector Optimizations 220
Summary 222
Chapter 7: Applying Objects and Components 223
Abstraction 223
Encapsulation 227
Polymorphism 230
Method Signatures 230
Implementing Polymorphism 230
Inheritance 241
When to Use Inheritance 242
Inheritance and Multiple Interfaces 246
How Deep to Go? 252
Fragile Base Class Issue 254
Summary 257
Chapter 8: Generics 259
Using Generics 260
Generic Types 261
Generic Methods 265
Creating Generics 267
Generic Types 267
Generic Methods 275
Constraints 276
Generics and Late Binding 280
Summary 281
xiii
Chapter 9: Namespaces 283
What Is a Namespace? 284
Namespaces and References 287
Common Namespaces 289
Importing and Aliasing Namespaces 291
Importing Namespaces 292
Referencing Namespaces in ASP.NET 293
Aliasing Namespaces 294
Creating Your Own Namespaces 295
My 298
My.Application 299
My.Computer 303
My.Forms 307
My.Resources 308
My.User 308
My.WebServices 308
Summary 309
Chapter 10: Exception Handling and Debugging 311
A Brief Review of Error Handling in VB6 312
Exceptions in .NET 314
Important Properties and Methods of an Exception 314
How Exceptions Differ from the Err Object in VB6 315
Structured-Exception-Handling Keywords in VB.NET 315
The Try, Catch, and Finally Keywords 316
The Throw Keyword 318
Throwing a New Exception 319
The Exit Try Statement 320
Nested Try Structures 321
The Message Property 323
The InnerException and TargetSite Properties 323
Interoperability with VB6-Style Error Handling 328
Error Logging 329
Writing to Trace Files 333
Analyzing Problems and Measuring Performance via the Trace Class 335
Summary 338
......
资料文件预览
共2文件夹,2个文件,文件总大小:37.91MB,压缩后大小:15.22MB
  • VB 2005 电子书
    • ++VB开发系列++
      • Adobe Acrobat可导出文档格式文件[VB2005入门]Wrox.Beginning.Visual.Basic.2005.Nov.2005.eBook-LinG.pdf  [14.28MB]
      • Adobe Acrobat可导出文档格式文件[VB2005进阶]Wrox.Professional.VB.2005.Nov.2005.eBook-LinG.pdf  [23.63MB]
下载地址
资料评论
注意事项
下载FAQ:
Q: 为什么我下载的文件打不开?
A: 本站所有资源如无特殊说明,解压密码都是www.xuehai.net,如果无法解压,请下载最新的WinRAR软件。
Q: 我的学海币不多了,如何获取学海币?
A: 上传优质资源可以获取学海币,详细见学海币规则
Q: 为什么我下载不了,但学海币却被扣了?
A: 由于下载人数众多,下载服务器做了并发的限制。请稍后再试,48小时内多次下载不会重复扣学海币。
下载本文件意味着您已经同意遵守以下协议
1. 文件的所有权益归上传用户所有。
2. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
3. 学海网仅提供交流平台,并不能对任何下载内容负责。
4. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
5. 本站不保证提供的下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
论文相关下载
返回顶部