|
阅读:2377回复:6
arcgis engine 9.2注册成功,但是把用控件时,提示没有许可
<P>信息是</P>
<P>select * from Msmir_class where id=75</P> <P>select * from Msmir_article where id=393</P> <P>the licensecontrol is not used to initialize this application with a license.<BR>please add the licensecntrol or programmatically use the aoinitalize object to initialize<BR>this application</P> <P>怎么办呢?</P> |
|
|
1楼#
发布于:2009-01-22 09:57
怎么自己的帖子还不能编辑啊..
怎么自己的帖子还不能编辑啊.. |
|
|
2楼#
发布于:2009-01-23 10:33
要添加Licensecontrol控件,还要在控件中引入授权文件,你引的授权是不是不对?
|
|
|
3楼#
发布于:2009-01-24 12:01
看看我的错误图片
<P>看看我的错误图片</P>
<P><IMG src="http://b11.photo.store.qq.com/http_imgload.cgi?/rurl4_b=7464feea3fc0807862be4865b197ed4212a764d73dd79c43dcf249507927d6337177603c3def865a7cb6449a76cba371515028a0b45b783546adfa02de8ef6b798bf9284b3eabcc278884db4755f0e488758fa15" border=0></P> <P>程序里面就写了这些.</P> <P>using System;</P> <P>using System.Windows.Forms;</P> <P>// ArcGIS Engine引用</P> <P>using ESRI.ArcGIS.SystemUI;</P> <P>using ESRI.ArcGIS.Carto;</P> <P>using ESRI.ArcGIS.Display;</P> <P>using ESRI.ArcGIS.Geometry;</P> <P>using ESRI.ArcGIS.esriSystem;</P> <P>using ESRI.ArcGIS.ToolbarControl;</P> <P>using ESRI.ArcGIS.TOCControl;</P> <P> private void Form1_Load(object sender, EventArgs e)<BR> {<BR> // 使用相对路径向PageLayoutControl加载一个图形文档</P> <P> string filename = @"c:\\H50G045019.mxd";</P> <P> if (axPageLayoutControl1.CheckMxFile(filename))<BR> {</P> <P> axPageLayoutControl1.LoadMxFile(filename, "");</P> <P> }</P> <P> }</P> |
|
|
4楼#
发布于:2009-02-06 15:41
和代码没有关系,你在你的MapControl上放一个License控件,然后设置这个License控件的ecp信息就可以了。
|
|
|
5楼#
发布于:2009-02-07 08:59
搞定了
真的行咧.谢谢. |
|
|
6楼#
发布于:2009-03-10 12:45
<P>我安装了破解的AE9.2 for c# 和Arcgis9.2.desktop </P>
<P>不用写代码时,只是条用一些简单命令如打开地图,放大,缩小。。。。</P> <P>都能在C#2005中运行,但是在自己写代码运行一点复杂的功能如MapControlGeoEvents等时,要引用到一些组件,可就是出错了,在。net组件里找不着象ESRI.ArcGIS.DataSourceFiels等的一些的组件</P> <P>错误提示说搜寻不找</P> <P>我认为是象ESRI.ArcGIS.****</P> <P>类似的组件都不能用</P> <P>所以在下面的一些编程就进行不下去了</P> <P>知道的请指教一下,非常感谢!!!</P> <P>跪谢!!!!</P> |
|