Autodesk Design Review
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Does not Dwg Viewer have ActiveX control.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
341 Views, 2 Replies
06-27-2004 09:52 PM
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.
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.
*John Schmier \(Autodesk\)
Re: Does not Dwg Viewer have ActiveX control.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-28-2004 03:40 PM in reply to:
toughty
The DWG viewer is not designed to be an ActiveX Control.
"toughty" wrote in message
news:3853888.1088398352284.JavaMail.jive@jiveforum 2...
> 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.
*Scott Sheppard
Re: Does not Dwg Viewer have ActiveX control.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-28-2004 04:45 PM in reply to:
toughty
Exactly. DWF Composer is the ActiveX Control. The DWG Viewer should
primarily be used to generate a DWF. Some people just can't let go of using
the native DWG. :-)
"John Schmier (Autodesk)" wrote in
message news:40e09e79$1_2@newsprd01...
> The DWG viewer is not designed to be an ActiveX Control.
>
>
> "toughty" wrote in message
> news:3853888.1088398352284.JavaMail.jive@jiveforum 2...
> > I am trying to develop an application in Visual Basic.
> > I knew the Autodesk Dwg Viewer and AutoCad2005 use the same viewing
> engine.
