阅读:5926回复:17
mo+VB.NET讨论
<P><FONT size=4><IMG src="http://www.gisempire.com/bbs/Skins/default/topicface/face150.gif"><IMG src="http://www.gisempire.com/bbs/Skins/default/topicface/face150.gif"><IMG src="http://www.gisempire.com/bbs/Skins/default/topicface/face150.gif">用vb.net开发的大哥、大姐把大家的经验发上来,一块儿学习啊!</FONT></P>
|
|
1楼#
发布于:2009-06-29 19:36
支持一下,可是人太少了,没有讨论点东西出来,后续者都没得学习了
|
|
2楼#
发布于:2008-04-06 14:09
LZ 为什么我的刷新里没有你说的.CTLREFRESH
|
|
3楼#
发布于:2006-09-08 18:01
<P>legend.setMapSource=(ref Map1.getocx);legend.LoadLegend (ref ture);</P>
<P>vb太简单了,而且不是完全面向对象的,所以不需要对象具体化,但是编译起来就一塌糊涂了。</P> |
|
4楼#
发布于:2006-09-08 01:38
<P>该贴好久没人跟了,可惜啊,我再顶一下!</P>
|
|
5楼#
发布于:2006-07-29 14:33
<P>.net下用legend 将代码改成这样试试看行不,我的是可以的</P>
<P> frmMain.Axlegend.setMapSource(frmMain.AxMap1.GetOcx)<BR> frmMain.Axlegend.LoadLegend(True)</P> |
|
6楼#
发布于:2006-03-29 15:30
Private Sub Map1_MouseDownEvent(ByVal sender As System.Object, ByVal e As AxMapObjects2._DMapEvents_MouseDownEvent) Handles Map1.MouseDownEvent<BR> Dim curRectangle As MapObjects2.Rectangle<BR> Dim pt As MapObjects2.Point<BR> curRectangle = Map1.TrackRectangle<BR> Map1.Extent = curRectangle<BR> pt = Map1.ToMapPoint(X, y)<BR> Map2.CenterAt(pt.X, pt.Y)
<P> Dim r As MapObjects2.Rectangle<BR> If ToolBarButton1.Pushed Then<BR> Map1.Extent = Map1.TrackRectangle<BR> ElseIf ToolBarButton3.Pushed Then<BR> Map1.Pan()<BR> ElseIf ToolBarButton2.Pushed Then<BR> r = Map1.Extent<BR> r.ScaleRectangle(1.5)<BR> Map1.Extent = r<BR> End If<BR> End Sub</P> <P>请大侠们帮忙看看程序错在哪了?</P> |
|
7楼#
发布于:2006-03-20 15:01
<P>问下大家,怎么我在.net下用legend怎么和VB不太一样呢?</P>
<P>改怎么用啊,比如最简单的如何用legend显示图层啊?</P> <P>vb中是legend.setMapSource=Map1;legend.LoadLegend ture;</P> <P>在vb.net和C#.net里面我也相应的写,却老是出错啊!</P> <P>不能这样用啊!</P> <P>这样是会出错啊!</P> |
|
|
8楼#
发布于:2004-12-05 20:01
<P>用vb.net+mo开发,遇到好多类似问题!</P><P>支持!!</P>
|
|
9楼#
发布于:2004-11-19 21:05
.Net和MO之间有点问题,到2.3都没有完全解决,建议直接用ArcEngine,MO慢慢不受重视,可以被淘汰了.
|
|
上一页
下一页