shamsam1 Posted December 26, 2008 Posted December 26, 2008 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 Quote
Recommended Posts
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.