Quick Search for:  in language:    
VB6,WITH,DONT,VOTE,CODE,TetrisBox,ActiveX,Con
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,011,557. lines
 Jobs: 117. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Fractional Addition
By SAEED HASSAN on 7/1


Defrag at certain time
By Michael Nipper on 7/1


Click here to see a screenshot of this code!Extended Find Ver 2
By Roger Gilchrist on 7/1

(Screen Shot)

Y! Module
By NightCrawler on 7/1


Files Comperator (the right way)
By Jarry Claessen on 6/30


Simple UDP example
By Mick Walton on 6/30


CAPS Trigger
By Trevor Burley on 6/30


Auto clip picture
By Kenneth. Jakobsen on 6/30


Click here to see a screenshot of this code!Game of life clone (cool math)
By Johannes B on 6/30

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

TetrisBox ActiveX Control

Print
Email
 
winzip icon
Submitted on: 11/6/2000 8:49:29 AM
By: Luis Pérez Fernández 
Level: Advanced
User Rating: By 21 Users
Compatibility:VB 6.0

Users have accessed this code 5849 times.
 

(About the author)
 
     TetrisBox is an ActiveX Control written in VB6 that makes very easy the development of Tetris games. The ActiveX itself implements all the code to control the user input (keys to move blocks) and the own Tetris game rules, so all you have to do is create the interface of your game and let the control do the rest. Also, TetrisBox ActiveX Control allows you to use the features in the classic Tetris arcade game, like difficulting the game inserting a line at the bottom of the game board, or dropping a block at a random position, etc. You can also initialize the board with some blocks determined by you... endless posibilities! NOW UPDATED WITH SAMPLE PROJECT!! PLEASE DON'T FORGET TO VOTE THIS CODE =8)

 
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 Winzipto 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.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced 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
11/6/2000 4:10:59 PM:wgreen7
Nice. But could you give an example 
project to go along with it. (Americans 
ask for a lot, don't we?  lol)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/6/2000 6:43:43 PM:Luis Pérez Fernández
Thanks to wgreen7 for his comment. The 
code is now updated with sample project.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/8/2000 4:48:17 PM:Matrix Man
sorry to ask, but i cant work out some 
of the labels on your pic above, so 
would you enlighten me and others 
abit?
thanks, as i will vote for it if 
i can understand.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/9/2000 5:27:42 AM:Luis Pérez Fernández
Sorry, but the picture in this page 
does not match with the sample project. 
Anyway, it is very easy to build any 
type of screen to play the Tetris game, 
as you will test if you download the 
zip file. In fact, you will only need 
to build the screen, because you won't 
need to write any code to control the 
game (the ActiveX makes it for you)!! 
(Please, don't forget to vote).
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/9/2000 1:26:59 PM:Matrix Man
I have been having problems, I cant get 
it to work on my computer, although I 
have what I need,
win98
VB5 CCE
and 
the rest well, you dont need to 
know
but when I load the demo, it says 
that there is already an instance of a 
file loaded, and can not load.
also, 
not being offensive or anyhting, but 
could you provide a english help file, 
it would be usefull.
by the way, I 
will vote for you a top mark
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/14/2000 12:20:38 PM:Luis Pérez Fernández
I think the problem may be that the 
control was developed using Visual 
Basic 6.0, that is not full compatible 
with VB5 CCE.
I will try in the next 
days to include a help file in 
english.
Thank you.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/14/2000 3:24:39 AM:Hussein Hasanat
Why don't write the labels in English, 
I don't know its meaning
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/19/2000 5:50:19 PM:Richard
Good progam and code for control
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.