Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

7_2009-2012 #218455
Clear all Texbox in a Form

This Code clears all textboxes in a form.This code is useful if u use so much textbox contols in a form and have to clear all of them when the user selects (New Record) selection.

7_2009-2012 #218480
AniGif

Put a animated gif in a form.

7_2009-2012 #218493
Rich HTML

If any of you saw my submission awhile ago that converted RTF to HTML. This has the original code from that post, but also has a function that converts HTML to RTF.

7_2009-2012 #218496
Hook Menu

This dynamically creates menus on your form with API. Then subclasses it to see if you clicked it. It also demonstrates how to create a sub-submenu. This example was requested by a couple of people, so I made it. Enjoy =)

7_2009-2012 #218498
Change Form Shape (very easy and comfortable)

Make your form shape like the items placed on it.I saw a code posted a view days ago, this code made the form shape like SHAPE-Controls painted on it. But this OCX not even recognizes Shapes. It also recognizes Buttons, Check-Boxes,..... if you want it to do.

7_2009-2012 #218502
AutoCompleter - Class Module

This code allows you to have an autocomplete function on any text boxes by creating an instance of the class module below and setting a text control on a form to is CompleteTextbox property. Ideal for those situations when you have multiple autocompletes. (Visual Basic 6 Only - Can easily be modified for 5.0 users)

7_2009-2012 #218504
MX Lookup Control (UserControl)

