Click here to Skip to main content
15,890,438 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalneed help using a table control Pin
ggsevenseven15-Aug-05 4:08
ggsevenseven15-Aug-05 4:08 
GeneralRe: need help using a table control Pin
Christian Graus15-Aug-05 13:25
protectorChristian Graus15-Aug-05 13:25 
GeneralRe: need help using a table control Pin
ggsevenseven16-Aug-05 8:17
ggsevenseven16-Aug-05 8:17 
GeneralRe: need help using a table control Pin
Christian Graus16-Aug-05 13:30
protectorChristian Graus16-Aug-05 13:30 
GeneralPassword Generator Pin
PixelPixie15-Aug-05 4:05
PixelPixie15-Aug-05 4:05 
GeneralRe: Password Generator Pin
Rizwan Bashir15-Aug-05 4:09
Rizwan Bashir15-Aug-05 4:09 
GeneralRe: Password Generator Pin
PixelPixie15-Aug-05 5:51
PixelPixie15-Aug-05 5:51 
GeneralRe: Password Generator Pin
Daniel132415-Aug-05 7:11
Daniel132415-Aug-05 7:11 
This will generate a password of random characters with a length of 10 characters. You could modify this to include the date as part of the generation process.

<br />
Private Sub btnGeneratePassword_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGeneratePassword.Click<br />
        Dim RandomNo As New Random<br />
        Dim x As Integer<br />
        Dim y As Integer<br />
        Dim Chars As String<br />
        Chars = "1234567890abcdefghijklmnopqrstuvwxyz"<br />
        Chars += "ABCDEFGHIJKLMNOPQRSTUVWXYZ~!@#$%^&*()[]{};:<>?/.,"<br />
        Count = CInt(numLength.Text)<br />
        txtPassword.Text = ""<br />
        For y = 0 To 10 ' Number of chars in password<br />
            If chkUseSpecial.Checked Then<br />
                x = RandomNo.Next(0, Chars.Length - 1)<br />
            Else<br />
                x = RandomNo.Next(0, Chars.Length - 24)<br />
            End If<br />
            txtPassword.Text += Chars.Chars(x)<br />
        Next<br />
    End Sub<br />


PS: Codeproject could do a better job at formatting the code above!Sigh | :sigh:
GeneralRe: Password Generator Pin
PixelPixie16-Aug-05 1:43
PixelPixie16-Aug-05 1:43 
GeneralVB.Net upgrade Pin
Member 75484615-Aug-05 2:24
Member 75484615-Aug-05 2:24 
GeneralRe: VB.Net upgrade Pin
wcnascar15-Aug-05 11:13
wcnascar15-Aug-05 11:13 
GeneralInput MessageBox Pin
| Muhammad Waqas Butt |15-Aug-05 0:32
professional| Muhammad Waqas Butt |15-Aug-05 0:32 
GeneralRe: Input MessageBox Pin
Rizwan Bashir15-Aug-05 2:04
Rizwan Bashir15-Aug-05 2:04 
GeneralRe: Input MessageBox Pin
Member 75484615-Aug-05 2:33
Member 75484615-Aug-05 2:33 
QuestionCombox ? Pin
| Muhammad Waqas Butt |15-Aug-05 0:28
professional| Muhammad Waqas Butt |15-Aug-05 0:28 
AnswerRe: Combox ? Pin
dptalt16-Aug-05 3:48
dptalt16-Aug-05 3:48 
QuestionHow to store changable data in VB 6.0? Pin
rushing15-Aug-05 0:23
rushing15-Aug-05 0:23 
QuestionOpen code-files as Collapsed? Is it possible? Pin
MaWeRic14-Aug-05 23:37
MaWeRic14-Aug-05 23:37 
GeneralHelp with safely removing USB flash drives Pin
Member 167164814-Aug-05 21:37
Member 167164814-Aug-05 21:37 
GeneralNeed help Pin
Anonymous14-Aug-05 20:24
Anonymous14-Aug-05 20:24 
GeneralRe: Need help Pin
DavidWayneJohnson15-Aug-05 0:57
DavidWayneJohnson15-Aug-05 0:57 
QuestionCan we add a ComboBox inside a Toolbarbutton or Toolbar? Pin
NewBieBie14-Aug-05 16:43
NewBieBie14-Aug-05 16:43 
GeneralAm I missing a reference or a com object or a import statement Pin
rolfjahn14-Aug-05 7:46
rolfjahn14-Aug-05 7:46 
GeneralRe: Am I missing a reference or a com object or a import statement Pin
rwestgraham14-Aug-05 8:45
rwestgraham14-Aug-05 8:45 
GeneralYou da Man!! Pin
rolfjahn14-Aug-05 9:26
rolfjahn14-Aug-05 9:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.