|
-
May 12th, 2009, 12:21 AM
#1
Thread Starter
Member
[Resolved] Internet Browser shortcut with Infinite Loop
So I'm getting annoyed with this ffriend of min that keeps on asking for code off me for a VB assignemnt. Now I'd like to give him some code, but not the right code, (play a joke on him...he...he..). So thats the reason I'd like to write a infinite loop program for Internet Explorer.
Would such Visual Basic program be possible?
I'm not going to write anything epic, but probably just the event handler to a button that keeps uploading internet explorer on a infinite loop after clicking.
I know morally, this is wrong. I would rather be an ass than a lazy bastard.
Last edited by Jericho; May 12th, 2009 at 12:40 AM.
-
May 12th, 2009, 12:26 AM
#2
Addicted Member
Re: Internet Browser shortcut with Infinite Loop
There aren't many problems that ten gallons of gas and a large nose can't cure. Only problem is, most of us don't have ten gallons of gas lying around.
-
May 12th, 2009, 12:28 AM
#3
Re: Internet Browser shortcut with Infinite Loop
Maybe you should just say "no" to your friend.
-
May 12th, 2009, 12:31 AM
#4
Re: Internet Browser shortcut with Infinite Loop
you realize making an infinite loop is probably the easiest thing to do in coding?
Code:
do while true
messagebox.show("get your own code")
loop
-
May 12th, 2009, 12:32 AM
#5
Thread Starter
Member
Re: Internet Browser shortcut with Infinite Loop
He might be lazy with his code, however hes productive with his pestering for code.
Come on, its a simple boolian question: Is it possible to write such a program, that would open IE as shortcut?
-
May 12th, 2009, 12:37 AM
#6
Re: Internet Browser shortcut with Infinite Loop
if you just want to infinitely open internet explorers just do a process.start inside an infinite loop.
 Originally Posted by MundoDragon
<ignore>
This is quite the opposite of what you just did.
-
May 12th, 2009, 12:39 AM
#7
Thread Starter
Member
Re: Internet Browser shortcut with Infinite Loop
Cheers ForumAccount, I can figure it out from here.
-
May 12th, 2009, 12:41 AM
#8
Addicted Member
Re: Internet Browser shortcut with Infinite Loop
 Originally Posted by ForumAccount
if you just want to infinitely open internet explorers just do a process.start inside an infinite loop.
This is quite the opposite of what you just did.
lol...I couldn't just <ignore> without letting him KNOW, now could I? It's not in the human nature....lol
There aren't many problems that ten gallons of gas and a large nose can't cure. Only problem is, most of us don't have ten gallons of gas lying around.
-
May 12th, 2009, 12:49 AM
#9
Thread Starter
Member
Re: Internet Browser shortcut with Infinite Loop
 Originally Posted by MundoDragon
lol...I couldn't just <ignore> without letting him KNOW, now could I? It's not in the human nature....lol 
Surrre, you were probably just looking to icrease your postcount!
-
May 12th, 2009, 12:56 AM
#10
Re: [Resolved] Internet Browser shortcut with Infinite Loop
i think it would be more 'fun' to make a fake messagebox that just says "Are you going to stop asking for code?" with a Yes/No. but, if he trys to go click "No" the button randomly moves or something. that way you could so something annoying like:
do while mycustommsgbox.dialogresult <> windows.forms.dialogresult.yes
loop
Which will loop infinitely until he clicks yes or kills the process
-
May 12th, 2009, 01:18 AM
#11
Addicted Member
Re: Internet Browser shortcut with Infinite Loop
 Originally Posted by Jericho
Surrre, you were probably just looking to icrease your postcount!
oh yeah, that can be believed as I've been a member for 7 years and have a post count of 100. I'm always looking for an opportunity to increase my post count!
There aren't many problems that ten gallons of gas and a large nose can't cure. Only problem is, most of us don't have ten gallons of gas lying around.
-
May 12th, 2009, 08:51 AM
#12
Thread Starter
Member
Re: [Resolved] Internet Browser shortcut with Infinite Loop
Indeed MundoDragon. Indeed. Also, it seems you arnt ignoring this thread now.
Also for anyone that looks or magically googles this thread in the future. Behold:
Imports System
Imports System.Diagnostics
Imports System.ComponentModel
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Process.Start("IExplore.exe")
loop
End Sub
End Class
Last edited by Jericho; May 12th, 2009 at 08:57 AM.
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
|