Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. asking for code

asking for code

Scheduled Pinned Locked Moved C#
csharpcomhelp
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shazzney
    wrote on last edited by
    #1

    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

    A 1 Reply Last reply
    0
    • S shazzney

      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

      A Offline
      A Offline
      AB7771
      wrote on last edited by
      #2

      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

      S 1 Reply Last reply
      0
      • A AB7771

        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

        S Offline
        S Offline
        shazzney
        wrote on last edited by
        #3

        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

        G 1 Reply Last reply
        0
        • S shazzney

          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

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          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; }

          J 1 Reply Last reply
          0
          • G Guffa

            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; }

            J Offline
            J Offline
            James Gupta
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups