TheSwamp

Code Red => VB(A) => Topic started by: ML on November 29, 2004, 09:36:02 AM

Title: Sharing THe ACAD.dvb File
Post by: ML on November 29, 2004, 09:36:02 AM
Has anyone ever shared the acad.dvb file on a shared directory?
I wonder if this file can even be shared or does it need to be copied to each users computer?

Thank you


Mark
Title: Sharing THe ACAD.dvb File
Post by: Crank on November 29, 2004, 01:15:11 PM
We have everything in shared folders including the acad.dvb. (shared and read-only with only rights for the cad-admin)

The only local files are a personal script and the profiles, and even those files are stored on a personal network-drive so that they are also available when you're not working on your own desk.
Title: Sharing THe ACAD.dvb File
Post by: ML on November 30, 2004, 10:24:51 AM
BUT, does the acad.dvb file load into each persons profile and successfully work?

I would like to have just 1 acad.dvb file and share it

Mark
Title: Sharing THe ACAD.dvb File
Post by: Crank on December 01, 2004, 02:26:01 AM
We depend on the acad.dvb, because it contains some commands to communicate with our 'document workflow program'.
So I can aswer your question with a 'yes'.
Title: Sharing THe ACAD.dvb File
Post by: Anonymous on December 02, 2004, 07:00:32 AM
So, all users share "one" acad.dvb file?
If so, do you ever get errors on some machines and not others?
Title: Sharing THe ACAD.dvb File
Post by: Crank on December 02, 2004, 01:41:29 PM
The file is shared by 23 users. I have to admit that incidental vb crashes when you open a new drawing. This doesn't happen very often though.

But our acad.dvb is very small so it loads fast. I allways thought the reason for those crashes was VBA, but maybe it's just a simple sharing violation. :o
Title: Sharing THe ACAD.dvb File
Post by: ML on December 03, 2004, 04:56:47 PM
It could be

May be it is registry settings from machine to machine?

It just doesn't seem like one of those files that I want to share but at the same time, I don't want to have to edit 8 machines either.

Also, did you make sure that you got rid of the acad.dvb file on each users machine in their support directory? It could be that the 2 files are conflicting. ou know, trying to load 2 acad.dvb files instead of one

I'm interested to hear your reply.

Mark
Title: Sharing THe ACAD.dvb File
Post by: TR on December 05, 2004, 04:29:06 AM
ML:
We have 15 people accessing our acad.dvb from a file server at the same time without a problem. The only problem you will run into is you can't edit the file while users have AutoCAD open.

Another option would be to use a startup script that copies the file from your server to the users computer every time windows starts. As long as acad.dvb is a relatively small file this shouldn't be a problem network traffic wise. Also this approach would solve the problem of the limited number of people allowed to access the file in older versions of AutoCAD (I think the number was around 16).

Crank:

Your crash problem may be from the vba environment not being initialized when you're trying to run code. See this (http://theswamp.org/phpBB2/viewtopic.php?p=40172#40172) on how to solve that problem.
Title: Sharing THe ACAD.dvb File
Post by: ML on December 06, 2004, 09:16:48 AM
Thanks Tim

That is good info.

Mark
Title: Sharing THe ACAD.dvb File
Post by: David Hall on December 29, 2004, 08:24:29 AM
Quote from: Tim Riley
ML:
 The only problem you will run into is you can't edit the file while users have AutoCAD open.

I keep a copy local that I edit when I need to make changes. I then copy that file to the server as needed.  The best part of that is I can copy it up to the server even if I have users in Autocad.
Title: Sharing THe ACAD.dvb File
Post by: TR on December 29, 2004, 08:52:17 AM
That's the same thing I do. However I can't overwrite the file on the server if a user is currently using the dvb.
Title: Sharing THe ACAD.dvb File
Post by: David Hall on December 29, 2004, 10:06:37 AM
What if you use a batch file to copy the file to the server?  I have 8 users all accessing the file at once.  When I copy the file up, it goes no problem.