This skin was created by The Future and Robb of the IF Skin Zone

Create a free forum in seconds.
InvisionFree - Free Forum Hosting
Welcome to iCode. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Name:   Password:


 

 Random Password Generator
baller_tk
Posted: Nov 12 2005, 05:29 PM


Administrator
Group Icon

Group: Admin
Posts: 227
Member No.: 1
Joined: 25-October 05



Here it goes,
Create a TextBox(text1)
Then create a CommandButton(command1)
Then insert this code:
CODE

'Created by Baller_tk
'www.iCode.co.nr

Private Sub Command1_Click()
   Text1 = GenerateCode() 'make sure ur textbox is called Text1
End Sub

Public Function GenerateCode()
   strInputString = "1234567890abcdefghijklmnopqrstuvwxyz" 'these are the characters which will be in the password
   
   intLength = Len(strInputString)
   
   intNameLength = 7 'edit this according to how long u want ur password to be
   
   Randomize ' jus to make it random :D
   
   strName = ""
   
   For intStep = 1 To intNameLength
       intRnd = Int((intLength * Rnd) + 1)
   
       strName = strName & Mid(strInputString, intRnd, 1)
   Next
   
   GenerateCode = strName
End Function


Thanks for reading hope you enjoyed,
make sure you saved your password somewhere... tongue.gif


--------------------
user posted image
Top
Axiom
Posted: Nov 13 2005, 02:55 AM


Member of Icode


Group: Members
Posts: 20
Member No.: 26
Joined: 11-November 05



Hmmm nice and simple the way I like it, but no commenting your code nea.gif

Naughty nuaghty cool aid victory.gif


--------------------
user posted image
Top
baller_tk
Posted: Nov 13 2005, 12:30 PM


Administrator
Group Icon

Group: Admin
Posts: 227
Member No.: 1
Joined: 25-October 05



wink.gif im not sure what to say ninja.gif


--------------------
user posted image
Top
Chilicheese83
Posted: Apr 7 2006, 03:11 AM


n00b Icode'er


Group: Members
Posts: 5
Member No.: 71
Joined: 7-April 06



Hi sorry for bringing up an old post...So im an idiot and i need some help...i got lost after the "place code here" part like..where do i put it?
thanks
Top
Dark Rank
Posted: Apr 7 2006, 01:01 PM


I have to eat cake too?!?
Group Icon

Group: Admin
Posts: 100
Member No.: 27
Joined: 11-November 05



There are several ways to get to VB's code view. You can right-click anywhere in the form and click View Code. You can go to the Tree Menu, where you can select between all your forms and modules and stuff, and right click the form and click View Code. You can also go to View-> Code I believe. So when you are in code view, you just insert the code you want there.
Top
Chilicheese83
Posted: Apr 7 2006, 08:40 PM


n00b Icode'er


Group: Members
Posts: 5
Member No.: 71
Joined: 7-April 06



Well i figured out what iw as doing wrong..i wasnt using VB6 i was using VB express 2005 or soemthign b/c i cant find VB 6...so does anyone wanna help me find it wink.gif
Top
Dark Rank
Posted: Apr 10 2006, 12:38 PM


I have to eat cake too?!?
Group Icon

Group: Admin
Posts: 100
Member No.: 27
Joined: 11-November 05



I believe that you have to buy VB 6. I got a copy, but I can't give it to ya.
Top
baller_tk
Posted: Apr 12 2006, 10:21 AM


Administrator
Group Icon

Group: Admin
Posts: 227
Member No.: 1
Joined: 25-October 05



Hey, well to tell the truth i use to use VB illegally unsure.gif , but i dont anymore, so guys anyone who needs it i suggest you buy smile.gif

Mukhtar


--------------------
user posted image
Top
InvisionFree - Free Forum Hosting
Create your own social network with a free forum.

Topic Options



Hosted for free by InvisionFree* (Terms of Use: Updated 2/10/2010) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.0831 seconds | Archive
Affiliates

Hits we had today, 2006!