asking for code
-
can i ask a favor about our project proposal in the internet connection.We need to make a code in c# editor or in c programming that will ask a user to input his/her name and a password, then when the user already consumed 1 hour, her/his connection in the internet will be blocked. So, please help me in this project....... thank you!!! i wait for you're reply.....please send me a code at shazzney@message.com -- modified at 3:05 Wednesday 25th January, 2006
-
can i ask a favor about our project proposal in the internet connection.We need to make a code in c# editor or in c programming that will ask a user to input his/her name and a password, then when the user already consumed 1 hour, her/his connection in the internet will be blocked. So, please help me in this project....... thank you!!! i wait for you're reply.....please send me a code at shazzney@message.com -- modified at 3:05 Wednesday 25th January, 2006
There can be two ways for this 1: Client Server, if u want someone to administor the system u can create a server application that will be on the admins machine and the client on other machines which the users will use. 2: A simple application can also do this, just start a thread when the user logs in and break the thread when the time reaches 1 hr and then u can block keyboard and the mouse so that the user cannot access anything or u can lock the computer with the admin rights so the user cannot access anything. Hope this idea works for u Regards, Pramod
-
There can be two ways for this 1: Client Server, if u want someone to administor the system u can create a server application that will be on the admins machine and the client on other machines which the users will use. 2: A simple application can also do this, just start a thread when the user logs in and break the thread when the time reaches 1 hr and then u can block keyboard and the mouse so that the user cannot access anything or u can lock the computer with the admin rights so the user cannot access anything. Hope this idea works for u Regards, Pramod
-
thanks for sharing your idea but all i need is the code in c# editor/C/C++ language coz i dont know it............... hope you will reply
So you dont' want to write the program? You only want someone else to do the job for you, for free? Then you lack some understanding of how the world works. This is a forum for programmers. If you have problems with programming there are a lot of people here that are happy to help you. If you want someone else to do a job for you, put up a proper proposal for it, including a specification and what you are willing to pay for it. --- b { font-weight: normal; }
-
So you dont' want to write the program? You only want someone else to do the job for you, for free? Then you lack some understanding of how the world works. This is a forum for programmers. If you have problems with programming there are a lot of people here that are happy to help you. If you want someone else to do a job for you, put up a proper proposal for it, including a specification and what you are willing to pay for it. --- b { font-weight: normal; }
a basic version would be: string Password; string Username; ///WHEN THE USER PRESSES OK/// { if (tbUsername.Text == Username && tbPassword.Text == Password) { this.Close() //close the password entry form form1.Enabled = true; //assuming the main form is form1 } else label1.Text = "Username / Password Combination does not match"; } you cannot really copy and paste this, but thats just lazy anyway It should give you an idea of the structure you need to use for your program Regards James