Hi James, <i><font color="#663300"><i><font color="#663300"></font></i> Re: preference form. I never display it. An event object updates the registry and continues with the startup. I always have edited the dbpaths table in a browse. </font></i> This is fine but requires your users to have VFP loaded on their system in order to browse the DBPaths dbf. If you are distributing your systems to remote sites as .exe files you may not have VFP loaded. Also, what if you have 30 users on your system? you cannot guarantee the drive mappings on the network will be the same for each user so each user must have their own DBPaths table and a means to change it - hence a preference form like the SaviUserPreference form that works against DBPaths. <i><font color="#663300"><i><font color="#663300"></font></i> Have you ever seen AppStrt.app work? </font></i> We are not using Appstart but another similar program that downloads from a network location the most recent exe if it differs from what is on the user's station. We will take a look at AppStart and probably start using it instead.
<i><font color="#663300"><i><font color="#663300"></font></i> Re: security and menus. You should find very little to change if you use the aSecCtl library for your application form controls. </font></i> I am not using aSecCtl, isecctl and csecctl because I am using the Savi security forms which inherit from csavictl and into ccontrls. As of this date we have not implemented field level security - we use security mostly to remove menus and bars from the menu system based on the groups a person belongs to. If we do decide to start using field level securities (which I assume is what you meant by using aSecCtl) then we will use aSecCtl.
I made some security related changes to Setup.prg that you may like to see. Would you like me to email them to you and if so where to? You may also be interested in the changes that were made as to removing user defined sets of menu bars from the menus based on a user's group's menu bar access definition.
Scott Cunningham Oginali Productions ©2001 Scott Cunningham |