Results for "Category: Custom Controls/ Forms/ Menus"
Dynamic Menu example for everyone! Heavily commented!! This code teach you how to load/unload menu items at run-time, how to add all file names (without the .*** extension) from a directory to a menu. You will find that all this is really not that difficult if you read the comments in the code! Rather than votes, I want feedback on my code - so please comment :)
Purpose:Play an AVI file through the Animation Control on the Status bar. This code was inspired by James E. Toebes’ code: "Progress Meter on Status Bar"... instead of the ProgressBar control I am using the Animation Control. There were a few things I tweaked. For more AVI files you can check out http://pjs-inc.com/vb-avi
Language interpreter using Visual Basic Runtime. (Obviously slow). I forgot why I took this post down. ModLangNotes.bas has instructions.
Displays animated GIFs without any ocx or dll.
This code extracts icons from Dll's and Exe's. The code is so simple any VB newbie should be able to understand it.
Add knobs to your audio/other app. Choose from 0-10, 0-100, and 0-1000. No *.bmps, simple circle and line. 5 sizes... MUST SEE... ;)
Title sez it all. Check it out!
Custom LEDs, with no *.bmps. LED Graphics are created with strings. Much like a map of a tile based game. FAST! + 2 Display options. This version only has numbers, modify it with letters & other chars if you need to.
gridClass is a read-only grid comprised of text box arrays. I use it to display information from an Access database and it was developed after expriencing total frustration with the grid provided with VB6. It could be modified to be updatable and I may find time at a future date to do that.
This incredible program shows how to create totally realistic fire without using any palettes to create the right color effects! A simple bit of mathematical color manipulation creates a perfectly colored fire effect more realistic and faster then palettes, making for real-time fire animation. The included .exe demonstrates the current max speed of this program, and it will BLOW YOU AWAY! This code is guaranteed to be the FASTEST, EASIEST, and MOST REALISTIC algorithm-generated fire project at this site. If you don't believe me, try it out! This is definitely the best artificial fire program that has ever been built in VB, so don't miss out on this awesome code!
This killer code demonstrates the fastest and most efficient way to combine pictures transparently. Designed to be used in a paint program or game, this picture will combine 2 pictures at any percent transparency. I haven't seen code of this nature anywhere else on the site, so be sure to check this out. This code could also be used to fade pictures into eachother (like they do in MYST with transitions mode on), if you're interested. Includes picture loading and saving code as well.
This cool little program demonstrates a basic painting program as well as the hard-to-find dll call for filling a region of a picture. To use the program, all you have to do is draw a line with the left mouse button, then click with the right mouse button to fill the clicked-on area with a random color. Also, as far as I know, this may be the only VB project on the net that has the 'ExtFloodFill' dll call, so make sure to grab it!
Easy-to-use template for creating a non-rectangular form. So simple, even Homer Simpson could use it (if he had a computer).
I made some modifications from My previous entry. Fixed the output.txt problem. It was in the OCX file Source included = OCX,DLL and Sample .EXE DLL SOURCE INCLUDED!!!! FREE. FAST. Easy. This is a port from Chris Yates code (Awesome) Make Transparent Forms using pictures. SUPER FAST AND EFFICIENT. Now you can select the Transparent color. Example EXE to show how it is done. No DLL Calls. Use my TransRegion ActiveX to run the TransRegion.Dll REAL easy and it is Royalty free. Please vote for me.
Disable the shortcut ALT+F4 in a Form
This is the EASIEST way to have scrolling marquee text in a label. 'No long useless code.
I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip
This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.
THE PROBLEM: VB allows regular forms to be instantiated from an ActiveX DLL...but does not allow MDI child forms to be instantiated from an ActiveX DLL! THE SOLUTION: MDIChildMaker! Now you can put your forms in a seperate ActiveX DLL and use them as MDI children forms in your main application's MDI form! NOTE: This is not a trivial example, but uses native VB subclassing techniques. This is one code solution EVERY VB programmer MUST have! Check out www.cyberbiz.com
If you didn't see my previous form manipulation example then you gotta see this. This is some pretty good stuff, great for newbies. New Subs added! Don't miss out on this, you'll be happy you looked at it. Code all done in a professional way. Extremely nice routines for simple manipulation of any form. Cuts down your own coding. Heavily commented subs so that you can understand what's happening. If you have any trouble with this example(which you shouldn't) then email me and I'll make even more comments on the routines as I add new ones. Comments definitely welcome. Please, Constructive critism and praises only. 2/10/00, new routines combined and added. All subs tested and compiled! And yes, I did add a sample of the CustomMsg becasue I got a few emails about it. I sure hope it helps you all out. Check out the "StreakExit" routine. If anyone knows how to make that routine smoother, please email me with a fix. If anyone has anything to add, email it to me and I'll add it in and give you credit. Please remember, this is beginner level. I really hope that you find this example useful. Thanks for your comments and enjoy the code! Here is a small list of the subs: 1. BooleanRollup 2. CenterSnglFrame 3. CustomAbout 4. CustomMsg 5. frmCenterMe 6. frmKillExit 7. frmOnTop 8. frmPosition 9. frmShrink 10. LoadNextToMain 11. LogMyErrors 12. NoOffScreen 13. ProgCaption 14. ProgCaptionV2 15. ReSnapFrm 16. RestoreFrmDiminsions 17. SaveFrmDiminsions 18. SaveFrmPos 19. StreakExit 20. vEmailMe 21. WriteSettings I really hope this helps the newbies out. This may be my last update to this project.