Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bock insert from VB6 form

Status
Not open for further replies.

1623abc

Programmer
May 29, 2002
8
NO
I want to be able to from VB6 (not VBA) to accomplish to insert a block innto current open autocad drawing, based on the slide and its (in this case) 2301.dwg file. When i have pushed the slide in the form i want to instantly be in the Autocad 2002 program with the block "hanging" on the cursor, ready to insert it innto the drawing.
I have a AutoCad Slide OLE Control Module (shareWare) in my project, and have placed one slide on the form.

Private Sub Form_Load()

Slide1.FileName = "C:\2301.sld"
---------------------------

Private Sub Slide1_LButtonDblClk()

End Sub
------------------------

Is there annyone out there to help me with this ?
If anyone is able to handle me a AutoCad Slide OLE Control Modulewith the sourcecode included i would be.....
 
VB will not give you the control that you want upon insertion. You will have to insert the block (explode or not) and then move the entities (having them "hang" there).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top