


全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
NX Open Visual Basic (VB) wizardCreating a Visual Basic project using the NX Open VB wizardThe following topic describes how to develop an NX Open Visual Basic application using Microsoft Visual Studio. It is recommended that all NX Open Visual Basic program development on Windows be done from a Visual Basic projectStarting Visual StudioYou can start Visual Studio by typing devenv.exe from an NX command prompt window. Studio will pick up the required NX environment variables necessary to compile and link a project.Creating a Visual Basic projectUse the Visual Basic wizard whenever you need to create a new NX Open automation program in Visual Studio with the Visual Basic language. The wizard automatically adds the required references to NX Open libraries in the new project.Using the NX Open VB wizardTo use the NX Open VB wizard:Step1. Select the FileNewProject menu item to activate the New dialog box.Step2. Under Project Types, expand Other languages and select Visual Basic.Step3. Select NX#_VB from the list of Templates (where # is the NX version).Step4. Enter a project name into the Project name: dynamic input box. By default this becomes the name portion of the program being built. For instance, a project named MyNXOpenApp produces either a MyNXOpenApp.dll or MyNXOpenApp.exe. You can override this later, if necessary.Step5. Click OK and follow the on-screen instructions to create your Visual Basic project.NX Open C# wizardCreating a C# project using the NX Open C# wizardThe following topic describes how to develop an NX Open C# application using Microsoft Visual Studio. It is recommended that all NX Open C# program development on Windows be done from a Visual C# projectStarting Visual StudioYou can start Visual Studio by typing devenv.exefrom the NX Command Prompt window. Visual Studio uses the required NX environment variables to compile and link a project.Creating a Visual C# projectUse the C# wizard whenever you need to create a new NX Open automation program in Visual Studio with the C# language. The wizard automatically adds the required references to NX Open libraries in the new project.Using the NX Open C# wizardTo use the NX Open C# wizard:Step1. Choose FileNewProject menu item to activate the New dialog box.Step2. Under Project Types, expand Other languages and select Visual C#.Step3. From the Templates list. Select NX#_VCS (where # is the NX version).Step4. In Project Name, enter a project name.By default this becomes the name portion of the program being built. For example, a project named MyNXOpenApp produces either a MyNXOpenApp.dll or MyNXOpenApp.exe. You can override this later, if necessary.Step5. Click OK and follow the on-screen instructions to create your C# project.Visual Studio Application Wizard SetupMicrosoft Visual Studio can be used to compile, link and debug programs on the Windows platform. There are currently three NX Wizards that have been integrated into Visual Studio and available for use with the Common API. They are: NX Open Wizard for use with C and C+ programs (found under the VC directory) NX Open VB Wizard for Visual Basic programs (found under the VB directory) NX Open C# Wizard for C# programs (found under the VC# directory)If Visual Studio has been installed on a workstation and then NX is installed locally (on the same workstation), the available NX Wizards will be installed automatically. Otherwise the following steps need to be taken to set up each of the NX Wizards on the local workstation. Make sure the appropriate version Microsoft Visual Studio has been installed Copy all files from the NX kit to the corresponding directories of the local Visual Studio installation. The kit is located in: %UGII_BASE_DIR%ugopenvs_filesTo determine the correct location of the Visual Studio installation, look at the productdir registry key for each language. The key for C and C+ is HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudioversion#SetupVC/productdir (where version# would be 7.1, 8.0, etc). For other languages replace the VC with either VB or VC#. For each wizard, copy any files and/or folders under each subdirectory from the kit to the Visual Studio installation. This example is for the C language so substitute VB or VC# and the appropriate subdirectory for the other languages. C
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 秦皇岛市中医院失眠针灸推拿治疗考核
- 2025中心医院胎儿超声心动图考核
- 2025安徽阜阳市颍州区选调区内乡镇在编在岗教师60人模拟试卷及参考答案详解一套
- 保定市人民医院医院感染控制考核
- 2025贵州省妇幼保健院第十三届贵州人才博览会引才模拟试卷有完整答案详解
- 2025年徐州邳州市面向毕业生公开招聘编制教师208人考前自测高频考点模拟试题附答案详解(典型题)
- 上海市中医院内瘘狭窄处理考核
- 沧州市中医院老年心力衰竭急性加重处理考核
- 沧州市中医院医学美容咨询师资格认证
- 2025第二人民医院特殊部位烧伤处理考核
- 23秋国家开放大学《液压与气压传动》形考任务1-2参考答案
- 煤矿架空乘人装置安装检验报告
- (完整word版)高中英语3500词汇表
- 寻常型天疱疮
- 法人车辆租给公司合同范本
- 汉画像石课件
- 初中毕业证怎么从网上查询
- GB/T 32926-2016信息安全技术政府部门信息技术服务外包信息安全管理规范
- GB/T 26006-2010船用铝合金挤压管、棒、型材
- 建筑工程防火墙脚手架搭设施工方案
- 比较思想政治教育学全套课件
评论
0/150
提交评论