473,395 Members | 1,823 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,395 software developers and data experts.

Implementing a login window

Hello,
I want to implement a login window that should remain in focus until
the user has entered the correct password. I am coming from the
PowerBuilder world and there this was implemented has a response or
modal window. I looked around in properties but can't seem to find
anything...Can someone tell me what is the equivelent in the c# world?

tia,
chance.

Apr 18 '07 #1
1 1773
You can try using a

Form1 frmForm1 = new Form1();
frmForm1.ShowDialog();

And in Form1 until the user introduces a correct password you do a
DialogResult = DialogResult.Ok on the form.

Hope this helps,

Michel Bechelani

"chance" <ch****@crwmail.comwrote in message
news:11*********************@e65g2000hsc.googlegro ups.com...
Hello,
I want to implement a login window that should remain in focus until
the user has entered the correct password. I am coming from the
PowerBuilder world and there this was implemented has a response or
modal window. I looked around in properties but can't seem to find
anything...Can someone tell me what is the equivelent in the c# world?

tia,
chance.
Apr 18 '07 #2

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

Similar topics

2
by: yatharth | last post by:
I am facing a problem ,the situation is like this. I have a home page named "Index.html" ,on which there is login link,when i click on the login link the login popup opens and user enter the...
1
by: chirakg21 | last post by:
I have a one single login page with two textbox of Username(txtUsername) and password (txtPassword) and two buttons with one Login(cmdLogin) and Cancel(cmdCancel). Now in the code behind I have...
1
by: Kalyani | last post by:
Hi, I have a page with a button.On click of this button a popup window opens.Now if this window is kept open until session timeout then login page opens in the same window. Now I want that the...
0
by: ginkim | last post by:
I'm trying to create a window services using C#. I would like my Window Service to run under the logged-in user instead of Local Systems. In my code I have ...
2
by: wesomon99 | last post by:
I'm designing a server-side application to accept query strings from PDF documents. The user clicks a link in the document to submit some information (i.e....
2
by: MKSingh | last post by:
If user click a link/button to access a web page I want a pop up window appears to log in. if he/she doesn't log in he/she can't access this page. if he'she already logged in he access the page...
1
by: Tarcetial | last post by:
Im trying to make a personal website with a log in/registration system. I found some help with the log in and now i just need some help with the registration. This is the coding im already using: ...
1
by: thaixyz | last post by:
Hi, I am migrating SQL 2000 database from one machine to another using the detach/attach method. I used the TSQL script sp_help_revlogin procedure provided by microsoft to copy the logins, this...
1
by: geetamadhavi | last post by:
Hi All, I have developed a php applciaiton where a new window is opening on checking the whether valid user orntot how to make that in same window after checking i have die(' not valid user ' ); i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.