tiziano69
Guest
I have the following problem, from a vb6 form to autocad "activedocument.sendcommand "_line" & vbcr", I draw my lines but at a certain point, while I'm tracking the lines, vb6 returns me a message saying that the application, autocad is engaged, of course, in autocad I'm still traccindo the lines.
I can vary this waiting time, or suspend vb6 activities until autocad has completed its activities
private sub image1_click()
memorize_position
Unload me
set objacad = getobject(, "autocad.application")
appactivate objacad.caption
[Bleep] [Bleep] [Bleep] [Bleep] [Bleep] [Bleep] [Bleep] [Bleep]
activedocument.sendcommand "tavoletta" & vbcr
end
I can vary this waiting time, or suspend vb6 activities until autocad has completed its activities
private sub image1_click()
memorize_position
Unload me
set objacad = getobject(, "autocad.application")
appactivate objacad.caption
[Bleep] [Bleep] [Bleep] [Bleep] [Bleep] [Bleep] [Bleep] [Bleep]
activedocument.sendcommand "tavoletta" & vbcr
end