473,287 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Managing Users Settings in VB.Net

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?

Aug 25 '08 #1
2 1638
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

"Kenneth Roy" <kr**@progressive-edge.comwrote in message
news:33**********************************@microsof t.com...
>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?

Aug 25 '08 #2
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.

"Mayur H Chauhan" wrote:
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

"Kenneth Roy" <kr**@progressive-edge.comwrote in message
news:33**********************************@microsof t.com...
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?


Aug 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Saradhi | last post by:
I am hosing website using ASP on windows2003 standard server in IIS 6.0 sessions are getting expired immediately. Could any one help me in managing sessions in iis 6.0 and ASP?
10
by: Gerald | last post by:
I'm new to DB2, I have over 10 years of experience on Oracle. I actually have to books on order that might help. Till then I have been searching and reading through IBM's DB2 Information Center,...
2
by: sqlster | last post by:
We have 3 different environments: dev, qa, and production. After unit testing, the application is deployed to dev for unit testing among the programmers and business analyst. When that is okay it...
0
by: Jordan Richard | last post by:
I'm designing a new .NET 2.0 Windows Forms application to support users who, amongst other things, need to print letters and envelopes. They currently do such printing by manually managing a...
4
by: Chrisser | last post by:
Hi I have an Intranet webpage starting with a mainpage from which the user can open a new window using a link that is calling a function: function openWindows(){ var left, top; width =...
1
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. ...
0
by: screenbert | last post by:
Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes,...
4
by: ddolgoff | last post by:
Hello to everyone, I have a problem of managing a session with cookies and "session_set_save_handler()". I want to use php's built-in session management mechanism with user-level session storage...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.