50楼#
发布于:2003-09-25 17:00
具体的调试过程如下:
1.将下载后的文件解压。 2.由于该程序是在MO2.0下实现的,所以如果你用的是MO2.0那么就能直接正常运行,但如果是MO2.1或者MO2.2那就不行。好在你可以在解压后的文件夹中发现两个控件文件:Scalebar.ocx 和 MO2Legend.OCX。这就为解决问题提供了可能。 3.打开工程文件,不管它有多少错误提示。然后通过部件直接浏览到你文件夹中的Scalebar.ocx 和 MO2Legend.OCX控件,并导入。 4.然后嘛,哈哈,就可以运行了。 绝对可以运行。大家试试!! |
|
51楼#
发布于:2003-09-24 08:46
以下是引用wangjunjolly在2003-9-22 14:06:41的发言: 希望你把调试的过程给出来,那样大家也免去了好多麻烦,兄弟 |
|
|
52楼#
发布于:2003-09-23 08:57
把程序做好点,放上来共享啊,也让兄弟们免去一些烦恼
|
|
|
53楼#
发布于:2003-09-22 14:06
谢谢斑竹。看了你的指导我终于把问题解决了!!谢谢!!!
|
|
54楼#
发布于:2003-09-18 10:25
噢,就是admin提供的vb代码,不过仔细看起来,还是问题多多。
|
|
55楼#
发布于:2003-09-17 10:30
以下是引用wangjunjolly在2003-9-17 9:50:19的发言: 在esri上有人提出过问题,回答如下,偷懒之举,呵呵 That sample is expecting the MO2Legend.ocx and ScaleBar.ocx controls. If you have MO 2.1 or 2.2, then the legend and scale bar controls you have on your machine are probably the MO21Legend.ocx and MO21ScaleBar.ocx. So to fix this, open the composition.vbp project in VB6 and do the following: a. Delete the legend and scale bar controls off the form. b. Open your Project Components to remove the references to those old controls by unchecking them. c. Check 'on' the two new controls listed above. If they're not in your list, then use the Browse button to navigate to them. They're probably in the C:\Program Files\Common Files\ESRI folder. Then check them 'on'. d. Add the new legend and new scale bar to the frmView form. Name them "legMapView" and "sbMapView", respectively so that you don't need to change their names in the code. Should work fine now. |
|
|
56楼#
发布于:2003-09-17 09:50
前面那位兄弟提供的打印程序代码运行不了。总提示说“类型不匹配”,不知是怎么回事,哪位大虾可否告诉我。谢谢了!!
|
|
57楼#
发布于:2003-09-14 16:20
很好
|
|
58楼#
发布于:2003-09-13 10:35
是呀。拿出来看看!!
|
|
59楼#
发布于:2003-09-10 09:19
呵呵,拿出来亮?
|
|
|