tailieunhanh - Professional Visual Basic 2010 and .neT 4 phần 10

Bởi vì Visual Basic Express Edition không hỗ trợ add-ins, ứng dụng này sẽ không được cập nhật khi bạn cài đặt phần mềm. Để xác nhận cài đặt của bạn, có ba mặt hàng đơn giản, bạn có thể kiểm tra. Đầu tiên, một khi cài đặt hoàn tất, các chủ đề trợ giúp liên quan với các hình thức Interop Toolkit 2,1 sẽ mở ra. | 1154 I APPENDIX B VISUAL BASIC POWER PACKS TOOLS Because Visual Basic Express Edition does not support add - ins this application will not be updated when you install the software. To validate your installation there are three easy items you can check. First once the installation is complete the help topic associated with the Interop Forms Toolkit should open. Second when you access the Tools menu the first item in the menu should be the option to Generate Interop Form Wrapper Classes. This menu item should be located above the standard option to Attach Process. Third and probably most important when you access the File menu and select the New Project dialog you should see two new project types within the Visual Basic section as shown in Figure B-2. FIGURE B-2 The first custom project type is the VB6 Interop User Control project type. This type of project enables you to create user controls that can then be used to populate the body of an MDI window. This project type was introduced with version of the Interop Forms Toolkit and is the solution the Visual Basic team developed to support interoperation within an MDI environment. The second project type is the VB6 InteropForm Library project. As the original project type it was designed to enable you to create a DLL that defines a .NET form. After you have validated that your installation is working the next step is to create a simple Interop Form. Creating a Simple Interop Form Select the project type shown in Figure B-2 and rename the solution ProVB_AppB_InteropForm. Click OK to generate your source project files. The resulting project opens and you can open and edit your new Windows Form. However note that what you are creating while it supports the Form Designer isn t a standalone executable. If you open your project properties you ll find that your project will build as a DLL not a standalone executable. Another thing to note is that as part of the generation of your project a file named is

TỪ KHÓA LIÊN QUAN