473,324 Members | 1,856 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,324 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 1640
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...
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: 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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.