摘要:
如果你以前经常使用visual basic的话,你会发现visualbasic .net有点熟悉,又有一点陌生。在可以利用许多以前就具备的技巧和知识的同时,仍然有很多东西要学。
许多公司花费了大笔的资金投资于visual basic6.0编写的软件,这些公司将面临如何处理这些已存在的软件的问题。我在介绍visual basic .net新特点的同时,将会介绍影响把代码移植到vis......
摘要:
对于.net,人们比web应用程序投入了更大的关注。vb第一次承诺,可以额外提供对控制台程序以及windows服务的支持。因为这一点,rob macdonald回过头来问:用vb.net究竟可以做什么?换一句话说,vb.net是否适合你?
目前为止,许多软件公司(包括microsoft)都将他们的产品压缩在一个安装包里提供给开发人员。我们就一直忍受着那些令人头痛的配置和版本匹配的问......
Chapter2YourFirstVB.NET(2)
figure 2.3
the new project dialog box.
if you examine the visual basic project types, you’ll see that many of them are dif-ferent
from what you are used to with vb6. some of the major project types are
• windows application—this is a standard executable, in vb6 terminology. it is
the way to create applications with a windows interface, using forms and con-trols.
this is as close to “your father’s vb” as you’ll get in vb.net.
• class library—this project type allows you to create classes that will be used
in other applications. think of it as similar to the com components that you
have been building, which vb6 called the activex dll and activex exe pro-ject
types.
• windows control library—this project type is for creating what used to be
called activex controls. this type allows you to create new controls to be used
in windows applications.
• web application—goodbye, visual interdev. goodbye, server-side, interpreted
scripting languages for active server pages. visual basic now has web
application projects, which use asp.net to create dynamic web applications.
these projects allow you to create html, asp.n...
下一页 摘要:
对boolean类型数据使用and/or/not操作
and和or关键字在visual basic.net和visual basic 6.0中的使
用是不同的,在visual basic 6.0中,and运算既执行逻辑and操作也执行逐位and操作,取决于操作数(如果是boolean类型,执行逻辑and操作,如果是数字,执行逐位and操作)。在visual basic.net中,......