wcbao 发表于 2006-4-3 18:29:00

[求助]使用vb.net2003引用ActiveX 开发时,为何选择集总是不能产生,详情进入?

<FONT face=宋体 size=2>Dim gpCode(0) As Integer<BR>Dim dataValue(0) As Object<BR>gpCode(0) = 39<BR>dataValue(0) =2200000<BR><BR>Dim groupCode As Object, dataCode As Object<BR>groupCode = gpCode<BR>dataCode = dataValue<BR>Dim ssetobj As AcadSelectionSet<BR>ssetobj = AcadDoc.SelectionSets.Add("test")<BR>ssetobj.Select(AcSelect.acSelectionSetAll, , , groupCode, dataCode)<BR><BR>以上代码总在select 处提示filter无效,可是在vba中是可以的,请高手指教,如何修改vb.net中的代码。</FONT>
页: [1]
查看完整版本: [求助]使用vb.net2003引用ActiveX 开发时,为何选择集总是不能产生,详情进入?