vbscript和vb.net有什么区别?
VBScript是一种主要用于执行小型自动化任务的脚本语言。
.NET Framework是最强大的Windows技术。在使用.NET Framework时,Visual Basic已被修改为真正的面向对象语言,该语法称为VB.NET。
VB脚本:
引用自this的回答:
VBScript是VB的子集,是一种脚本语言,可以用于运行一组命令,类似于旧式DOS批处理文件。通常,脚本语言不能用于创建完整的二进制应用程序,并且不能编译为可执行的二进制文件。
过去,VB脚本在编写浏览器插件和扩展方面得到了广泛应用。浏览器能够解释VB脚本。
Visual Basic .NET(也称为VB .NET)
另一方面,Visual Basic .NET是Visual Basic语言的进化版本,目标是针对.NET框架基础应用程序的通用语言运行时(CLR),它是虚拟执行环境(如Java中的JVM)。
When the .NET framework was introduced, Microsoft created a new language called C# to compete with Java. However, since most MS technology programmers had a background in Visual Basic, Microsoft also provided an option for VB .NET to run parallel with C# .NET. This allowed VB programmers to avoid having to learn a completely new syntax (C#) from scratch in order to write applications targeting the .NET framework.