prabinv 0 Newbie Poster

Hi Dee,
I'm assuming that you're talking about Windows Forms (or WinForms) application here. How it works in Winforms is, there is an application entry point which has the static Main() method. Then there are Forms (which is the GUI) of typ System.Windows.Forms.Form, which contains the controls. In the Main method, you would do a Form.Show() on the UI which you want to show. Suppose you want to show another form on click of a button on this form, in the button click event, you would do Form.Hide() on the current form and a Form.Show() on the new form.
Of course there are better ways of doing this using Model View Controller or Model View Presenter patterns (to name a few), but at a very elementary level, this is how it work.
What Development Environment are you using for this?
Hope it helped.
- Prabin

prabinv 0 Newbie Poster

Hi,
If you are concerned about the security with respect to some user having access to the machine can read the user credentials, then you can encrypt that particular configuration section of the web.config using aspnet_regiis.exe with the pe / pef commands. This would render the web.config section unreadable if opened physically, but readable from the application.

That brings up another question though. What happens if the company policy madates the change of user passwords at regular intervals? Can we read the user credentials from Active Directory without coding, i.e., can we specify whether to get the user credentials from the AD by specifying user name? Can someone answer these questions?

regards,
Prabin.