Jump to content

Recommended Posts

Posted

I am using the following code to open a dwg file and inserting several dwgs from vb6

 

The following is the vb codeI am using

Str = "C:\Program files\autocad LT 2006\aclt.exe" & " C:\1.dwg" & " /b " &"C:\script.scr"

Shell Str, vbNormalFocus

 

The script file contains code to insert several drawings

 

After inserting the drawings I will minimize the 1.dwg file screen.

When I execute the same command once again I want to active 1.dwg sreen once again. But now it is opening the file once again in read only mode

Can any one tell me vb code on how to activate already opened file and inserting new set of drawings instead of opening into a new screen in read only mode

 

Sham.S

 

Edited by: shamsam1 on Dec 24, 2008 5:10 PM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...