Results for "Volume: 2_2002-2004"
Getting back to the basics of using VB6 controls. Included in the project are, checkboxes, options, combobox, textbox, Scroll bars, File list, Dir list, and drive list. Very simple programming intended for beginners. Has an example of browsing for files without using common dialog control. Plus an example of using the ShellExecute api and 2 option dithered background. I hope the code is helpful to those that are new. I'm sure there are others like this on here.
Ever wonder how to make those cool popup menu's? Well This tutorial will tell you how to make them, how to detect which mouse button has been pressed, and how to make them popup on different mouse button clicks.
This submission uses Pat McCotter's code one step further (http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=1852). This program will find what order the short date parameter is in in the Regional Settings in the Control Panel, and reformat the date so that it will always be MM/DD/YYYY. An application can have unexpected results if you just assume, or are not aware, that the short date is not MM/DD/YYYY. So to be sure you are using the right date for calculations, download this. Please vote for this if you find it useful.
This small OCX (80 K) contains a implementation of the Date Time Picker (called DTPicker in VB6) and Month Calendar (called MonthView in VB6) controls of the Windows ComCtl32.dll in VB. It's especially useful for VB5 users or VB6 users not wanting to ship the whole MSComCtl2.ocx just because of the DTPicker or MonthView control. The interface is a little different from the one offered by MS. Now with an ready to use VB6 version !
One of the most common types of a focus-only popup window is the menu. A drop-down list is another example. Both disappear when they lose focus. Here's a demonstration of how to do that. It doesn't rely on the LostFocus event, which only works within that form's scope. Switch to a different application and your popup would still be visible. Instead, it uses a timer and an API call to check to see if the popup still has global focus. If not, it self-unloads. While it does act essentially like menu-style popup windows, it's not exactly the same. To do that, I think it's necessary to use an API call to hook into some Windows event that detects a change in overall focus. This technique relies on constantly polling the OS. It also means the form that uses the popup will technically lose focus (big deal). It's generally a little klunky. Still, it works very well. Thanks go out to MrGTI (www.Pharfruminsain.com) for advice on the basic technique. I encourage anyone who knows the "right" way of doing this to let me know. Please vote for this code if you like it.
It Does Almost All The Word OF Word Please Check it out And MAil me
This is a web browser with a few additions. First, it has picture buttons like IE, a 'history' file that is editable. A built in search engine, quick IP address, disable pop-ups option and more. Check it out.
This Code shows how to make an ActiveX-Control that gives a Form the shape of a bitmap or the shape of any text. Includes Demo Projects. Very Cool Effect! Must see!
You can move the task bar around
It's abit like winpopup!
The API Spyer tracks any window that the mouse is over, giving info such as the window handle (hWnd), its class name, its text, etc. This program also allows you to change the text of a window, get its hDC and Window Rect, and change its enabled and visible states. The API Spyer also features self-immunity so that it will not track itself (so you can click on the command button to change the current window, for instance) and can be set to stay on top. Note: beware as to what windows you are hiding/disabling because you might not be able to show/enable them again (like the desktop windows).
Allows events when a mouse enters and leaves a client area of a control, so you don't have to use a timer to constantly check the position of the mouse (inefficient, and bad coding), useful for creating hyperlinks, hotspots, etc... Utilizes a class for ease of use and strict API for maximum efficiency and speed
Here's a great example of how to make a 'real' text editor in VB. This one has a Tabbed-Multiple-Document-Interface (see screen-shot for example)! Users of UltraEdit, NetCaptor or Opera will know what I mean. Commented source should make it easy to apply the interface to your own programs. This program handles over 128 documents simultaneously, has print functions, clipboard functions and full formatting controls (eg. align, colour, font, size, bold, etc.) It took many hours to make, test and debug this program so your vote would be appreciated. Future version will include hex editing, spell checker, DOC and PDF support, full undo/redo, etc... This program will be released as postcardware in future; this means you send me some ideas, suggestions, comment, etc.. and i send you the unlock code so the program isn't retricted. THIS VERSION ISN'T RESTRICTED THOUGH :-) Thanks for you interest! There are links in the help menu & and you can also vote from there. if you don't have the VB6 runtimes you can get them here: http://lantis.anu.edu.au/blade/develop/vb/runtimes/VBRUN60.EXE and if you don't have comdlg32.ocx, mscomctl.ocx and richtx32.ocx you can get them here: http://lantis.anu.edu.au/blade/develop/vb/controls/
A complete screen saver based on the film "The Matrix" This code is based on the original submission by Stuart Pennington, however adds more functionality. It is now a complete screen saver, with customisation options, and real previews in the config dialog and Display Properties. It also has a couple of minor bug fixes. The code also has some API routines for selecting colours and fonts. Well worth a look if you liked the original submission.
Led follows wav file. See how to Load a wav file into a byte array using DirectSounds ReadBuffer method, then read that info into an led at run-time. Simply check for playing wavs position, then use that position as a lookup point in the byte array. Then some simple math turns 0-127 into 0-10. This is not completly accurate because some wavs are mono and some are stereo.
THIS VERY COOL FUNCTION TAKES A NORMAL STRING AND CONVERT EVERY CHARACTER IN IT FROM UCase TO LCase OR FROM LCase TO UCase... CHECK IT OUT!! AND VOTE IF YOU FIND IT USEFUL
Its just something I through togeather real quick, It just shows you how to use all the Common Controls, eg: ProgressBar, Slider, TabStrip, Treeview, ListView, ToolBar, StatusBar...
This example shows you how to use the CommonDialog control to select a Printer, a color, a font or a picture. Fully commented, very useful for beginners.
Shows many API functions like hiding start button and hiding other windows. Hides the cursor, hides the desktop icons. Thats all I am saying. *** THIS IS A MUST*** Please vote for me
Kewl Jewels is a game similar to, but ALOT better than, Tetris. I decided to make a game that takes brains rather than joystick abuse, so read the 'readme' file because it's only fun if you know the rules. But, once you get it, it's the most addictive game I've ever made! Challenges you brain, requires quick, descisive thinking and it's really annoying when you lose! The idea is to make jewels disappear by aligning them in rows of 3 or more similar colours. Often, a 'chain reaction' occurs and you bring the whole tower down, which is really cool (or kewl!). This game shows lots of recursive algorithms and quadratic scoring methods meaning that you get rewarded tons more for bigger reactions. Also shows of a bit of simple BitBlt and Sound FX. If you find this game addictive, please vote. If you can honestly say that you only had just one go, then don't bother voting but I bet you can't play this just once!