TheSwamp
Code Red => VB(A) => Topic started 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
-
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.
-
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
-
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'.
-
So, all users share "one" acad.dvb file?
If so, do you ever get errors on some machines and not others?
-
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
-
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
-
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.
-
Thanks Tim
That is good info.
Mark
-
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.
-
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.
-
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.