Thank you for the answers,
kaefer, thank you for improving my vocuabulary
![grin :-D](http://www.theswamp.org/Smileys/black/grin.gif)
!
YES! 'late binding' is exactly what I need.
I've tried it using this code to get the object (I suppose it's a very 'newbie' code...
![embarassed :oops:](http://www.theswamp.org/Smileys/black/embarrassed.gif)
, but mine...) and it works.
Dim AcadOb As Object
Dim AcadID As String
Dim i As Integer
For i = 16 To 19 Step 1
AcadID = "AutoCAD.Application." + CStr(i)
Try
If AcadOb.hwnd Then
Exit For
End If
Catch ex As Exception
End Try
Next
But it happens that Autocad starts again although it's already working.
How could I know if Autocad is working and then get it as an object? (I've searching and I've found something about 'marshaling', which i suppose it's the way, but I don't understand very well the concept)
Or... Anybody has an example about?
Thank you in advance again.