vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: Password Generator - View Topic
Topic Rating: *****
Printable View
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Password Generator (11th Mar 08 at 11:59pm UTC)
http://hosting.cr0wonline.com/programs/PassGen.exe

Just a little VB password generator I made. {Smile}

C&C appreciated. {Tongue Out}

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Password Generator (12th Mar 08 at 12:06am UTC)
It well and truly sucks...

for 2 reasons mainly:

#1 - you need .net framework for it
#2 - I don't have the above, therefore meaning I can't run it.
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Password Generator (12th Mar 08 at 12:06am UTC)
 
It well and truly sucks...

for 2 reasons mainly:

#1 - you need .net framework for it
#2 - I don't have the above, therefore meaning I can't run it.


No you don't. {Unsure}

I made sure of it; even sent it to a friend without it to test. o.O

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Password Generator (12th Mar 08 at 12:09am UTC)
 
 
It well and truly sucks...

for 2 reasons mainly:

#1 - you need .net framework for it
#2 - I don't have the above, therefore meaning I can't run it.


No you don't. {Unsure}

I made sure of it; even sent it to a friend without it to test. o.O



Says I do! *goes to ACTUALLY read the error message*
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Password Generator (12th Mar 08 at 12:09am UTC)
Let me know exactly what it says, I'll see if I can get it fixed. {Smile}

rroll.to— Shorten a link, rickroll your friends.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Password Generator (12th Mar 08 at 12:12am UTC)
Quote:
The application failed to initialize properly (0xc0000135). Click on Ok to terminate the application


{Sad}

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Password Generator (12th Mar 08 at 12:13am UTC)
 
Let me know exactly what it says, I'll see if I can get it fixed. {Smile}


sent screenshot over MSN
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Password Generator (12th Mar 08 at 12:15am UTC)
Gahh, I hates VB right now. {Sad}

Give me a bit, I'll try to fix it. {Tongue Out}

EDIT: To those who know VB, why would this need .NET?

Code:
 
  1. Option Explicit On
  2.  
  3. Public Class frmPass
  4.  
  5.     Function Random(ByVal Lowerbound As Long, ByVal Upperbound As Long)
  6.         Randomize()
  7.         Random = Int((Upperbound - Lowerbound + 1) * Rnd() + Lowerbound)
  8.     End Function
  9.  
  10.     Function Generate()
  11.  
  12.         Dim num As Integer = 1
  13.  
  14.         Dim thisType(4) As Integer
  15.         thisType(num) = Random(97, 122)
  16.  
  17.         If chkCase.Checked = True Then
  18.             num += 1
  19.             thisType(num) = Random(65, 90)
  20.         End If
  21.  
  22.         If chkNum.Checked = True Then
  23.             num += 1
  24.             thisType(num) = Random(48, 57)
  25.         End If
  26.  
  27.         If chkSymbols.Checked = True Then
  28.             num += 1
  29.             thisType(num) = Random(33, 47)
  30.         End If
  31.  
  32.         Generate = thisType(Random(1, num))
  33.  
  34.     End Function
  35.  
  36.     Private Sub cmdGenerate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGenerate.Click
  37.  
  38.         txtPass.Text = ""
  39.  
  40.         If IsNumeric(cmbLength.Text) Then
  41.  
  42.             If cmbLength.Text >= 1 And cmbLength.Text <= 30 Then
  43.  
  44.                 For x = 1 To Int(cmbLength.Text)
  45.                     txtPass.Text += Chr(Generate())
  46.                 Next
  47.  
  48.             Else
  49.  
  50.                 MsgBox("Password Length Must Be Within 1-30!", MsgBoxStyle.Exclamation + MsgBoxStyle.OkOnly, "Error!")
  51.  
  52.             End If
  53.  
  54.         Else
  55.  
  56.             MsgBox("Password Length Must Be Numeric!", MsgBoxStyle.Exclamation + MsgBoxStyle.OkOnly, "Error!")
  57.  
  58.         End If
  59.  
  60.     End Sub
  61.  
  62.     Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
  63.         End
  64.     End Sub
  65. End Class
 


I do have .NET disabled in the prerequisite area of the Publish section. {Unsure}

rroll.to— Shorten a link, rickroll your friends.
Mithras
Junior Member
**

Posts: 67
Status: Offline
Gender: Male
Location: Pittsburgh, PA
Age: 33
Joined:  
Reputation: 0%  


pm
Re: Password Generator (16th Mar 08 at 9:32pm UTC)
 
why would this need .NET?


Because Microsoft thinks it's funny.

I'm very anti-VB, as it's platform-dependent.
 Printable View

All times are GMT+0 :: The current time is 4:18pm
Page generated in 0.3398 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums