Jump to content
Tuts 4 You

deleted


Teddy Rogers

Recommended Posts

Ufo-Pu55y

Well, I don't use VB, but I really appreciate seeing sources for ALL languages :)

Hopefully there won't be any "Man, VB sux, go for ASM !" :rolleyes:

So thanks for the source !

I like animations like that - maybe u should have included the "form2.frm" !?

(Coz the about-box-trembling was funny, too !)

Also an example calculation would have been better, than "Your_key_ici"...

Keep on playing with such animations :)

Link to comment
Departure

yes VB6 is so under rated, I program in vb6 and can program most things that can be programmed in other languages, ofcause there are some limitations but those can be over come with a little knowlage and research

Link to comment
Departure

vb6 runtime comes with XP (most common OS) :o )

I personally dont see what the problem is with the runtime files

Link to comment

I think most criticisms come from programmers who seem to think programming languages should be difficult to get into (and people who like to claim VB sucks because they think they are cool by doing so). VB makes it very easy and although it produces horribly bloated code, is perfectly fine for someone who isn't producing industrial grade efficient apps.

Link to comment

Well I feel that Vb is a language that can be learned easily when compared to others(except of course c/c++) . For 'casual' programming it is ok, but I prefer VC++ then any other language.

Oricode.

Link to comment

simple random for example :rolleyes:

strProductKey = ""
random(0) = "1"
random(1) = "2"
random(2) = "3"
random(3) = "4"
random(4) = "5"
random(5) = "6"
random(6) = "7"
random(7) = "8"
random(8) = "9" strProductKey = strProductKey & "1"
strProductKey = strProductKey & "3"
strProductKey = strProductKey & "2"
strProductKey = strProductKey & "6" strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd())) strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd())) strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd())) strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
Link to comment
simple random for example :rolleyes:
strProductKey = ""
random(0) = "1"
random(1) = "2"
random(2) = "3"
random(3) = "4"
random(4) = "5"
random(5) = "6"
random(6) = "7"
random(7) = "8"
random(8) = "9" strProductKey = strProductKey & "1"
strProductKey = strProductKey & "3"
strProductKey = strProductKey & "2"
strProductKey = strProductKey & "6" strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd())) strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd())) strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd())) strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & "-" strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))
strProductKey = strProductKey & random(Int(9 * Rnd()))

thats only bloated because it isnt coded well :P

strProductKey = "1326"

Randomize (Time)

For i = 1 To 5

strProductKey = strProductKey & "-"

For j = 1 To 4

strProductKey = strProductKey & Int(Rnd * 9)

Next j

Next i

i myself like coding in VB, its quick and simple. I can also do alot with it.

Link to comment

I agree with punkdude, careful coding makes all the diffrents, your 40 + lines of coded convert into 8 lines..... Anyway I have seen some really good VB6 coders that know how to really use the VB6 structor very well thus creating flawless and unbloated code, But i guess thats with any programming language.

Link to comment
  • 2 weeks later...
Guest maxorator

VB is fine for personal tools, little freeware applications etc. But I don't think I want to see any commercial programs made in VB.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...