毕业论文外文翻译-准备将 Visual Basic 6.0 应用程序升级到 Visual Basic.NET.doc

上传人:豆**** 文档编号:29955053 上传时间:2022-08-02 格式:DOC 页数:19 大小:99KB
返回 下载 相关 举报
毕业论文外文翻译-准备将 Visual Basic 6.0 应用程序升级到 Visual Basic.NET.doc_第1页
第1页 / 共19页
毕业论文外文翻译-准备将 Visual Basic 6.0 应用程序升级到 Visual Basic.NET.doc_第2页
第2页 / 共19页
点击查看更多>>
资源描述

《毕业论文外文翻译-准备将 Visual Basic 6.0 应用程序升级到 Visual Basic.NET.doc》由会员分享,可在线阅读,更多相关《毕业论文外文翻译-准备将 Visual Basic 6.0 应用程序升级到 Visual Basic.NET.doc(19页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、外文文献原文:Ready to upgrade Visual Basic 6.0 applications to Visual Basic.NET OutlineThis document is to use Microsoft Visual Basic developers to provide the application to upgrade to Microsoft Visual Basic.NET recommendations. Visual Basic.NET can open the Visual Basic 6.0 projects to Visual Basic.NET

2、upgrade its technology. However, in most cases, the project to upgrade to Visual Basic.NET, you need to make some changes to the project. The purpose of this document is on the design and implementation of the current Visual Basic project to provide recommendations to upgrade to Visual Basic.NET onl

3、y after a minimum of changes. Where appropriate, we will use the new language structure; However, this document is not a language reference for Visual Basic.NET. What is Visual Basic.NET? Visual Basic.NET is the next version of Visual Basic. Microsoft re-designed the product, rather than simply as V

4、isual Basic 6.0 add some new features. The new version easier than previous versions of the preparation of distributed applications, such as Web and enterprise n-tier system. Visual Basic.NET with two new forms packages (Windows Forms and Web Forms); used to access the disconnected ADO data source f

5、or the new version; the latest model of the language, remove the traditional keyword, improved type security and advanced developers need to open a low-level structure. These new features for the Visual Basic developer opened a new door: Use the Web Forms and ADO.NET, to rapidly develop scalable Web

6、 sites; through the inheritance, the language can be a real object-oriented programming support; Windows window body itself to support access and visual inheritance; now deploy your application as the executable files and components from one directory to another directory so simple. Visual Basic.NET

7、 is now available in other languages fully integrated with Microsoft Visual Studio.NET. You can not only use different programming language to develop application components, and your class can now cross-language inheritance to inherit classes written in different languages. Using the unified debugg

8、er can now debug multiple language applications, regardless of whether they are run locally or on a remote computer. Finally, no matter what language you use, Microsoft. NET Framework is the Microsoft Windows and Internet provides a rich API. Why not 100 percent compatible with Visual Basic.NET? Vis

9、ual Basic.NET can be designed to consider two options: Update to the existing code base. NET framework to run; or build from scratch to fully leverage the platforms advantages. To reach the customers most in need of features (such as inheritance and Threading), to provide the platform for full and u

10、nrestricted access, and to ensure the next generation of Visual Basic can access Web application, the right decision in the new platform the generation from scratch. For example, in Windows Forms in a number of new features can be used as new controls or more properties to add to the existing code b

11、ase. However, this will put all other important functions (such as security and visual inheritance) the cost of succession to the Windows form. Our main goals is to ensure that the Visual Basic code can be completely and use of other languages (such as Microsoft Visual C # , or Microsoft Visual C +

12、+ ) write code to work, and to Visual Basic developers easy to use. NET Framework features without using the traditional Windows API programming tools to make work. And Visual C + + and any other common language runtime to target the same language, Visual Basic now has the same variable type, array,

13、 user-defined types, classes and interfaces; but we have removed from the language of certain functions, For example, an array of fixed-length strings and non-zero. Visual Basic is now a true object-oriented language; some non-intuitive and inconsistent feature has been removed from the language, su

14、ch as GoSub / Return and DefInt. The result is a Visual Basic more dynamic, it will continue to be Windows-based application that creates the best tools, and now to create the next generation of Web site to be the best tool. Upgrade to Visual Basic.NET Visual Basic.NET from the basic principles of t

15、he traditional Windows development to build next generation Web and n-tier applications. Therefore, you need to upgrade the code to use the advantages of Visual Basic.NET. Open in Visual Basic.NET in Visual Basic 6.0 project, it will automatically appear, Upgrade Wizard to guide you through the upgr

16、ade process, and automatically create a new Visual Basic.NET project (your existing project will not change). This is a one-way process; in Visual Basic 6.0 can not open a new Visual Basic.NET project. Works after the upgrade, language change due to syntax changes, your form is converted to Visual B

17、asic 6.0 Windows Forms. In most cases, the upgrade code also need to be some changes. This is because certain objects and language features in Visual Basic.NET is not equivalent to the content, or for automatic updates, the equivalent content differences too. After the upgrade, may also need to chan

18、ge your applications to use Visual Basic.NET some of the new features. At the same time using Visual Basic 6.0 and Visual Basic.NET Visual Basic.NET support for Visual Basic 6.0 upgrade project; If you have a Visual Basic, version 1 to version 5, the preparation of the project, we recommend that you

19、 load it into VB6 (the choice to upgrade Microsoft ActiveX controls), compile and save the project, and then upgrade the project to Visual Basic.NET. Visual Basic.NET and Visual Basic 6.0 can be installed on the same computer and run. Similarly, with Visual Basic.NET and Visual Basic 6.0 application

20、s written can also be installed on the same computer and run concurrently. Components written using Visual Basic.NET with earlier versions of Visual Basic, and COM components written in other languages to work together. For example, can be written using Visual Basic 6.0 ActiveX controls to Visual Ba

21、sic.NET Windows Forms drag and drop, use Visual Basic.NET Class Library in Visual Basic 6.0 COM objects, or to Visual Basic 6.0 executable file to the Visual Basic.NET Library. Components with Visual Basic.NET compiler and compiled using Visual Basic 6.0 runtime components are slightly different. Fo

22、r the initial application, as Visual Basic.NET objects through garbage collection release, so if the object is explicitly removed from memory before they actually delete, may be a delay. Other differences, such as variant / object changes will note later in this article. A result of these difference

23、s is a common application with Visual Basic.NET Visual Basic 6.0 application running with similar characteristics, but not identical. In addition, Visual Basic.NET to Visual Basic.NET and Visual Basic 6.0 components in between these components do not binary compatible. Components are now more powerf

24、ul than before, version management and deployment system, you can simply copy files to a directory (no longer RegSvr32) to deploy the file, and upgrade to new version of the component as a new file to replace the old files as easy. You have to do is to ensure that classes and methods compatible with

25、 earlier versions. Architecture proposed. NET platform on the improvement of early architecture on the scalability of distributed applications and to provide more powerful support, although it has disconnected data access, message-based HTTP-based file transfer and deployment (no longer is a compone

26、nt registration). To take full advantage of these features in the design of your application architecture used, should be used in Visual Basic.NET similar architecture. Browser-based applications Visual Basic 6.0 and Microsoft Visual Studio 6.0 to create a browser-based Internet and Intranet applica

27、tions provide the following types of technologies: Webclass DHTML project ActiveX Document Active Server Pages (ASP) Visual Basic.NET introduces an enhanced version that is ASP ASP.NET, and with the Web form to the architecture, Web form is the case with Visual Basic HTML page. Architecture is based

28、 on the server. The following recommendations and a list of the main architecture proposed for the development of browser-based Visual Basic 6.0 applications to enable them to seamlessly migrate to Visual Basic.NET projects: Recommend that you follow Microsoft guidelines for multi-tier architecture

29、to create your application, using ASP to create interfaces using Visual Basic 6.0 or Visual C + + 6.0 COM object to create business logic. Visual Basic.NET in full support of ASP, you can use ASP, ASP.NET and Web Forms applications to continue to expand. Visual Basic 6.0 and Visual C + + 6.0 busines

30、s objects can not be modified or upgraded to for Visual Studio.NET or Visual Studio.NET. DHTML applications, including DHTML page and the client DLL. These applications are not automatically upgraded to Visual Basic.NET. We recommend that you leave these applications in the Visual Basic 6.0. Visual

31、Basic.NET does not support ActiveX documents, the same as the DHTML project does not automatically update. We recommend you to stay in the ActiveX document application in Visual Basic 6.0, or possible, to replace the ActiveX user control documents. Visual Basic 6.0 ActiveX documents and DHTML applic

32、ations with Visual Basic.NET technology work together. For example, you can navigate from a Visual Basic.NET Web Forms to Visual Basic 6.0 DHTML page, and vice versa. Visual Basic.NET is no longer a Webclass. Webclass application will be upgraded to ASP.NET, but after the upgrade you need to make so

33、me modifications. Webclass existing applications with Visual Basic.NET Web Forms and ASP applications work together, but for new projects, we recommend that you use with Visual Basic 6.0 business object ASPs Windows DNA platform. Client / server project Visual Basic 6.0 to provide for creating clien

34、t / server application of the following technologies: Visual Basic form Microsoft Transaction Server (MTS) / COM + middle tier objects * User Control Visual Basic.NET has a new form package, or Windows Forms. Windows Forms and Visual Basic 6.0 form with a different object model, but most are compati

35、ble. When you upgrade project, Visual Basic form is converted to Windows Forms. Visual Basic.NET development to improve the middle layer of MTS and COM + Component Services components support. Using the unified debugger, you can access from the client application MTS / COM + components, and then ret

36、urned to the client application. You can also use single step debugger to debug Visual Basic 6.0 MTS / COM + components (assuming the cost of these components are compiled machine code with symbolic debugging information and no optimization). Visual Basic.NET also introduced a new middle tier compon

37、ents, namely Web services. Web Services in ASP.NET, and allowed through the firewall using the HTTP transport protocol request method. They use industry-standard XML data transfer and return, allowing access to their other language and platform features. Although they do not support the MTS transact

38、ion, but when you do not need distributed transactions, but still need to work with other platforms, you can put MTS / COM + components into Web services. Although there is no automatic way, but this task is very small, can be upgraded to Visual Basic.NET project, use the drag and drop in a very sho

39、rt time. Works upgrade, upgrade to Windows controls user controls; but the custom attribute tags to set up and assign shortcut keys will not upgrade. Single application Visual Basic 6.0 supports the following types of single-generation applications: * Single-database application Visual Basic add-ins

40、 * Tools programs and games Single database application, some Visual Basic applications, which is characterized in the Microsoft Access database to store data. These applications when upgrading to Visual Basic.NET certain restrictions (see later in this document, data section). Visual Basic.NET IDE

41、is now fully integrated into the Visual Studio.NET IDE, Visual Basic.NET language center expansion with a new model. Visual Basic.NET Visual Studio.NET add-in is now the add-ins, you can in any language in Visual Studio.NET automatically processed and added functionality. For example, you can write

42、a Visual Basic.NET to re-add for the Visual C # Windows Forms coloring, or for Visual Basic Class to add comments. To provide this functionality, Visual Basic.NET extension is no longer using the old model, you need to change the expansion of the application object to use the advantages of new featu

43、res. Many applications are classified as a tool type of procedure. Used to manipulate files, registry settings tools like the application does not require any additional modifications often can be upgraded. After the upgrade, there are many new features available, such as the language of the excepti

44、on handling to catch file system errors, and use. NET Framework class registry registry manipulation. It should be noted that, dependent on the particular Visual Basic 6.0 application performance characteristics (such as arcade games) may require some modification, because Visual Basic.NET have diff

45、erent performance characteristics. Visual Basic.NET in the game for support, you can use Microsoft DirectX 7 or a new version of the GDI. GDI + introduces many new features, including all two-dimensional pixel, the image fidelity of the Alpha and graphics file formats supported by combination of ext

46、ended support. Data Visual Basic 6.0 provides the following types of data access types: ActiveX Data Objects (ADO) * Remote Data Objects (RDO) * Data Access Object (DAO) Visual Basic.NET introduces an enhanced version of ADO, called ADO.NET. ADO.NET disconnected data used, and distributed applicatio

47、ns to improve performance in ADO. ADO.NET for the Windows Forms control providing read / write data binding for Web Forms data binding to provide read-only. In DAO, RDO, and ADO minor changes (in the language section of this document described), it can still be used in Visual Basic.NET code. However

48、, Visual Basic.NET does not support DAO and RDO data binding to controls, data controls, or RDO user link. If your application contains the DAO or RDO data binding, we recommend that you leave them in Visual Basic 6.0, or in the works before the upgrade to Visual Basic.NET, DAO and RDO data binding

49、first upgrade to the ADO, ADO support for Windows Forms data binding. On how to do this work of information, can help to get Visual Basic 6.0. In summary, we recommend that you use Visual Basic 6.0 project ADO. Upgrade Upgrade code, Visual Basic.NET to create a new project has been upgraded, and you do most of the necessary language and object changes. The following section provides a few examples of code upgrades. Variant to o

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 小学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