Home › Forums › Archives › Computer Support › Computer Support Discussion › Number Generator.
- This topic has 15 replies, 7 voices, and was last updated 21 years ago by
Stanford_2007.
-
AuthorPosts
-
August 27, 2005 at 6:11 pm #19654
Stanford_2007
MemberIs there a program out there that will generate the maximum numbers for that combination for the numbers that I give it, without repeats? I need all 4 digit numbers from 0-9 that are possible.
Thanks to anyone who helps me in advance.
Please help.
August 27, 2005 at 6:51 pm #128852MartinBradley
MemberIt depends on what your intention is. I mean…bank PIN numbers are four digits long.
Providing you have good intentions, then you’ll get help, if not, then I’m afraid you’re in the wrong place.
August 27, 2005 at 7:12 pm #128860Stanford_2007
MemberIt is for my cell phone lock code. I had misplaced it and someone changed it and I need to know what it is so I can use it again. It is a lot of work, but I need to know all the numbers possible. Thanks MartinBradley.
August 27, 2005 at 7:15 pm #128853MartinBradley
MemberFair enough mate, no worries. I shall have a quick look around for such programs and get back to you if I find any. But in the meantime, try searching Google and/or Download.com for such a program.
August 27, 2005 at 7:17 pm #128861Stanford_2007
MemberThanks a lot for your help.
August 27, 2005 at 7:21 pm #128862Stanford_2007
MemberI can’t find any on download.com without having to pay for it. Maybe others might have some luck.
August 27, 2005 at 7:24 pm #128850David
ParticipantYou mean like this? http://davux.com/etc/4dig.txt (58k)
August 27, 2005 at 7:42 pm #128863Stanford_2007
MemberYes thank you..What software did you use?
August 27, 2005 at 7:44 pm #128851David
ParticipantI opened up VB and typed this and hit F5.
Code:Private Sub Form_Load()
Dim i As Long, j As Long, k As Long, h As LongOpen “c:4dig.txt” For Output As #1
For i = 0 To 9
For j = 0 To 9
For k = 0 To 9
For h = 0 To 9
Print #1, i & j & k & h
Next
Next
Next
Next
Close #1End Sub
August 27, 2005 at 10:17 pm #128855Spike
MemberStanford, this is a simple probability problem. If I rember last year’s math class right, you’re looking for a 4-digit number, with each place having 10 possibilities. So Ten to the fourth, or 10 x 10 x 10 x 10 = 10,000. Good luck guessing your combination. 😉
August 27, 2005 at 11:36 pm #128854Hasan
MemberA simple aproach to calculate no. of possibilities would be just to write down the maximum 4 digit number 9999 + 1 (0000) = 10,000
August 27, 2005 at 11:59 pm #128858DrBroccoli
ParticipantI think the best method to your phone lock problems, is just go to an office of your cell phone company and have them unlock or reset the phone. Honesty, it would take forever to enter in all the possible 4 digit codes.
August 28, 2005 at 2:10 am #128864Stanford_2007
MemberWill they let you do that? or will they charge money?
August 28, 2005 at 4:06 am #128856Spike
MemberDepends. If you have Cingular, T-Mobile, or some similar company thst uses SIM cards in their phones, they can usually wipe the SIM card and restore it back to default for free or for a very small fee. Sprint and others with no SIM cards, you’ll actually have to hand over the phone for them to fix it, so it may cost a bit more.
August 28, 2005 at 2:04 pm #128859DrBroccoli
ParticipantI have Verizon, and so does my friend. My family has messed up phones numurours times and so has my friend. Everytime we just bring them in to the store, and they take the phone for about 5 minutes and then give back and magically its fixed. I think they hook it up to a computer in the back and do something there.
-
AuthorPosts
- You must be logged in to reply to this topic.