Adblock breaks this site

Spam virus

Discussion in 'Programming General' started by Dark boy42, Aug 11, 2008.

  1. Dark boy42

    Dark boy42 Apprentice
    Banned

    Joined:
    Aug 26, 2007
    Posts:
    973
    Referrals:
    0
    Sythe Gold:
    0
    Spam virus

    do
    Shell "notepad", vbNormalFocus
    Console.Beep()
    loop

    Haven't had a chance to test it yet (on a mac >:/) But it opens notepad and beeps, then loops to do it again. The only part im not sure about is the Shell command :/
     
  2. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    Spam virus

    VB does not work on mac...

    And that is not a virus, it's destructive code, although not very destructive. >__>
     
  3. Dark boy42

    Dark boy42 Apprentice
    Banned

    Joined:
    Aug 26, 2007
    Posts:
    973
    Referrals:
    0
    Sythe Gold:
    0
    Spam virus



    I know, thats why i can't test it :/
     
  4. Samarkov

    Samarkov Active Member

    Joined:
    Feb 21, 2008
    Posts:
    147
    Referrals:
    0
    Sythe Gold:
    0
    Spam virus

    Well, you've got a start? Here is your code, but fully working. I know enough to not have to test this, so I suggest you don't.
    Code:
    do
    Shell("notepad.exe", vbNormalFocus)
    Console.Beep()
    loop
    
    That should work. You forgot the .exe to the end of notepad.

    Nice Idea though :p
    ~~Samarkov
     
  5. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    Spam virus

    Using "notepad" will work as well...
     
< An Easy C++ Question | Tutorials >


 
 
Adblock breaks this site