全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 八年级生物(沪教版)上册 第13章 血液循环与物质运输 知识清单
- 剖宫产术后疤痕护理知识
- 带教老师在护理教育中的角色与职责
- Unit2SchoollifeLesson2AreportaboutSportsDay课件冀教版英语七年级下册
- 初中八年级道德与法治《以感恩之心涵养家国情怀》专题教学设计
- 2026养老护理员培训:身体清洁与协助老年人沐浴
- 初中八年级地理《土地资源合理利用》核心知识清单(人教版)
- 八年级心理健康《以言暖心为爱发声-构建非暴力沟通桥梁》教案
- 初中八年级历史跨学科主题导学案:大河流域文明基因谱系与地理环境互构探究
- 八年级物理上册第五章《透镜及其应用》大单元融通复习教学设计
- 简历诊断培训课件
- 电子商务师培训课件
- 2025年vtc香港线上笔试及答案
- 慢性疼痛综合管理实践
- 《2025年度水土流失动态监测技术指南》
- 空门店转让合同范本
- 2025年化妆品配方师技能等级认定三级理论知识试卷及答案
- 2025年全国中考真题汇编专题13:非连续性文本阅读【含答案】
- 2025年浙江省高考信息技术真题卷含答案解析
- 电网物资租赁管理办法
- 2025 年小升初杭州市初一新生分班考试语文试卷(带答案解析)-(人教版)
评论
0/150
提交评论