I am trying to develop an application in Visual Basic.
I knew the Autodesk Dwg Viewer and AutoCad2005 use the same viewing engine.
Actually, Reference menu of Visual Basic Project show autocad2005 type libraries(acax 16eun.tlb).
but I can't control dwg viewer.
For Example, If I run the following source code, that It occur "Run-time error : Active component can't create object."
--------------------------------------------------------------------------
Dim Acadapp as AcadApplication
Private Sub Form_Load()
Set Acadapp = CreateObject("AutoCad.Application.16")
End Sub
--------------------------------------------------------------------------
Doesn't control ActiveX control included in Dwg viewer ?
Please Answer me.