Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 32 Joined:
Additional Groups: Coding Team
  
pmwww | |
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | 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
  
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.
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]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | 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. 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
  
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. | |
rroll.to— Shorten a link, rickroll your friends. |
|
Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | 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
| |
|
|
Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | 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.
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
  
pmwww | Re: Password Generator (12th Mar 08 at 12:15am UTC) | | Gahh, I hates VB right now.
Give me a bit, I'll try to fix it.
EDIT: To those who know VB, why would this need .NET?
 Code: - Option Explicit On
-
- Public Class frmPass
-
- Function Random(ByVal Lowerbound As Long, ByVal Upperbound As Long)
- Randomize()
- Random = Int((Upperbound - Lowerbound + 1) * Rnd() + Lowerbound)
- End Function
-
- Function Generate()
-
- Dim num As Integer = 1
-
- Dim thisType(4) As Integer
- thisType(num) = Random(97, 122)
-
- If chkCase.Checked = True Then
- num += 1
- thisType(num) = Random(65, 90)
- End If
-
- If chkNum.Checked = True Then
- num += 1
- thisType(num) = Random(48, 57)
- End If
-
- If chkSymbols.Checked = True Then
- num += 1
- thisType(num) = Random(33, 47)
- End If
-
- Generate = thisType(Random(1, num))
-
- End Function
-
- Private Sub cmdGenerate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGenerate.Click
-
- txtPass.Text = ""
-
- If IsNumeric(cmbLength.Text) Then
-
- If cmbLength.Text >= 1 And cmbLength.Text <= 30 Then
-
- For x = 1 To Int(cmbLength.Text)
- txtPass.Text += Chr(Generate())
- Next
-
- Else
-
- MsgBox("Password Length Must Be Within 1-30!", MsgBoxStyle.Exclamation + MsgBoxStyle.OkOnly, "Error!")
-
- End If
-
- Else
-
- MsgBox("Password Length Must Be Numeric!", MsgBoxStyle.Exclamation + MsgBoxStyle.OkOnly, "Error!")
-
- End If
-
- End Sub
-
- Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
- End
- End Sub
- End Class
I do have .NET disabled in the prerequisite area of the Publish section. | |
rroll.to— Shorten a link, rickroll your friends. |
|
Mithras Junior Member
 
Posts: 67 Status: Offline Gender: Male Location: Pittsburgh, PA Age: 33 Joined:
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. | |
|