Managing Users Settings in VB.Net

  • Thread starter Thread starter Kenneth Roy
  • Start date Start date
K

Kenneth Roy

I have an application using a grid control. I have set up user settings for
each column of the grid to enable the user to determine various properties
of those columns. For example whether a particular user wants this column
Visible or not. Everything works fine for this.

But I have had many companies request the ability to deliver a standard set
of user settings (meaning, they want all users to have the same columns
properties). Application Settings will not work as each company may want to
have different columns properties, so they need to be able to modify these
settings. And other companies/users want the ability to have each user
determine what column properties they want.

So what would be nice is to tell them to set up one workstation with the
column properties they want. Then enable them to copy those user settings
to different users. Can this be done?
 
Best approach that you can have here is to configure externally. Define
configuration which controls the UI presentation as well as process to be
supported ( menu list for the column).
I have done this in one of my old application and things are still working
perfect.
General idea of implementation would be

1. Create your control class that has GRid control encapsulated.
2. While loading the control from the form / container, set the value of the
Grid by reading from the configuration file.
3. Even for the menu item, define the related process DLL within the
configuration.
4. Have one single DLL that defines menu driven process.
5. In case of multiple Customer support, then load the DLL during runtime
instead of having hard reference to your actual form project.

Mayur
 
Can you parse this out for a little less technical person like myself. I'm
not sure I'm following your suggestion. To keep it simple, let's say I have
10 possible columns on a grid. I want each user to be able to control
whether a particular column is visible or not. In addition, I want the
ability to copy these column settings to other users.
 
Back
Top