Problem starting a client/server project using VB6.0
Posted on 2001-06-06
I am trying to start a client/Server project in which it will involve 3 different level of access - Administrator, Executive and Staff. For the time being, I will be developing this project in only one machine. This mean, that machine will act as client, server and dababase as well (in fact, if I migrate the project to the real environment, server and database will share the same machine).
Since it involves 3 level of access, I would like the first form to be displayed to user is the one that he/she has the access right to. In this case, I understand that I will need to place an authentication process before any access to the system. Anyway, I am not sure how should I begin the design because for every level of access, I wish to have some kind like parent form that will have different menus according to the level of access. For example,
When the adminstrator is authenticated, the form shown will be frmAdmin that includes menus like mnuUser, mnuConfiguration, mnuExit.
Whilst, when the Executive is authenticated, the form shown will be frmExec that includes menus like mnuFile, mnuReports, mnuExit.
And finally, when the Staff is authenticated, the form shown will be frmStaff that includes menus like mnuFile, mnuStock, mnuExit.
frmAdmin, frmExec and frmStaff in this case should act like mdiForm in a project. But, I also understand that we can only have 1 parent form in a project. In this case, how should I deal with this?