各位大侠: 下面是小弟运行的一段程序,在一台机子上调试之标红的语句时跳出了一个错误: “运行时错误'2147418113(8000ffff)' 自动化(Automation)错误” 在别的机子上都没有这个问题。请问一下这怎么回事,怎么解决?是不是cad安装时少了什么东西? 多谢了 Public SelSet As AcadSelectionSet Public EntObj As AcadLine Dim TextObj As AcadText Dim pnt As AcadPoint Dim MidPoint(0 To 2) As Double Private Sub apply_Click() Dim XDType(0 To 2) As Integer Dim XData(0 To 2) As Variant XDType(0) = 1001 XData(0) = "waibu" XDType(1) = 1000 XData(1) = TextBox1 XDType(2) = 1040 XData(2) = TextBox2 For Each EntObj In SelSet 。。。 |