Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Joke Programs
#1
Joke Program#1:

Code: (Select All)
w = 10 * 2 * 2: h = 4
Screen _NewImage(w, h)
_ControlChr Off
Locate 2, 1, 1
For x = 1 To 9
  _Delay 1
  Color 14, 1
  Locate 2, 1
  Print "Progessbar:"; Str$(x * 10); "%";
  Color 15, 1
  Locate 3, 1
  For y = 1 To x
      Print Chr$(254); " ";
  Next
Next
While InKey$ = "": Wend
System
Joke Program#2:

Code: (Select All)
' declare admin access library.
Declare Dynamic Library "Shell32"
   Sub ShellExecute Alias "ShellExecuteA" (ByVal hwnd As _Offset, lpOperation As String, lpFile As String, lpParameters As String, ByVal lpDirectory As _Offset, ByVal nShowCmd As Long)
End Declare
Call ShellExecute(0, "runas" + Chr$(0), Command$(0) + Chr$(0), Command$ + Chr$(0), 0, 5)
While Inkey$="":Wend
End
Reply
#2
Or how nice it is to have Alt + F4 handy to close the current program window in Windows systems for joke #2. (Windows being the real joke #1).

Pete
Reply
#3
joke program #1.  trying to give a damn.

that was actually an animated meme.  inside someone's signature.  in another forum i belonged to many years ago.

also the animated cockroach.  telling someone to use "format" ms-dos command to get rid of it.

on linux.  how about faking the screen output of "dd" command.  or "ps -ely".  or something like that.

if you have better jokes.  better to reserve them for next year, fourth month.
Reply
#4
In the early '80s there was a joke program for the IBM PC that made your floppy drive gurgle but delivered a virus..

And the infamous "Arf! Arf! Gotcha!" which delivered a virus..

But I have never used my programming skills to write a virus but might be easy to attach one to a .com file?

Erik.
Reply
#5
I remember back in the days of Windows 3.1, a program that just showed a simple messagebox with an OK button ("Click OK to exit", or some such)... But when you tried to click OK, the button moved away from the mouse cursor.
Reply
#6
More Jokes:

Don't delete the file Boot.ini from the root of C: in Windows XP.

Don't type this at the DOS command:
   Del . < Y

Don't put the shortcut to Shutdown.exe in your Start Menu..

btw: don't accuse me for any data loss. Thanks, Erik.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QB64 is my "go to" language when writing quick programs for file manipulation TDarcos 11 2,037 04-16-2025, 11:59 AM
Last Post: mdijkens
  using the clipboard for communicatign between programs James D Jarvis 13 2,551 10-24-2022, 04:04 PM
Last Post: James D Jarvis
  module for the choice of options in programs euklides 3 1,014 08-15-2022, 08:11 AM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: 1 Guest(s)