Thread: quickie...

  1. #1
    Novice Programmer Pyroteh's Avatar
    Join Date
    Jan 2005
    Location
    Alaska
    Posts
    82

    Question quickie...

    Is it possible to make a person have to enter in a password on a certain program on my computer? not just to get on my computer but say he was to open.... Windows Media Player... is it possible to put a password on that program through C++?
    Last edited by Pyroteh; 01-25-2005 at 01:43 PM. Reason: spelling

  2. #2
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    anything is possible.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  3. #3
    Novice Programmer Pyroteh's Avatar
    Join Date
    Jan 2005
    Location
    Alaska
    Posts
    82
    nice... in that case.... my next goal in C++ is to be able to do such a thing without the help of a text book.... or just without any help at all.... thank you

  4. #4
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    I answered your question. I let you know that anything is possible in the realm of computer science.. why do you give me negative feedback..??
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  5. #5
    Novice Programmer Pyroteh's Avatar
    Join Date
    Jan 2005
    Location
    Alaska
    Posts
    82
    a negative feed back? I didn't give you a negative feed back... I said thank you.... and I'll say it again... Thank you for pointing that out.... I was just stateing my next goal in C++.... is it negative for me to state my next goal? the next point in my studies that I want to reach? and that goal is to be able to write a program that can do such a thing while only using my knowledge in C++... sure I'll get help and all to further increase my knowledge of C++. but is it bad for me to set a goal that I hope to reach?

    this has been a long day... I just wanted a simple quick answer and I got it... I said thank you and then I'm called negative. so is it the thank you part thats negative? or is it the part where I state my goals? I really want to know.... tell me which one is negative and I'll gladly turn them around and head the opposite direction.

  6. #6
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    If you wanted to lock Media Player you could just change the name of the media player application:
    c:/mediaplayer.exe
    to
    c:/asdf.exe
    And then create your own application that makes a window that asks for a password. Save it as c:/mediaplayer.exe. If the password is correct, run c:/asdf.exe, and close your app.

  7. #7
    Registered User Azuth's Avatar
    Join Date
    Feb 2002
    Posts
    236
    Or better yet, write program that checks if WMP is running. If it is and the user hasn't entered a password into your program have WMP shutdown, pop up a message telling the user that the house will self destruct in 5 seconds, email everyone in the users address book a copy of any file or folder that containts the word 'personal', format the hard drive and write random code to the BIOS.

    Now that's security.
    Demonographic rhinology is not the only possible outcome, but why take the chance

  8. #8
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    I think that's just a little much for someone breaking into Windows Media Player, lol.

  9. #9
    Novice Programmer Pyroteh's Avatar
    Join Date
    Jan 2005
    Location
    Alaska
    Posts
    82
    its not windows media player that I want protected its a different program.... but thanks for all the help...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quickie Linked List Deallocation question.
    By Kurisu in forum C# Programming
    Replies: 4
    Last Post: 06-09-2006, 07:23 AM
  2. Quickie: typedef
    By Trauts in forum C++ Programming
    Replies: 1
    Last Post: 05-19-2003, 06:45 PM
  3. quickie pointer question
    By 1337speaker in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2003, 05:55 PM
  4. Quickie Q :o) (yea!!)
    By JohnMayer in forum C Programming
    Replies: 2
    Last Post: 07-23-2002, 12:09 PM
  5. Just a quickie
    By ActionMan in forum C++ Programming
    Replies: 4
    Last Post: 07-22-2002, 11:04 PM