请教后期绑定问题
本帖最后由 作者 于 2008-12-10 23:19:50 编辑 <br /><br /> Module Module1<br/> Dim AcadApp As Object<br/> Dim AcadDoc As Object <br/> Dim gridLayer As Object<br/> Sub Main()<br/> ConnectToAcad()<br/> End Sub<br/> Sub ConnectToAcad()<br/> AcadApp = CreateObject("AutoCAD.Application")<br/> AcadApp.Visible = True<br/> AcadDoc = AcadApp.ActiveDocument<br/> gridLayer = AcadDoc.Layers.Add("网格")<br/> AcadDoc.ActiveLayer.color = 5<br/> <font color="#5c44bb">AcadDoc.ActiveLayer = gridLayer</font> <font color="#f70968">''''这一句有问题 <br/></font> End Sub<br/>End Module<br/><br/>前边的都运行成功了 就那一句出错,不知道是那儿写错了<br/>提示的出错原因是找不到成员<img height="20" alt="" src="http://byhh.net/style/emotion/sweat.gif" width="20" border="0"/><br/>请问那一位大侠知道原因 谢谢<br/> <p>没有人知道么5555</p>
页:
[1]