Important alert: (current site time 7/16/2013 1:23:26 AM EDT)
 

winzip icon

[ A quick way to annoy your friend ]

Email
Submitted on: 5/10/2005 2:13:34 AM
By: Ernanie F. Gregorio Jr.  
Level: Beginner
User Rating: By 16 Users
Compatibility: VB 6.0
Views: 29895
author picture
(About the author)
 
     This program has a command button that change places when a user try to press it. (use to annoy your "begginer" friend).. Pinoy Programmer ROCKS!!!
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 6 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

5/11/2005 3:11:23 AM

anong maganda jan?
(If this comment was disrespectful, please report it.)

 
5/12/2005 3:03:30 AMErnanie F. Gregorio Jr.

pang begginer nga eh...
tsk tsk tsk...
(If this comment was disrespectful, please report it.)

 
7/6/2005 6:20:11 AM

wala lang subok nyo na lang
(If this comment was disrespectful, please report it.)

 
11/8/2005 4:44:51 AMcedie

?duh
(If this comment was disrespectful, please report it.)

 
11/17/2005 9:14:54 AMSean

This is a really fun little prank. I have a few friends I may try it on.
(If this comment was disrespectful, please report it.)

 
8/21/2006 4:20:47 AMAlexMark

wtf you wrote?
(If this comment was disrespectful, please report it.)

 
9/22/2006 6:55:33 AMmark

kool 1
(If this comment was disrespectful, please report it.)

 
1/16/2007 6:53:27 AMumair

nice n lovely
(If this comment was disrespectful, please report it.)

 
3/10/2007 12:05:50 PMahmad

Please introduce VB resources and free ebooks
thanks ;
ahmad

(If this comment was disrespectful, please report it.)

 
3/19/2007 3:37:49 PMSALVADOR MARRADES

I'M A BEGGINER IN VB. I'M SURE TO LEARN FROM YOUR CODE. THANKS
(If this comment was disrespectful, please report it.)

 
6/16/2007 10:50:08 PMYasin A.

smart little 2 line code... i've seen messy versions. this one's neat.. thanx
(If this comment was disrespectful, please report it.)

 
10/3/2007 1:08:35 PMkrazy

thats so awesome
(If this comment was disrespectful, please report it.)

 
11/14/2007 1:41:46 PM

Ows? Sige nga subukan ko?
(If this comment was disrespectful, please report it.)

 
1/20/2008 12:13:10 PMpitt

the code is ok,mayb u copy it from other, but look ur interface, ur control, the settings in ur from..alot of work u must spend to fix up
(If this comment was disrespectful, please report it.)

 
2/15/2008 12:59:21 AMdirkz

mganda tlga..kc gawain namin mang asar!!! alisin mo na yan
(If this comment was disrespectful, please report it.)

 
3/14/2008 8:36:57 AMAboud

Thank you
(If this comment was disrespectful, please report it.)

 
4/4/2008 5:55:31 PMTyler

Try this:

Public Function MoveButton() As Integer
Button1.Top = Rnd() * Height
Button1.Left = Rnd() * Width
End Function

this is what works with the new vb 2008
(If this comment was disrespectful, please report it.)

 
12/1/2008 5:13:31 AMJoulek

How about this Code in VB2008 ? Or .NET 2003 or VB2005 is there a way to realize that ?

Greets
(If this comment was disrespectful, please report it.)

 
5/6/2009 4:48:01 AM

nice code
(If this comment was disrespectful, please report it.)

 
7/13/2009 12:32:16 PMNguyen Luu Ngoc

if your friend's smart, he can always tab to select the button then enter/space....
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.