Well, of course you use a shortcut to launch the application. And of course
in that shortcut you do specify your work group file?
If you have been developing long enough to the point of getting ready to
distribute an application, then I am sure you realize that it is terrible to
try and change the default workgroup on SOME ONE ELSE'S COMPUTER? Forget
that. That would mean that every other access application would now force
the user to get a logon prompt (you customers will kill you!). No way would
I install something that changes my default security workgroup file. You
don't need to have your users join the security workgroup, you simply
provide the workgroup name in the shortcut that launches the application.
So, the solution here is simple: you set the workgroup file in the shortcut
that you provide to launch the application.
I suspect there is not much info on this since it is um-imagine that you are
at the point of getting ready to distribute an application, but don't
realize how horrible and bad it would be to switch the users default
security group? What will happen if the users already have a workgroup set
for their existing appcltions?
Since I develop many different application for many different people, then
again each of my many projects of course thus uses its own security
workgroup (usually in the same dir along with the application).
If you are providing a shortcut, you will get something like:
"C:\Program Files\Microsoft Office\Office\msaccess.exe"
"c:\program files\Rides\Rides.mdb"
/wrkgrp "c:\Program Files\Rides\Ridesec.mdw"
In each of my work directories, I also put in a quick launch shortcut so I
don't have to type in the password during development (who wants to get a
stupid logon prompt all day?). So I often uses:
"C:\Program Files\Microsoft Office\Office\msaccess.exe"
"c:\program files\Rides\Rides.mdb"
/wrkgrp "c:\Program Files\Rides\Rides.mdw"
/User "RidesAdmin" /pwd "MyPassWord"
For all other databases, I simply don't use a shortcut, and thus I just use
the default workgroup file, and again I don't get any annoying logon prompts
for un-secured databases. I mean, what do you do in this case? Do you live
with logon prompts for all your databases when all of them are not secured?
Why?