ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS component
2016-05-08 10:13
393 查看
ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS components.
在程序入口处添加绑定:
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
可以在主函数中InitializeComponent();上一行添加。
RuntimeManager和ProductCode会报错,提示找不到相应dll,需添加ESRI.ArcGIS.Version.dll引用,添加时若找不到该dll,可浏览定位到下面位置:
C:\Program Files (x86)\Common Files\ArcGIS\bin
都是些最基础的问题,记录下来权当笔记。
新添加的axMapControl在加载mxd地图文件后,控件不显示数据,有一种原因是窗体没添加AxLicenseControl控件。
在程序入口处添加绑定:
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
可以在主函数中InitializeComponent();上一行添加。
RuntimeManager和ProductCode会报错,提示找不到相应dll,需添加ESRI.ArcGIS.Version.dll引用,添加时若找不到该dll,可浏览定位到下面位置:
C:\Program Files (x86)\Common Files\ArcGIS\bin
都是些最基础的问题,记录下来权当笔记。
新添加的axMapControl在加载mxd地图文件后,控件不显示数据,有一种原因是窗体没添加AxLicenseControl控件。
相关文章推荐
- 静态、动态、强和弱类型
- Linux的IO复用
- 第十周学习进度
- 60.Android通用流行框架大全
- python的 os 和 shutil 模块
- 关于多态
- 第一部分:crosstool-ng 制作交叉编译工具链 for s3c2440
- Windows批处理简介
- MyEclipse中maven项目pom文件报missing artifact错误
- Windows批处理符号简介、常用Dos命令
- css3动画-animation属性
- 二叉苹果树 树形DP
- java 十进制转二进制、八进制、十六进制代码复用
- 前端跨域技术之跨文档消息传输
- Spring加载resource时classpath*:与classpath:的区别
- 深入理解拉格朗日乘子法(Lagrange Multiplier) 和KKT条件
- 【最大流】XMU 1595 机器调度
- Android开发中WIFI和GPRS网络的切换
- per_cpu机制的详解
- 细说apache的安全设置