社区
VB基础类
帖子详情
vb的dhtml工程是否要在安装web server 后,才能运行?
Truman
2000-03-06 04:16:00
...全文
109
2
打赏
收藏
vb的dhtml工程是否要在安装web server 后,才能运行?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Truman
2000-03-06
打赏
举报
回复
I've got the answer ,it doesn't need web server.
929
2000-03-06
打赏
举报
回复
单独的页面可以,但是要是有链接的话,我想你得修改链接才能保证页面的浏览正确。
VB
网络编程实例
◆ 01.htm 1、怎么用mscomm控件检测modem
是否
与计算机联接正确?2、如何用mscomm挂断modem与别的电话机间的连接?(已接通) ◆ 02.htm CWinInetConnection---一个封装了WinInet API函数的类 ◆ 03.htm MODEM通讯意外处理 ◆ 04.htm MsComm 文字传输 ◆ 05.htm PING一个IP地址(向它发送一个数据包并等待回应) ◆ 06.htm SMTP协议简介 (Simple Mail Transfer Protocol) ◆ 07.htm
VB
5.0 中远程数据库的访问 ◆ 08.htm
VB
下如何编写CRC校验程序 ◆ 09.htm
VB
中Winsock控制的UDP协议的使用 ◆ 10.htm Visual Basic 6中发送邮件的新方法 ◆ 11.htm Visual Basic通信程序设计 ◆ 12.htm Whois 示例程序 ◆ 13.htm Winsock Terminal示例程序 ◆ 14.htm WinSock断开导致客户端问题 ◆ 15.htm 把Outlook信箱中的附件另存为 ◆ 16.htm 保证连网计算机时间同步 ◆ 17.htm 编写网络寻呼机 ◆ 18.htm 编制自已的电话录音小程序 ◆ 19.htm 程序中如何启动默认的拨号连接 ◆ 20.htm 程序中如何启动默认的拨号连接? ◆ 21.htm 打开器并进入指定网址 ◆ 22.htm 打开一个直接到自己主页的器 ◆ 23.htm 得到用户的IP地址 ◆ 24.htm 电话拨号 ◆ 25.htm 电子邮件的标准格式 (RFC 822) ◆ 26.htm 断开拨号网络的连接 ◆ 27.htm 断开与 Internet 的连接 ◆ 28.htm 发送电子邮件附件 ◆ 29.htm 发送电子邮件附件1 ◆ 30.htm 发送电子邮件附件2 ◆ 31.htm 发送电子邮件附件3 ◆ 32.htm 发送电子邮件附件4 ◆ 33.htm 获得用户网络登录名 ◆ 34.htm 基 于Win95 的
VB
5 串 口 通 信 程 序 ◆ 35.htm 基于Win95的
VB
5串口通信程序 ◆ 36.htm 几个设置IE的API ◆ 37.htm 检测运程数据传送的断线 ◆ 38.htm 简单的聊天程序 ◆ 39.htm 简单电子邮件发送程序 ◆ 40.htm 建立拨号联接 ◆ 41.htm 将所有窗口最小化 ◆ 42.htm 利用IE控件访问Internet ◆ 43.htm 利用IE控件设计简易器 ◆ 44.htm 利用Mscomm32控件判断MODEM
是否
打开,或者正在工作,并且判断拨号时
是否
遇忙音 ◆ 45.htm 利用TAPI进行电话拨号 ◆ 46.htm 利用
VB
访问Internet ◆ 47.htm 利用
VB
设计聊天室 ◆ 48.htm 利用Visual Basic实现无线通讯 ◆ 49.htm 利用Winsock控件实现局域网通信 ◆ 50.htm 强制一个本地或远程NT系统关闭 ◆ 51.htm 取得网卡序列号 ◆ 52.htm 如何从 Internet 上取回某一个网页的內容? ◆ 53.htm 如何检测
是否
已连接到Internet? ◆ 54.htm 如何利用Winsock控件编写自己的Internet程序 ◆ 55.htm 如何每天抓取 Internet 上某一个网页中的图片来更换桌面的壁纸? ◆ 56.htm 如何启动拨号网路中的连线? ◆ 57.htm 如何使用MSCOMM32.OCX发送大于80H的字符,可否给个示例程序 ◆ 58.htm 如何通过
VB
获取网卡地址 ◆ 59.htm 如何用
VB
打开默认器或默认发信程序? ◆ 60.htm 如何用Visual Basic编写小型的网络系统 ◆ 61.htm 如何在程序中启动 NT 的【拨号连接】对话框 ◆ 62.htm 如何在程序中启动 NT 的【拨号连接】对话框? ◆ 63.htm 如何在网页上使用
VB
5 制作的 ActiveX 控件? ◆ 64.htm 如何中断【拨号网络连接】 ◆ 65.htm 设计Browser及FTP程序 ◆ 66.htm 设计Chat程序 ◆ 67.htm 设计E-mail程序 ◆ 68.htm 设置计算机名称 ◆ 69.htm 使用
VB
获得一页的HTML代码 ◆ 70.htm 使用
VB
收发电子邮件 ◆ 71.htm 使用标签控件调出器 ◆ 72.htm 使用超链接和发送Email ◆ 73.htm 使用器的文件复制对话框 ◆ 74.htm 输入/输出篇 ◆ 75.htm 通过WnetEnumResource函数获得网络资源 ◆ 76.htm 通往 Internet 的捷径 ◆ 77.htm 显示计算机的名称 ◆ 78.htm 用 MAPI 控件实现发送邮件 ◆ 79.htm 用 WinSock 控件下载文件 ◆ 80.htm 用 Winsock 实现聊天的程序 ◆ 81.htm 用Internet Transfer编写FTP程序 ◆ 82.htm 用Sockets发送电子邮件 ◆ 83.htm 用
VB
创 建 自 己 的 通 信 程 序 ◆ 84.htm 用
VB
5.0开发通信软件的技巧 ◆ 85.htm 用
VB
5开发IE ◆ 86.htm 用
VB
编写网络寻呼 ◆ 87.htm 用
VB
编写小型的网络系统 ◆ 88.htm 用
VB
创建自己的通信程序 ◆ 89.htm 用
VB
构建Internet的应用[微软提供] ◆ 90.htm 用
VB
开发标准CGI程序 ◆ 91.htm 用
VB
实现客户——服务器(TCP IP)编程实例 ◆ 92.htm 用
VB
实现客户服务器(TCP、IP)编程实例 ◆ 93.htm 用
VB
实现聊天讨论室和点对点会话 ◆ 94.htm 用
VB
写一个定时PING某IP的程序 ◆ 95.htm 用
VB
制作器 ◆ 96.htm 用Visual Basic 5.0设计E-mail程序(MAPI) ◆ 97.htm 用Visual Basic6.0编写客户服务器程序 ◆ 98.htm 用Visual Basic创建FTP组件 ◆ 99.htm 用Visual Basic开发数据库器 ◆ 100.htm 用Visual Basic轻松地设计Browser及Ftp程序 ◆ 101.htm 用Winsock控件发信Email ◆ 102.htm 用Winsock控件实现文件的下载 ◆ 103.htm 用Winsock实现点对点通信 ◆ 104.htm 邮件检查程序(二) ◆ 105.htm 邮件检查程序(一) ◆ 106.htm 在
VB
程序中怎样挂断拨号网络 ◆ 107.htm 在
VB
中操纵OLE服务器应用程序 ◆ 108.htm 在
VB
中利用UDP协议编写聊天程序 ◆ 109.htm 在
VB
中模拟实现邮件传输 ◆ 110.htm 在
VB
中如何得到网络中某一台电脑(电脑名)的网卡地质? (自己的) ◆ 111.htm 在
VB
中实现文件上传 ◆ 112.htm 在
VB
中实现文件上载 ◆ 113.htm 在
VB
中使用UDP协议 ◆ 114.htm 在
VB
中用Outlook发电子邮件 ◆ 115.htm 在WindowsNT网络中广播消息 ◆ 116.htm 在程序中打开 Internet 拨号连接窗口 ◆ 117.htm 在一个单位内部或通过广域协议(如X.25)互联的行业内部都有几十或上万台计算机互联,用Intranet虽然可以建立聊天室,但实现点对点实时对话却比较困难。本人用Winsock和
VB
自制了一套聊天室和对话系统,特拿来供同行们参考。 ◆ 118.htm 在应用中集成器 ◆ 119.htm 在桌面上建立一个 Internet 快捷键 ◆ 120.htm 怎样接收电子邮件(POP3协议简介) ◆ 121.htm 怎样用
VB
得知系统当前
是否
处于internet链结状态 ◆ 122.htm 制作自己的网络搜索软件 ◆ 123.htm 自动更新工作站的应用程序 ◆ 124.htm 自己的IE——用
VB
制作器 ◆ 125.htm HTTP协议(学习笔记) ◆ 126.htm HTTP协议四--关于Chunked编码 ◆ 127.htm IE器完全控制 ◆ 128.htm OICQ服务器系统通讯协议 ◆ 129.htm POP3协议的基本命令 ◆ 130.htm RAS API上的其他Function ◆ 131.htm
VB
+ API 获取 IE 的 “代理服务器” 配制 ◆ 132.htm
vb
调用winInet API接口post数据到指定的url ◆ 133.htm
vb
开发通信软件 ◆ 134.htm
vb
设计数据库电子邮件程序(1) ◆ 135.htm
vb
设计数据库电子邮件程序(2) ◆ 136.htm
vb
设计数据库电子邮件程序(3) ◆ 137.htm
vb
设计数据库电子邮件程序(4) ◆ 138.htm
vb
设计数据库电子邮件程序(5) ◆ 139.htm
vb
设计数据库电子邮件程序(6) ◆ 140.htm
VB
实现应用程序在局域网上自动更新 ◆ 141.htm
VB
邮件检查程序 ◆ 142.htm
vb
中从域名得到IP及从IP得到域名 ◆ 143.htm
VB
中检测
是否
连网 ◆ 144.htm
Web
Class实现动态
WEB
编程之理论篇 ◆ 145.htm Winsocket网络编程谈 ◆ 146.htm Winsock编程框架 ◆ 147.htm Winsock错误代码一览表 ◆ 148.htm 程式自动呼叫拨号网络(RAS API) ◆ 149.htm 打开一个超连接 ◆ 150.htm 得到登入windows 的人的id ◆ 151.htm 访问Internet并调用Explorer ◆ 152.htm 非同步文件下载类 ◆ 153.htm 给Outlook的所有用户发送信件 ◆ 154.htm 获得网卡的MAC地址 ◆ 155.htm 基于WinSock的小型网络管理系统及其实现 ◆ 156.htm 检测
是否
连接到Internet ◆ 157.htm 检测网络
是否
连通 ◆ 158.htm 建立
Web
的超链接树形图 ◆ 159.htm 建立你自己的器-Properties ◆ 160.htm 建立你自己的器-查看源文件 ◆ 161.htm 建立你自己的器-打印 ◆ 162.htm 建立你自己的器-打印设置 ◆ 163.htm 建立你自己的器-发送到FontPage ◆ 164.htm 建立你自己的器-发送到Visual Interdev ◆ 165.htm 建立你自己的器-发送到软盘 ◆ 166.htm 建立你自己的器-复制 ◆ 167.htm 建立你自己的器-另存为 ◆ 168.htm 建立你自己的器-全选 ◆ 169.htm 建立你自己的器-页面设置 ◆ 170.htm 开发通信软件的技术与技巧 ◆ 171.htm 开发网络应用的5个技巧 ◆ 172.htm 利用RAS调用在
VB
6.0中实现拨号上网 ◆ 173.htm 利用
VB
提取HTML文件中的EMAIL地址 ◆ 174.htm 枚举出局域网上所有网络资源 ◆ 175.htm 面向Internet的开发工具 ◆ 176.htm 你也可以YAI--
VB
5中Winsock控件的使用 ◆ 177.htm 判断一个文件
是否
在IE的缓存中 ◆ 178.htm 启动拨号网络中的连接 ◆ 179.htm 浅谈HTTP协议(二)--返回值 ◆ 180.htm 浅谈HTTP协议(一)--结构 ◆ 181.htm 如何利用
Web
Browser 控件显示 .GIF 动画? ◆ 182.htm 如何映射(中断网络磁盘) ◆ 183.htm 设计E-mail的接收部分 ◆ 184.htm 设置器默认网址 ◆ 185.htm 实现端口对端口的聊天 ◆ 186.htm 使用ASP建立Http组件 ◆ 187.htm 使用
VB
编写纯ASP程序 ◆ 188.htm 使用
vb
获取网上邻居里的计算机名 ◆ 189.htm 使用
VB
建立
Web
Server
◆ 190.htm 使用Visual Basic开发通讯软件 ◆ 191.htm 使用资源工具包执行本地和远程重新启动 ◆ 192.htm 谈谈远程控制中关于搜索、控制计算机的功能 ◆ 193.htm 压缩 Html ◆ 194.htm 用ASP、
VB
和XML建立互联网应用程序(1) ◆ 195.htm 用ASP、
VB
和XML建立互联网应用程序(2) ◆ 196.htm 用ASP、
VB
和XML建立互联网应用程序(3) ◆ 197.htm 用ASP、
VB
和XML建立互联网应用程序(4) ◆ 198.htm 用COMMUNICATION控件进行数据采集(学习笔记) ◆ 199.htm 用OLE自动化Outlook ◆ 200.htm ActiveX控件用于DHTML开发 ◆ 201.htm 用
VB
编写ActiveX DLL实现ASP编程 ◆ 202.htm 用
VB
编写Windows CGI应用程序 ◆ 203.htm 用
VB
编写标准CGI程序(上) ◆ 204.htm 用
VB
编写标准CGI程序(下) ◆ 205.htm 用
VB
编写收发电子邮件程序 ◆ 206.htm 用
VB
编写网络监控软件 ◆ 207.htm 用
VB
编写异步多线程下载程序 ◆ 208.htm 用
VB
导入导出IE器收藏夹 ◆ 209.htm 用
VB
定制合路器 ◆ 210.htm 用
VB
和XML建立集中式应用程序 ◆ 211.htm 用
VB
将Html转换为文本文件 ◆ 212.htm 用
VB
开发分布式应用 ◆ 213.htm 用
VB
设计基于代理服务器的网络计费系统 ◆ 214.htm 用
VB
制作文件下载程序 ◆ 215.htm 用Visual Basic 实现无线通讯 ◆ 216.htm 用Winsock制作一套聊天室和对话系统 ◆ 217.htm 远程共享显示及声音的实现 ◆ 218.htm 远程启动机器ABC API解决方案 ◆ 219.htm 远程启动机器ABC WMI解决方案 ◆ 220.htm 在
VB
5中利用Winsock和msDNS控件进行 ◆ 221.htm 找出计算机上当前登录入网的用户 ◆ 222.htm 用
VB
5 Winsock控件创建TCP(IP)客户机 服务器程序
VB
.NET Developer's Guide(4574).pdf
Contents xvii
Web
Forms 133 Intellisense 134 Customizing the IDE 135 Customizing the Code Editor 135 Customizing Shortcut Keys 135 Customizing the Toolbars 136 Exercise 3.4 Adding a New Toolbar to the Existing Set 136 Exercise 3.5 Adding Commands to Toolbars 137 Customizing Built-In Commands 137 Exercise 3.6 Creating an Alias 138 Customizing the Start Page 139 Accessibility Options 141 Summary 142 Solutions Fast Track 142 Frequently Asked Questions 143 Chapter 4 Common Language Runtime 145 Introduction 146 Component Architecture 148 Managed Code versus Unmanaged Code 150 Interoperability with Managed Code 152 System Namespace 153 File I/O 155 Drawing 156 Printing 157 Common Type System 158 Type Casting 160 Garbage Collection 163 Object Allocation/Deallocation 164 Close/Dispose 165 Summary 166 Solutions Fast Track 167 Frequently Asked Questions 168 Developing & Deploying… Embrace Your Parameters
VB
.NET is insistent upon enclosing parameters of function calls within parentheses regardless of whether we are returning a value or whether we are using the Call statement. It makes the code much more readable and is a new standard for
VB
programmers that is consistent with the standard that nearly all other languages adopted long ago. 153_
VB
net_TOC 8/16/01 1:12 PM Page xvii xviii Contents Chapter 5 .NET Programming Fundamentals 171 Introduction 172 Variables 173 Constants 175 Structures 176 Program Flow Control 178 If…Then…Else 178 Select Case 182 While Loops 184 For Loops 186 Arrays 187 Declaring an Array 188 Multidimensional Arrays 189 Dynamic Arrays 191 Functions 192 Object Oriented Programming 196 Inheritance 196 Polymorphism 197 Encapsulation 197 Classes 198 Adding Properties 198 Adding Methods 200 System.Object 201 Constructors 201 Overloading 202 Overriding 203 Shared Members 205 String Handling 206 Error Handling 210 Summary 213 Solutions Fast Track 214 Frequently Asked Questions 217 NOTE When porting Visual Basic applications to Visual Basic .NET, be careful of the lower bounds of arrays. If you are using a for loop to iterate through the array, and it is hard-coded to initialize the counter at 1, the first element will be skipped. Remember that all arrays start with the index of 0. 153_
VB
net_TOC 8/16/01 1:12 PM Page xviii Contents xix Chapter 6 Advanced Programming Concepts 219 Introduction 220 Using Modules 221 Utilizing Namespaces 222 Creating Namespaces 222 Understanding the Imports Keyword 226 Implementing Interfaces 229 Delegates and Events 232 Simple Delegates 235 Multicast Delegates 236 Event Programming 236 Handles Keyword 236 Language Interoperability 237 File Operations 239 Directory Listing 239 Data Files 241 Text Files 243 Appending to Files 246 Collections 246 The Drawing Namespace 248 Images 253 Printing 256 Understanding Free Threading 262 SyncLock 263 Summary 265 Solutions Fast Track 265 Frequently Asked Questions 267 Chapter 7 Creating Windows Forms 269 Introduction 270 Application Model 270 Properties 271 Manipulating Windows Forms 275 Properties of Windows Forms 275 Methods of Windows Forms 276 Creating Windows Forms 287 What Are Collections? Collectionsare groups of like objects. Collections are similar to arrays, but they don’t have to be redimensioned. You can use the Addmethod to add objects to a collection. Collections take a little more code to create than arrays do, and sometimes accessing a collection can be a bit slower than an array, but they offer significant advantages because a collection is a group of objects whereby an array is a data type. 153_
VB
net_TOC 8/16/01 1:12 PM Page xix xx Contents Displaying Modal Forms 288 Displaying Modeless Forms 289 Displaying Top-Most Forms 289 Changing the Borders of a Form 289 Resizing Forms 291 Setting Location of Forms 292 Form Events 294 Creating Multiple Document Interface Applications 297 Creating an MDI Parent Form 297 Creating MDI Child Forms 298 Exercise 7.1 Creating an MDI Child Form 298 Determining the Active MDI Child Form 299 Arranging MDI Child Forms 299 Adding Controls to Forms 300 Anchoring Controls on Forms 301 Docking Controls on Forms 303 Layering Objects on Forms 304 Positioning Controls on Forms 304 Dialog Boxes 305 Displaying Message Boxes 306 Common Dialog Boxes 306 The OpenFileDialog Control 306 The SaveFileDialog Control 309 The FontDialog Control 311 The ColorDialog Control 313 The PrintDialog Control 315 The PrintPreviewDialog Control 316 The PageSetupDialog Control 321 Creating Dialog Boxes 322 Creating and Working with Menus 323 Adding Menus to a Form 323 Exercise 7.2 Adding a Menu to a Form at Design Time 323 Creating Dialog Boxes 1.Create a form. 2.Set the BorderStyle property of the form to FixedDialog. 3.Set the ControlBox, MinimizeBox, and MaximizeBox properties of the form to False. 4.Customize the appearance of the form appropriately. 5.Customize event handlers in the Code window appropriately. 153_
VB
net_TOC 8/16/01 1:12 PM Page xx Contents xxi Dynamically Creating Menus 326 Exercise 7.3 Adding a Menu to a Form at Design Time 326 Adding Status Bars to Forms 328 Adding Toolbars to Forms 330 Data Binding 332 Simple Data Binding 332 Complex Data Binding 333 Data Sources for Data Binding 333 Using the Data Form Wizard 334 Using the Windows Forms Class Viewer 338 Using the Windows Forms ActiveX Control Importer 338 Summary 340 Solutions Fast Track 340 Frequently Asked Questions 344 Chapter 8 Windows Forms Components and Controls 347 Introduction 348 Built-In Controls 348 Label Control 351 LinkLabel Control 354 TextBox Control 357 Button Control 361 CheckBox Control 364 RadioButton Control 365 RichTextBox Control 367 TreeView Control 369 ListBox Control 371 CheckedListBox Control 374 ListView Control 376 ComboBox Control 381 DomainUpDown Control 384 NumericUpDown Control 386 PictureBox Control 388 TrackBar Control 389 Adding Items to a Combo Box at Design-Time 1.Select the ComboBox control on the form. 2.If necessary, use the Viewmenu to open the Properties window. 3.In the Properties window, click the Itemsproperty, then click the ellipsis. 4.In String Collection Editor, type the first item, then press Enter. 5.Type the next items, pressing Enterafter each item. 6.Click OK. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxi xxii Contents DateTimePicker Control 391 Panel Control 394 GroupBox Control 396 TabControl Control 397 Creating Custom Windows Components 399 Exercise 8.1:Creating a Custom Windows Component 399 Creating Custom Windows Controls 403 Exercise 8.2:Creating a Custom Windows Control 404 Summary 407 Solutions Fast Track 407 Frequently Asked Questions 408 Chapter 9 Using ADO.NET 409 Introduction 410 Overview of XML 411 XML Documents 411 XSL 411 XDR 412 XPath 412 Understanding ADO.NET Architecture 412 Differences between ADO and ADO.NET 414 XML Support 414 ADO.NET Configuration 415 Remoting in ADO.NET 415 Maintaining State 415 Using the XML Schema Definition Tool 416 Connected Layer 417 DataProviders 418 Connection Strings 418 Exercise 9.1 Creating a Connection String 419 Command Objects 421 DataReader 425 DataSet 426 XML Documents XML documents are the heart of the XML standard. An XML document has at least one element that is delimited with one start tag and one end tag. XML documents are similar to HTML, except that the tags are made up by the author. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxii Contents xxiii Disconnected Layer 427 Using DataSet 428 Relational Schema 428 Collection of Tables 430 Data States 431 Populating with the DataSet Command 432 Populating with XML 433 Populating Programmatically 434 Using the SQL
Server
Data Provider 435 TDS 436 Exercise 9.2 Using TypedDataSet 437 Remoting 439 Data Controls 440 DataGrid 440 Exercise 9.3 Using TypedDataSet and DataRelation 441 DataList 446 Repeater 450 Summary 454 Solutions Fast Track 454 Frequently Asked Questions 457 Chapter 10 Developing
Web
Applications 459 Introduction 460
Web
Forms 461 A Simple
Web
Form 462 Exercise 10.1 Creating a Simple
Web
Form 462 How
Web
Forms Differ from Windows Forms 464 Why
Web
Forms Are Better Than Classic ASP 465 Adding Controls to
Web
Forms 467 Exercise 10.2 Adding
Web
Controls to a
Web
Form 468 Code Behind 473 NOTE
Web
form controls not only detect browsers such as Internet Explorer and Netscape, but they also detect devices such as Palm Pilots and cell phones and generate appropriate HTML accordingly. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxiii xxiv Contents How
Web
Form Controls Differ from Windows Form Controls 476 ASP.NET
Server
Controls 476 Intrinsic Controls 476 Bound Controls 478 Exercise 10.3 Using the DataGrid Control 478 Exercise 10.4 Customizing DataGrid Control 482 Custom Controls 487 Validation Controls 488 Exercise 10.5 Using the Validation Controls 489 Creating Custom
Web
Form Controls 492 Exercise 10.6 A Simple Custom Control 493 Exercise 10.7 Creating a Composite Custom Control 497
Web
Services 504 How
Web
Services Work 505 Developing
Web
Services 505 Exercise 10.8 Developing
Web
Services 507
Web
Service Utilities 509 Service Description Language 509 Discovery 510 Proxy Class 510 Consuming
Web
Services from
Web
Forms 511 Exercise 10.9 Consuming
Web
Services from
Web
Forms 511 Using Windows Forms in Distributed Applications 513 Exercise 10.10 Consuming
Web
Services from Windows Forms 514 Exercise 10.11 Developing a Sample Application 516 Summary 519 Solutions Fast Track 519 Frequently Asked Questions 521 153_
VB
net_TOC 8/16/01 1:13 PM Page xxiv Contents xxv Chapter 11 Optimizing, Debugging, and Testing 523 Introduction 524 Debugging Concepts 524 Debug Menu 528 Watches 529 Breakpoints 531 Exceptions Window 532 Command Window 534 Conditional Compilation 536 Trace 538 Assertions 540 Code Optimization 541 Finalization 542 Transitions 542 Parameter Passing Methods 542 Strings 543 Garbage Collection 544 Compiler Options 544 Optimization Options 544 Output File Options 544 .NET Assembly Options 545 Preprocessor Options 546 Miscellaneous Options 546 Testing Phases and Strategies 546 Unit Testing 547 Integration Testing 547 Beta Testing 547 Regression Testing 548 Stress Testing 548 Monitoring Performance 548 Summary 550 Solutions Fast Track 551 Frequently Asked Questions 552 What Are Watches? Watchesprovide us with a mechanism where we can interact with the actual data that is stored in our programs at runtime. They allow us to see the values of variables and the values of properties on objects. In addition to being able to view these values, you can also assign new values. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxv xxvi Contents Chapter 12 Security 553 Introduction 554 Security Concepts 555 Permissions 555 Principal 556 Authentication 557 Authorization 557 Security Policy 558 Type Safety 558 Code Access Security 558 .NET Code Access Security Model 559 Stack Walking 559 Code Identity 561 Code Groups 562 Declarative and Imperative Security 564 Requesting Permissions 565 Demanding Permissions 570 Overriding Security Checks 572 Custom Permissions 576 Role-Based Security 578 Principals 578 WindowsPrincipal 579 GenericPrincipal 580 Manipulating Identity 581 Role-Based Security Checks 583 Security Policies 585 Creating a New Permission Set 588 Modifying the Code Group Structure 593 Remoting Security 600 Cryptography 600 Security Tools 603 Summary 606 Solutions Fast Track 607 Frequently Asked Questions 611 Within the .NET Framework, Three Namespaces Involve Cryptography 1.System.Security .CryptographyThe most important one; resembles the CryptoAPI functionalities. 2.System.Security .Cryptography.X509 certificatesRelates only to the X509 v3 certificate used with Authenticode. 3.System.Security .Cryptography.XmlFor exclusive use within the .NET Framework security system. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxvi Contents xxvii Chapter 13 Application Deployment 615 Introduction 616 Packaging Code 617 Configuring the .NET Framework 622 Creating Configuration Files 622 Machine/Administrator Configuration Files 623 Application Configuration Files 625 Security Configuration Files 626 Deploying the Application 629 Common Language Runtime 629 Windows Installer 630 CAB Files 631 Internet Explorer 5.5 632 Resource Files 633 Deploying Controls 637 Summary 639 Solutions Fast Track 640 Frequently Asked Questions 642 Chapter 14 Upgrading Visual Basic Applications to .NET 647 Introduction 648 Considerations Before Upgrading 648 Early Binding of Variables 649 Avoiding Null Propagation 650 Using ADO 651 Using Date Data Type 652 Using Constants 652 Considering Architecture Before Migration 653 Intranet/Internet Applications 653 Internet Information
Server
(IIS) Applications 654
DHTML
Applications 655 ActiveX Documents 655 Client/
Server
and Multi-Tier Applications 655 Single-Tier Applications 656 Data Access Applications 656 WARNING You should under no circumstance edit the Security.config and Enterprise.config files directly. It is very easy to compromise the integrity of these files. Always use the Code Access Security Policy utility (caspol.exe) or the .NET Configuration tool; these will guard the integrity of the files and will also make a backup copy of the last saved version. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxvii xxviii Contents Data Types 657 Variants 657 Integers 658 Dates 658 Boolean 659 Arrays 659 Fixed-Length Strings 660 Windows API Data Types 661 Converting
VB
Forms to Windows Forms 662 Control Anchoring 664 Keyword Changes 665 Goto 666 GoSub 666 Option Base 666 AND/OR 666 Lset 666 VarPtr 667 StrPtr 667 Def 667 Programming Differences 668 Method Implementation 668 Optional Parameters 668 Static Modifier 669 Return Statement 669 Procedure Calls 670 External Procedure Declaration 671 Passing Parameters 672 ParamArray 672 Overloading 674 References to Unmanaged Libraries 677 Metadata 679 Runtime Callable Wrapper 681 COM Callable Wrapper 682 Properties 684 Working with Property Procedures 684 Control Property Name Changes 685 Default Property 687 Avoiding Null Propagation Nullpropagation means that if Null is used in an expression, the resulting expression is always Null. In previous versions of Visual Basic, the Null value disseminated throughout the expression. 153_
VB
net_TOC 8/16/01 1:13 PM Page xxviii Contents xxix Null Usage 690 Understanding Error Handling 690 Exercise 14.1:Using Error Handling 692 Data Access Changes in Visual Basic .NET 693 Dataset and Recordset 694 Application Interoperability 694 Cursor Location 695 Disconnected Access 695 Data Navigation 695 Lock Implementation 696 Upgrading Interfaces 696 Upgrading Interfaces from Visual Basic 6.0 699 Using the Upgrade Tool 703 Exercise 14.2 Using the Upgrade Wizard 703 Summary 708 Solutions Fast Track 709 Frequently Asked Questions 712 Index 713 Contents xiii From the Series Editor xxxi Chapter 1 New Features in Visual Basic .NET 1 Introduction 2 Examining the New IDE 3 Cosmetic Improvements 3 Development Accelerators 5 .NET Framework 6 A Very Brief and Simplified History 6 .NET Architecture 7 ASP.NET 7 Framework Classes 8 .NET
Server
s 8 Common Language Runtime 8 History 8 Convergence 9 Object-Oriented Language 10 Object-Oriented Concepts 10 Advantages of Object-Oriented Design 11 History of Object Orientation and
VB
13 Namespaces 13
Web
Applications 13
Web
Applications Overview 13
Web
Forms 14
Web
Services 15 HyperText Transport Protocol 16 Simple Object Access Protocol 17 .NET Architecture .NET Framework ASP.NET Updated ASP Engine
Web
Forms Engine Framework Classes System.Math, System.Io, System.Data, Etc. Common Language Runtime Memory Management Common Type System Garbage Collection .NET .NET
Server
s 153_
VB
net_TOC 8/16/01 1:12 PM Page xiii xiv Contents Security 17 Type Safety 18 Casting 18 Data Conversion 19 Bitwise Operations 20 New Compiler 20 Compiling an Executable 20 Architecture 21 File Management in Previous Versions of
VB
21 File Management 22 Changes from Visual Basic 6.0 23 Variants 23 Variable Lower Bounds 23 Fixed Length Strings 23 NULL Propagation 23 Other Items Removed 24 Function Values 24 Short Circuits 25 Properties and Variables 25 Variable Lengths 25 Get and Set 26 Date Type 26 Default Properties 27 Summary 28 Solutions Fast Track 28 Frequently Asked Questions 31 Chapter 2 The Microsoft .NET Framework 33 Introduction 34 What Is the .NET Framework? 34 Introduction to the Common Language Runtime 35 Using .NET-Compliant Programming Languages 37 Creating Assemblies 39 Using the Manifest 42 Compiling Assemblies 45 Assembly Cache 45 Locating an Assembly 45 153_
VB
net_TOC 8/16/01 1:12 PM Page xiv Contents xv Private Assembly Files 51 Shared Assembly Files 51 Understanding Metadata 51 The Benefits of Metadata 52 Identifying an Assembly with Metadata 53 Types 53 Defining Members 54 Using Contracts 54 Assembly Dependencies 55 Unmanaged Assembly Code 55 Reflection 56 Attributes 57 Ending DLL Hell 58 Side-by-Side Deployment 58 Versioning Support 59 Using System Services 60 Exception Handling 60 StackTrace 61 InnerException 61 Message 61 HelpLink 62 Garbage Collection 62 Console I/O 62 Microsoft Intermediate Language 63 The Just-In-Time Compiler 63 Using the Namespace System to Organize Classes 64 The Common Type System 65 Type Safety 68 Relying on Automatic Resource Management 68 The Managed Heap 69 Garbage Collection and the Managed Heap 71 Assigning Generations 77 Utilizing Weak References 77 Security Services 79 Framework Security 80 Granting Permissions 81 NOTE Visualization is still key! Die-hard
VB
programmers may find themselves having a hard time visualizing all the new concepts in
VB
.NET (and we all know that proper logic visualization plays a big role in what we do). Something that may help is to think about
VB
.NET as a completely flexible language that can accommodate
Web
, console, and desktop use. 153_
VB
net_TOC 8/16/01 1:12 PM Page xv xvi Contents Gaining Representation through a Principal 82 Security Policy 83 Summary 85 Solutions Fast Track 85 Frequently Asked Questions 88 Chapter 3 Installing and Configuring
VB
.NET 91 Introduction 92 Editions 92 Installing Visual Studio .NET 93 Exercise 3.1:Installing Visual Studio .NET 94 Installing on Windows 2000 99 The New IDE 100 Integrated Development Environment Automation Model 100 Add-Ins 104 Exercise 3.2 Creating an Add-In Using the Add-In Wizard 105 Wizards 109 Macros 109 Home Page 110 Project Options 112 Toolbox 116 Child Windows 120 Window Types 122 Arranging Windows 123 Task List 123 Exercise 3.3 Setting Up a Custom Token 124 TaskList Views 124 Locating Code 126 Annotating Code 126 Solution Explorer 127 Properties Window 129 Form Layout Toolbar 130 Hide/Show Code Elements 132 Installing Visual Studio .NET IPhase 1: Installing Windows components IPhase 2: Installing Visual Studio .NET IPhase 3: Checking for service releases 153_
VB
net_TOC 8/16/01 1:12 PM Page xvi
[计算机毕设]基于asp的教师档案管理系统设计与实现(源代码+项目报告).zip
ASP是1996年由Microsoft推出的
运行
于服务器端的
WEB
应用程序开发技术.只能
运行
于WINDOWNT(WINDOWS)/IIS平台 ASP具有以下特点: (1)可以混用ASP用HTML,
DHTML
,ActiveX,
VB
Script,JavaScript,并且可以相互嵌套。 (2)ASP是纯文本格式,不需编译就可以直接在服务器上
运行
. (3)安全性好。ASP是一种在
WEB
服务器端
运行
的脚本语言,源代码不会传到客户的浏览器上,可保护源程序不外漏。 (4)面向对象。ASP正是通过其自身包含的对象来实现服务器与客户端交互的 (5)可扩充服务器端功能。利用ASP提供的一组ActiveX服务器组件(ActiveX
Server
Components)可继续扩充ASP的功能。如用ASP内置ADO组件可以轻松的存取各种数据库。此外,还可以用
VB
,Java等语言开发自己的组件以进一步扩充其功能 (6)与浏览器无关。ASP可以将
运行
结果一HTML的格式传送到客户端浏览器,因而可以使用于各种浏览器. ASP的工作原理 在对ASP的
运行
过程可以参照下图 以下是对ASP动态网页处理过
VB
编程资源大全(控件 网络)
1,abkemail.ZIP
简单的email控件(18KB )
2,abkpop.ZIP
一个简单的POP3控件(5KB)
3,winpopup.ZIP
允许您的
VB
程序通过网络发送和接收 Winpopup 信息(20KB)
4,autodial.ZIP
自动拨号的控件(30KB)
5,ddialw.EXE
DameWare公司出品的电话拨号控件(170KB)
6,dipw.EXE
DameWare 公司出品 IP 地址控件(169KB)
7,dm10e.ZIP
发送 E.Mail 的控件(117KB)
8,dsdns_eval.EXE
IP地址控件(703KB)
9,easyftp.ZIP
FTP 登录控件,就象 Cute FTP(195KB)
10,firewall.EXE
防火墙控件(534KB)
11,ftpx.EXE
FTP客户端控件和 COM 对象(629KB)
12,ftpserv.EXE
FTP服务器端控件和COM对象(523KB)
13,httpx.EXE
HTTP客户端控件和COM对象(644KB)
14,mail.EXE
邮件控件(797KB)
15,news.EXE
新闻组控件(664KB)
16,ntuserx.EXE
NT用户管理对象(426KB)
17,pingx.EXE
PIN 控件和COM对象(423KB)
18,rasx.EXE
RAS拨号控件(466KB)
19,socketx.EXE
WinSock 控件(589KB)
20,whoisx.EXE
Internet WhoIs(域名查找)控件和 COM 对象(436KB)
21,rasdialw.EXE
rasdialw(162KB)
22,i006_dl
web
.zip
利用Winsock控件下载网页(2KB)
23,i005_hlink.zip
将这个控件加到你的窗体上,并设置好URL,当点击该控件时,你就可以打开一个网站或启动默认的电子邮件程序或是其它指定的程序。此外,你还可以改变颜色、字体、边框以及鼠标悬停状态等。
24,i004_ftp.zip
如果你想DIY一个CUTEFTP之类的程序,用这个控件可大大简化你的工作量。(46KB)
25,kchatocx.zip
chat控件(16KB)
26,kpopocx.zip
一个简单的pop控件(14KB)
27,krnicnntpocx.zip
一个在新闻组读取和发送消息的控件(23KB)
28,ocsetup10.exe
检测用户
是否
在线的控件(266KB)
29,dnslookup.zip
查找网络计算机的主机名或ip地址(17KB)
30,goto
web
.zip
使用默认的浏览器浏览指定
web
页面(12KB)
31,mailnotification.zip
在pop3邮件服务器检测邮件的控件(17KB)
32,easyras.zip
一个拨号上网的ras控件(155KB)
33,onoffline.zip
在线检测和断开internet(14KB)
34,ping.zip
ping一个主机(24KB)
35,popmail.zip
从pop邮件服务器上获得邮件的控件(20KB)
36,smtp.zip
通过smtp服务器发送邮件的控件(19KB)
37,trace.zip
跟踪主机的route(23)
38,dynamichtml.zip
在visual basic中使用动态超文本(
dhtml
)(12KB)
39,rasdialx.zip
网络拨号控制,还能得到许多相关信息(93KB)
40,abkemail.zip
一个简单的email控件(18KB)
41,internet.zip
对http,ftp,email,mime,news等进行编程的一套internet控件(413KB)
42,ipocxes.zip
两个OLE控件(Client和
Server
),可以用来在Internet上进行TCP/IP通讯(23KB)
43,dlinkacx.zip
在这个程序中进行数据的通信,轻松帮助你完成“客户/服务器”设计(227KB)
44,htmlpopu.zip
在你的程序中弹出一个超文本窗口(343KB)
45,bpmail.zip
邮件发送控件,完全免费的 OCX (14KB)
46,dns.zip
转换IP地址为主机名的控件(12KB)
47,hlink.zip
将这个控件加到你的窗体上,并设置好URL,当点击该控件时,你就可以打开一个网站或启动默认的电子邮件程序或是其它指定的程序。(有例程) (19KB)
48,mobilefbus.zip
MobileFBUS 1.5控件(112KB)
49,tapidial.zip
TAPI(电话应用程序接口)控件(41KB)
50,ccrpipa.zip
CCRP IP Address Control控件(77KB)
基于ASP的教师档案管理系统(源代码+说明报告)
ASP具有以下特点: (1)可以混用ASP用HTML,
DHTML
,ActiveX,
VB
Script,JavaScript,并且可以相互嵌套。 (2)ASP是纯文本格式,不需编译就可以直接在服务器上
运行
. (3)安全性好。ASP是一种在
WEB
服务器端
运行
的脚本语言,源代码不会传到客户的浏览器上,可保护源程序不外漏。 (4)面向对象。ASP正是通过其自身包含的对象来实现服务器与客户端交互的 (5)可扩充服务器端功能。利用ASP提供的一组ActiveX服务器组件(ActiveX
Server
Components)可继续扩充ASP的功能。如用ASP内置ADO组件可以轻松的存取各种数据库。此外,还可以用
VB
,Java等语言开发自己的组件以进一步扩充其功能 (6)与浏览器无关。ASP可以将
运行
结果一HTML的格式传送到客户端浏览器,因而可以使用于各种浏览器.
VB基础类
7,763
社区成员
197,605
社区内容
发帖
与我相关
我的任务
VB基础类
VB 基础类
复制链接
扫一扫
分享
社区描述
VB 基础类
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章