阅读:1705回复:7
arcgis engine 请教!
<P>我装了arcgis engine ,也装了授权文件,注册向导也告诉我可以使用arcgis engine了,但是我现在不能用TOCCONTROL,TOOLBARCONTROL, 可以用mapcontrol和paelayoutcontrol。当我向FORM窗体添加tocControl 和toolBarControl的时候,总是提示:unlicensed control, you require a designer license</P>
<P>请问,这是什么问题?该怎么解决呢?谢谢</P> |
|
1楼#
发布于:2005-08-11 08:46
<P>你装了arcgis desktop了吗?如果有,就停它的服务再用</P>
<P>另外有人说可以把engine里面的designer去掉,就可以同时使用了,但我怎么试都不行,具体该怎么操作呢</P> |
|
|
2楼#
发布于:2005-08-15 17:01
<P>试国去designer是可行的,改后重启服务</P>
|
|
|
3楼#
发布于:2005-08-17 09:01
<P>多谢各位了!!!</P>
<P>我下载又碰到了问题,真叫人头痛.</P> <P>请问:如何将颜色赋给所选的面要素啊?</P> <P>有代码没有呢?</P> |
|
4楼#
发布于:2005-08-17 10:45
以下是引用dfsh1983在2005-8-17 9:01:43的发言:<BR>
<P>多谢各位了!!!</P> <P>我下载又碰到了问题,真叫人头痛.</P> <P>请问:如何将颜色赋给所选的面要素啊?</P> <P>有代码没有呢?</P> <br>开发帮助里有个例子 Unique Values Counts and Data Driven Descriptions <P>查下应该可以满足你要求的</P> <P>Description: <BR><BR>This macro takes existing Unique Values symbology and calculates feature counts for each value, adding the count to each Class Label. Class Labels appear in the ArcMap Table of Contents and Legend. The macro also populates each Class Description based on a separate Description Field. Class Descriptions only appear in Legends. </P> |
|
|
5楼#
发布于:2005-08-17 19:52
<P>多谢楼上的弟兄 我看了后还有问题的</P>
<P>Set pDoc = ThisDocument</P> <P>他说ThisDocument未定义</P> <P>后来我把它改成</P> <P>Set pDoc = Application.Document</P> <P>又说activex组件不能创建对象</P> <P>我觉得好象是Application的问题</P> <P>以前也碰到过的</P> |
|
6楼#
发布于:2005-08-17 20:33
iapplication是arcmap里的定义,这个你可以看几个开发包里的例子,或者exploror arcobjects那本书(自带的)
|
|
|
7楼#
发布于:2005-08-17 21:09
<P>哦 但是我这里没什么资料啊</P>
<P>能不能给几个相关的例子呢</P> <P>多谢啊</P> |
|