Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

deleted

Featured Replies

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 :)

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

I assume many people only critisize VB because of its needed runtimes and because it

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

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

So do I and this is why I can

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.

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.

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()))
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.

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.

  • 2 weeks later...

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.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.