Results 1 to 25 of 25

Thread: I really need a good prank

  1. #1

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186

    I really need a good prank

    So April Fools Day is over and unfortunately for the parties involved, a few of my co-workers decided to completely switch around my desk with another co-worker. It was annoying, and we had to spend about 45 minutes to switch it back. Of course we got it done before anyone else showed up AND haven't made mention of it since. That has to annoy them. Through some great detective work and string pulling, we've discovered our culprits. I'm spiteful, but not malicious, so I'd like to enact revenge. My co-worker that had his stuff switched with mine, however, is doubly spiteful as well as malicious. So another April Fools joke just won't do it. But I don't want to be malicious, just completely bother and annoy the piss out of the perpetrators. So far, we've electronically unplugged the network card of one of them. She of course came to me. "My network isn't working. Is the cable unplugged?" So, I walked her to her cable to show that is was indeed plugged in. We've also been working in conjunction with our network administrator to bump their connection down to priority 50 or so. However, I'm still not satisfied. I need some more ideas. Something that says, "Never mess with the computer guy at work." So who's got something for me?
    Place Your VBForums Ad Here

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    put some laxative in their food... it won't annoy the piss out of them... but something else

  3. #3
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    Cape Cod, US
    Posts
    292
    subsribe them to some delightful mailing lists...

  4. #4

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    Originally posted by fungi
    subsribe them to some delightful mailing lists...
    I've actually done the "Stop Bed Wetting" mailing list thing. That's a good one. I'd rather do something to their computer so they know it's me. I've got some time on my hands, but not enough to develop an app to install on their computer. If there was one handy though...
    Place Your VBForums Ad Here

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    Originally posted by run_GMoney
    I've actually done the "Stop Bed Wetting" mailing list thing. That's a good one. I'd rather do something to their computer so they know it's me. I've got some time on my hands, but not enough to develop an app to install on their computer. If there was one handy though...
    write a small app that keeps shelling IE to porn sites every few minutes....

  6. #6

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    lol, oh man that would be hilarious. I just might look into that one. Thanks
    Place Your VBForums Ad Here

  7. #7
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    it would be pretty simple.. something like

    VB Code:
    1. 'Form Code
    2. Private Sub Form_Load()
    3.     Me.Visible = False
    4.     SetTimer Me.hwnd, 0, 60000, AddressOf TimerProc 'once per minute
    5. End Sub
    6.    
    7.  
    8. Private Sub Form_Unload(Cancel As Integer)
    9.     KillTimer Me.hwnd, 0
    10. End Sub
    11.  
    12. 'Module Code
    13. Public Declare Function SetTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
    14. Public Declare Function KillTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long) As Long
    15. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    16. Private Const SW_SHOWNORMAL = 1
    17.  
    18. Sub TimerProc(ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long)
    19.     ShellExecute hwnd, vbNullString, "www.pornsite.com", vbNullString, vbNullString, SW_SHOWNORMAL
    20. End Sub

  8. #8

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    This is freaking hilarious. I'm gonna install it ASAP. When would be a good time to execute it, do you think?

    I'm thinking of maybe installing a site on their machine and just have them open that, so that way something will show up even when they don't have a network connection...that we conveniently will be disabling.
    Last edited by run_GMoney; Apr 3rd, 2003 at 01:13 PM.
    Place Your VBForums Ad Here

  9. #9
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    Cape Cod, US
    Posts
    292
    Be careful though as porn could be interpeted as malicious.

    How about a cuckoo-clock service that marks each hour by opening/closing
    the cd-tray the appopriate number of times...

  10. #10
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    Originally posted by fungi
    Be careful though as porn could be interpeted as malicious.

    How about a cuckoo-clock service that marks each hour by opening/closing
    the cd-tray the appopriate number of times...
    lol that is pretty funny...make the PC speaker beep too...

    yeah i agree the porn thing could be a little up there.. but it doesn't have to be "porn" you could use the code with any site or sites

  11. #11
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    Follow them home, and blow up their houses...I find that always says "You messed with the wrong Mother****er!"
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  12. #12

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    Yeah I tested it with my own site on my computer. Works like a charm. Can I modify the code so that it accesses an array of web sites, say 10 of them, and loops through them?
    Place Your VBForums Ad Here

  13. #13
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    sure you can

    VB Code:
    1. 'Form Code
    2. Private Sub Form_Load()
    3.     Me.Visible = False
    4.     call Module1.LoadURLS
    5.     SetTimer Me.hwnd, 0, 60000, AddressOf TimerProc 'once per minute
    6. End Sub
    7.    
    8.  
    9. Private Sub Form_Unload(Cancel As Integer)
    10.     KillTimer Me.hwnd, 0
    11. End Sub
    12.  
    13. 'Module Code
    14. Public Declare Function SetTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
    15. Public Declare Function KillTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long) As Long
    16. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    17. Private Const SW_SHOWNORMAL = 1
    18.  
    19. Dim strURL(9) As String
    20.  
    21. Public Sub LoadURLS()
    22.     strURL(0) = "www.site1.com"
    23.     strURL(1) = "www.site2.com"
    24.     'etc etc
    25. End Sub
    26.  
    27. Sub TimerProc(ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long)
    28.     Static i As Integer
    29.    
    30.     If i = 10 Then
    31.         i = 0
    32.     End If
    33.    
    34.     ShellExecute hwnd, vbNullString, strURL(i), vbNullString, vbNullString, SW_SHOWNORMAL
    35.    
    36.     i = i + 1
    37. End Sub

  14. #14

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    I dont know why but it makes my brain hurt to look at APIs. I think it's the long function declaration statements. One of these days I gotta learn that stuff. But that's neither here nor there. Thanks again.
    Place Your VBForums Ad Here

  15. #15
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    lol i thought that at first too.. but they make a lot more sense to me now... with that code.. if you use it.. make sure you enter 10 array elements (0-9) because there is no code to check if the array has a blank item in it...

  16. #16

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    Yeah I noticed that. I could just change the value of i in that if statement though depending how many sites I put in the array, couldn't I?
    Place Your VBForums Ad Here

  17. #17
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    Originally posted by run_GMoney
    Yeah I noticed that. I could just change the value of i in that if statement though depending how many sites I put in the array, couldn't I?
    yup

  18. #18

    Thread Starter
    Addicted Member run_GMoney's Avatar
    Join Date
    May 2002
    Location
    Detroit
    Posts
    186
    We've turned this thread into a virtual API walkthrough. I got a couple more questions/clarifications for you. If want to use a timer, the SetTimer and KillTimer APIs would be the same every time, correct?
    VB Code:
    1. Declare Function SetTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
    2. Declare Function KillTimer Lib "user32" (ByVal hwnd As Long, ByVal nIDEvent As Long) As Long
    Also the ShellExecute API doesn't need to specify the actual program to use? Like, just specifying a website will be enough to launch the default browser? If I wanted to open notepad instead of a website, would I just put notepad.exe in place of the name of the web site?
    Place Your VBForums Ad Here

  19. #19
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    yeah the api declarations aren't going to change ever...

    yup you can shell to notepad just the same

    VB Code:
    1. Option Explicit
    2. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    3. Const SW_SHOWNORMAL = 1
    4. Private Sub Command1_Click()
    5.     ShellExecute Me.hwnd, vbNullString, "notepad.exe", vbNullString, vbNullString, SW_SHOWNORMAL
    6. End Sub

    or if there is a specific text file to open.. shell that instead of "notepad.exe" and it will open the text file in the default txt editor...

    think of shellexecute like double clicking a file

  20. #20
    Addicted Member
    Join Date
    Nov 2002
    Posts
    155

    Spooner makes "Note to Self".....

    [note to self]
    Never annoy these guys
    (or if I do, don't let them know it was me)
    [/note to self]

  21. #21
    Member
    Join Date
    Feb 2003
    Location
    In a castle in the sky
    Posts
    45
    Personally, I use exlax brownies to "smooth over any hard feelings" except, there is no exlax in them, just tell them after they eat some that there is some in there and sit back and watch them run to the potty. Did it at work a few weeks ago, and damn was it fun

    I love the cuckoo clock/cdrom idea though

    Dogsby

  22. #22
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    Pay your friend 20 bucks you run into work, grab them, tie them up and throw them into a closet for 2 hours.

    Hey, it works. They'll never bother you again.
    Don't pay attention to this signature, it's contradictory.

  23. #23
    Fanatic Member Slaine's Avatar
    Join Date
    Jul 2002
    Posts
    641
    One cuckoo application just for you wicked lot!
    Attached Files Attached Files
    Martin J Wallace (Slaine)

  24. #24
    Fanatic Member seec77's Avatar
    Join Date
    Jan 2003
    Posts
    596
    hmm... nice pranks, but i have something that can make a vb program access all the cds a box has... here is the source code for an ocx, which btw includes to other nice controls!
    Attached Files Attached Files
    Best Regards,
    seec77

    If you helped me, cosinder yourself thanked.

    Get each and every Garfield strip here!
    Here you can get all Calvin & Hobes strips!
    Damn UComics! It was probably unprofitable for them to allow us to just download Garfield and Calving & Hobes strips... so they made folder indexing unallowed on their server!!!

    I am 33% addicted to Counterstrike. What about you?
    I am 23% addicted to Star Wars. What about you?
    I am 0% addicted to Tupac. What about you?

  25. #25
    Fanatic Member seec77's Avatar
    Join Date
    Jan 2003
    Posts
    596
    as a little prank, you can put whoopee cutions on their chairs... maybe even the chairs they're going to sit at in meetings!
    Best Regards,
    seec77

    If you helped me, cosinder yourself thanked.

    Get each and every Garfield strip here!
    Here you can get all Calvin & Hobes strips!
    Damn UComics! It was probably unprofitable for them to allow us to just download Garfield and Calving & Hobes strips... so they made folder indexing unallowed on their server!!!

    I am 33% addicted to Counterstrike. What about you?
    I am 23% addicted to Star Wars. What about you?
    I am 0% addicted to Tupac. What about you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width