Oct 15th, 2002, 09:23 AM
#1
Lame Programming
Let's join our varyingly limited intellects and make the absolute lamest VB program ever!!!
We'll distribute it as a shareware, and charge heavy fees to any people stupid enough to want the full version, which will simply be a new splash screen with "full version" written on it.
Oct 15th, 2002, 09:33 AM
#2
Hyperactive Member
count me in.. where do we start?
Oct 15th, 2002, 09:43 AM
#3
Fanatic Member
I'll start you off...
VB Code:
Public Sub Main()
' Put some code in here...
End Sub
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.
Oct 15th, 2002, 09:48 AM
#4
Hyperactive Member
VB Code:
Public Sub Main()
Do
Loop
End Sub
Oct 15th, 2002, 10:38 AM
#5
Fanatic Member
but we want the user to be able to do *something* with it...
VB Code:
Public Sub Main()
Dim i As Integer
Do While i <= 10
MsgBox "Loading... (" & i & "secs remaining)"
i = i + 1
Loop
End Sub
Last edited by tr0n; Oct 15th, 2002 at 10:41 AM .
Oct 15th, 2002, 10:45 AM
#6
VB Code:
Public Sub Main()
Dim i As Integer
Do While i <= 10
MsgBox "Loading... (" & i & "secs remaining)"
i = i + 1
Loop
MsgBox "Loaded! Congratulations!"
Msgbox "Press OK to continue, or Cancel to go on."
End Sub
Oct 15th, 2002, 10:53 AM
#7
Fanatic Member
VB Code:
Public Sub Main()
Dim i As Integer
Do While i <= 10
MsgBox "Loading... (" & i & "secs remaining)"
i = i + 1
Loop
MsgBox "Loaded! Congratulations!"
Msgbox "Press OK to continue, or Cancel to go on."
If vbOK = 1 Then
Form1.Show
Else
End
End If
End Sub
Oct 15th, 2002, 11:00 AM
#8
Hyperactive Member
Attached Files
Oct 15th, 2002, 11:06 AM
#9
Fanatic Member
That is the most irritating thing I ever saw. Dammit.
So do NOT click here
No matter how fool-proof your program is, there will always be a better fool.
Was a post helpful to you? Rate it!
Oct 15th, 2002, 11:48 AM
#10
How about this:
VB Code:
Dim NumberHits(2) As Long
Private Sub cmdBut_Click(Index As Integer)
Dim I As Long
Dim R_Num As Long
Randomize
R_Num = Int(Rnd * 200) Mod 2
Select Case Index
Case 2
For I = 0 To 2
NumberHits(I) = 0
Next I
lblHit(0) = "Number Right: 0"
lblHit(1) = "Number Wrong: 0"
lblHit(2) = "Psychic Rating: 0 out of 100"
Case Else
NumberHits(2) = NumberHits(2) + 1
If R_Num = Index Then
NumberHits(0) = NumberHits(0) + 1 'Right
Else
NumberHits(1) = NumberHits(1) + 1 'Right
End If
lblHit(0) = "Number Right: " & NumberHits(0)
lblHit(1) = "Number Wrong: " & NumberHits(1)
lblHit(2) = "Psychic Rating: " & Int(100 * (NumberHits(0) / NumberHits(2))) & " out of 100"
End Select
End Sub
Private Sub Form_Load()
Call cmdBut_Click(2)
End Sub
Throw in a Msg(100) string array with various comments,
And it should be easily marketable.
At lets say a Buck a pop, who wouldn't love it!
Attached Files
Oct 15th, 2002, 02:50 PM
#11
Addicted Member
Originally posted by mendhak
VB Code:
Public Sub Main()
Dim i As Integer
Do While i <= 10
MsgBox "Loading... (" & i & "secs remaining)"
i = i + 1
Loop
MsgBox "Loaded! Congratulations!"
Msgbox "Press OK to continue, or Cancel to go on."
End Sub
LOL that was f***en hilarious dude, and im not even stoned lmao.
Oct 16th, 2002, 03:50 AM
#12
Fanatic Member
i thought this was going to be a collaboration from all of us (like the thread where everyone adds a bit to a story), rather than just posting your own thing.
Oct 16th, 2002, 03:52 AM
#13
Addicted Member
well start another but lay down a few rules in the first post first...
Oct 16th, 2002, 03:53 AM
#14
Fanatic Member
can't be arsed
Oct 16th, 2002, 04:37 AM
#15
Banned
Allright, I'll start a new one:
Oct 16th, 2002, 05:06 AM
#16
Addicted Member
okies
VB Code:
Option Explicit
Dim x as Integer
Oct 16th, 2002, 05:45 AM
#17
Banned
VB Code:
Option Explicit
Dim x as Integer
On Error Resume Next
Oct 16th, 2002, 06:15 AM
#18
Lively Member
Your message box is faulty. It should read :
VB Code:
MsgBox "Continue ? Press 'yes' for no and 'no' for yes, 'cancel' for both.", vbOkOnly, "The Twilight zone"
A post brought to you by the Grim Reaper Appreciation Society™
"Buy your lifetime subscription now and save on your coffin"
Oct 16th, 2002, 06:57 AM
#19
Fanatic Member
VB Code:
Option Explicit
Public Sub Main()
Dim x as Integer
On Error Resume Next
End Sub
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.
Oct 16th, 2002, 07:00 AM
#20
Fanatic Member
VB Code:
Option Explicit
Public Sub Main()
Dim x as Integer
On Error Resume Next
x = x / 0
End Sub
Oct 16th, 2002, 08:07 AM
#21
Banned
VB Code:
Option Explicit
Public Sub Main()
Dim x as Integer
On Error Resume Next
x = x / 0
if x > 0 then Msgbox "There is something wrong with your calculation!"
End Sub
Oct 16th, 2002, 08:26 AM
#22
Fanatic Member
VB Code:
Option Explicit
Public Sub Main()
Dim x As Integer
Dim y As Long
On Error Resume Next
x = x / 0
If Err Then
y = 40000
End If
if x > 0 then Msgbox "There is something wrong with your calculation!"
End Sub
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.
Oct 16th, 2002, 09:11 AM
#23
Fanatic Member
VB Code:
'Module 1
Option Explicit
Public Sub Main()
Dim x As Long
Dim y As Long
On Error Resume Next
x = x / 0
If Err Then
y = 40000
End If
If x > 0 then Msgbox "There is something wrong with your calculation!"
y = y
If y = y = True Then x = y
If x = y And y = x Then
x = x
'impress the user with amazing graphical abilities
Form1.Show
Unload Form1
Form1.Show
Unload Form1
Form1.Show
Unload Form1
Form1.Show
Unload Form1
Form1.Show
End If
End Sub
'Form1
Option Explicit
Private Sub Form_Load()
End Sub
Last edited by tr0n; Oct 16th, 2002 at 09:17 AM .
Oct 16th, 2002, 09:13 AM
#24
I say you should inform the user early on about terminating the app:
VB Code:
MsgBox "Welcome! To terminate the application at anytime, press the X button ( not the one on your calculator). You can also shot down windows to terminate the program."
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB )
Apply texture to bitmaps: (C# - VB )
Extended console library: (VB )
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Oct 16th, 2002, 09:21 AM
#25
Banned
VB Code:
'Module 1
Option Explicit
Public Sub Main()
Dim x As Long
Dim y As Long
On Error Resume Next
x = x / 0
If Err Then
y = 40000
End If
If x > 0 then Msgbox "There is something wrong with your calculation!"
y = y
If y = y = True Then x = y
If x = y And y = x Then
x = x
'impress the user with amazing graphical abilities
Form1.Show
Unload Form1
Form1.Show
Unload Form1
Form1.Show
Unload Form1
Form1.Show
Unload Form1
Form1.Show
End If
End Sub
'Form1
Option Explicit
Private Sub Form_Load()
While Msgbox ("Click the cancel button to start the application",Vbokonly or vbInformation, "<Title goes here>") <> VbCancel
Wend
End Sub
Oct 16th, 2002, 12:55 PM
#26
Banned
When do we start distributing the full version for high fees?
Oct 16th, 2002, 05:14 PM
#27
Fanatic Member
whoa whoa, im the lamest programmer
Private Sub Form_Load()
Unload Me
End Sub
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width