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


Messages In This Thread
Joke Programs - by eoredson - 11-11-2025, 04:40 AM
RE: Joke Programs - by Pete - 11-11-2025, 07:50 AM
RE: Joke Programs - by hsiangch_ong - 11-11-2025, 06:53 PM
RE: Joke Programs - by eoredson - 11-12-2025, 03:26 AM
RE: Joke Programs - by mstasak - 11-12-2025, 07:55 PM
RE: Joke Programs - by eoredson - 11-13-2025, 12:37 AM

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,045 04-16-2025, 11:59 AM
Last Post: mdijkens
  using the clipboard for communicatign between programs James D Jarvis 13 2,554 10-24-2022, 04:04 PM
Last Post: James D Jarvis
  module for the choice of options in programs euklides 3 1,020 08-15-2022, 08:11 AM
Last Post: mnrvovrfc

Forum Jump:


Users browsing this thread: 1 Guest(s)