This is used to get the MX records of a host. This is a usercontrol, with a demo project. It has a ton of good code. Including how to get the DNS of your local machine in code in every possible way (there are many). So the control can find the dns itself. This code has code from Jason Martin (http://www.planetsourcecode.com/xq/ASP/txtCodeId.11006/lngWId.1/qx/vb/scripts/ShowCode.htm)

7_2009-2012 #218506
UPDATE: MDI Task Bar control 1.6

ADDED: AutoHide features. Control can be downloaded/viewed from: http://www.planetsourcecode.com/xq/ASP/txtCodeId.24861/lngWId.1/qx/vb/scripts/ShowCode.htm

7_2009-2012 #218507
UPDATED: MDI Task Bar control 1.6

*UPDATE 1.6* Added the AutoHide features that people have been requesting. The control now has 4 properties that are for the AutoHide feature: 1. AutoHide, Boolean This tells the bar to hide when the mouse is no longer over it. 2. AutoHideWait, Integer This tells the bar how long to wait before hiding (in case you accidentally move the mouse off of it, it wont immediately hide) It is in Milliseconds so 1000 = 1 second. 3. AutoHideAnimate, Boolean This tells the bar to "slide" off screen instead of just disappearing. 4. AutoHideAnimateFrames, Integer This is the # of frames to split the "Slide" effect into (more frames is slower, but smoother) I recommend 50 - 100 frames. From my testing it seems to be the best. *UPDATE 1.5* Fixed the icon drawing problems when comipled on windows 2000. Re-wrote a lot of code to optimize for speed, and to make the code easier to read/understand. Added a lot more and better comments. *UPDATE 1.4* Fixed the drawing on windows 2000/nt/95. Fixed the bar to work when used with a compiled exe. Fixed some drawing problems with the coolbar style. *UPDATE 1.3* Fixed one more windows 2000 bug. still having the compiled issue on win2k. Added a new style (now you can select the style property), Coolbar. *UPDATE 1.2* fixed the win2k bug. Now works perfectly in windows 2000. ADDED: Color settings, for every button state, and for the bar itself. Fixed many bugs (none left that I know of) Added the menu. Now when you right click on a button on the task bar, it shows the system menu from the form that the button belongs to. This ia fully working Taskbar for an MDI form. Works just like the windows task bar. It was originally written by Maxx Zephyr Technology and uploaded to www.freevbcode.com. That version had problems, and also was not a stand alone control, it had to be included in your project because it was dependant on the Forms collection. I went through the code, cleaned it up, removed the forms collection (used the api to replace it) and made the user control into a full stand alone ocx, that you can simply drop on an MDI form.

7_2009-2012 #218509
MDI Taskbar 1.9b7

*UPDATE 1.9b7* Added a system tray clone to it. Updated the demo to show how to use it. Added better color selection to it. Added the menu system, updated the demo to show this as well. *UPDATE 1.6* Added the AutoHide features that people have been requesting. The control now has 4 properties that are for the AutoHide feature: 1. AutoHide, Boolean This tells the bar to hide when the mouse is no longer over it. 2. AutoHideWait, Integer This tells the bar how long to wait before hiding (in case you accidentally move the mouse off of it, it wont immediately hide) It is in Milliseconds so 1000 = 1 second. 3. AutoHideAnimate, Boolean This tells the bar to "slide" off screen instead of just disappearing. 4. AutoHideAnimateFrames, Integer This is the # of frames to split the "Slide" effect into (more frames is slower, but smoother) I recommend 50 - 100 frames. From my testing it seems to be the best. *UPDATE 1.5* Fixed the icon drawing problems when comipled on windows 2000. Re-wrote a lot of code to optimize for speed, and to make the code easier to read/understand. Added a lot more and better comments. *UPDATE 1.4* Fixed the drawing on windows 2000/nt/95. Fixed the bar to work when used with a compiled exe. Fixed some drawing problems with the coolbar style. *UPDATE 1.3* Fixed one more windows 2000 bug. still having the compiled issue on win2k. Added a new style (now you can select the style property), Coolbar. *UPDATE 1.2* fixed the win2k bug. Now works perfectly in windows 2000. ADDED: Color settings, for every button state, and for the bar itself. Fixed many bugs (none left that I know of) Added the menu. Now when you right click on a button on the task bar, it shows the system menu from the form that the button belongs to. This ia fully working Taskbar for an MDI form. Works just like the windows task bar. It was originally written by Maxx Zephyr Technology and uploaded to www.freevbcode.com. That version had problems, and also was not a stand alone control, it had to be included in your project because it was dependant on the Forms collection. I went through the code, cleaned it up, removed the forms collection (used the api to replace it) and made the user control into a full stand alone ocx, that you can simply drop on an MDI form.

7_2009-2012 #218536
A 3D cube with rotation and zoom in/out!

This program rotates a 3d cube to the 4 directions, using a translation code, and also has a zoom in/out option (control it with: W, A, D, X, 1 & 2)

7_2009-2012 #218543
A FireWork - Cool Graphic /easy code to understand

This Program will make colorful fireworks. The code is kinda short, but it looks so cool. I've included many directions/explanations that will help you change the input value.

7_2009-2012 #218547
Helper 2

This project helpes to make you learn how to use the treeview control, add picturs to the list, Helps to learn to use the listview and also to make easy reports with the help of the report designer. A must for every database application maker. Uses of picture splitter, image splitter. ALSO SHOWS YOU HOW TO OPEN AN ACCESS DATABASE WHICH HAS BEEN SECURED BY A PASSWORD THROUGH ACCESS

7_2009-2012 #218550
Kill the Windowz Close Button (X)

This subroutine will disable the Windows 9x/NT ' close button, also known as the little X ' button. It's really useful when you have a ' form that you don't want to set its ControlBox ' property to False. Write this code in a ' standard module (BAS).

7_2009-2012 #218572
Fill Listview With Files and their Icons

Shows how to add files to a listview with the associated icons It is a litle tricky and I hope you vote for me Needs Microsoft Scripting Runtime

7_2009-2012 #218575
EZe Component Register

The program will easily register your .ocx, .dll, .tlb, etc components quickly. Simply double click on the component and it's registered! Also has a few other fancy stuff in but I guarantee it will be useful to you!

7_2009-2012 #218580
Dynamic Menu

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 :)

7_2009-2012 #218588
AVI Animation in Status Bar

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

7_2009-2012 #218601
Language interpreter

Language interpreter using Visual Basic Runtime. (Obviously slow). I forgot why I took this post down. ModLangNotes.bas has instructions.

7_2009-2012 #218604
Animated GIF - ALL CODE

Displays an animated gif file WITHOUT any ocx or dll.

Languages
Top Categories
Global Discovery