VB Saveas

VB Saveas

Anonymous
Not applicable
213 Views
2 Replies
Message 1 of 3

VB Saveas

Anonymous
Not applicable
If Thisdrawing.Saveas is used to save a network drawing to a local directory, why would the network drawing remain locked? Have tried using ThisDrawing.Close followed by ThisDrawing.Application.Documents.Open to break the link but this generates a fatal error.

What else can be done?

(Using 2000i and NT4.0 - Service Pack 5)

Thanks.
0 Likes
214 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
i have had the same problem with acad 2002
when i wanted to delete the old drawing

the solution was to set the singledrawing mode to false
delete the old drawing and set the singledrawing mode to true
(using vb command kill to delete the old drawing file)
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks for your help.

Copying the network drawing to a directory on C: is done for user reference only, so the network file still remains intact for other users to edit (which, because of this saveas, they have been blocked from doing - the net file can now only be opened as read-only). The procedure can happen when SDI=1 or 0.
0 Likes