Results for "Volume: 2_2002-2004"
This .OCX, based on a picture box, automatically adds and removes horizontal and/or vertical scroll bars to a picture box based on the size of the picture relative to the size of the control. A test project is included. Register the .OCX first using regsvr32. For more my code samples visit my personal web site: click above on my full name.
This piece of code seems to run different on various machines. I don't know why yet. But I added a better error check in it allready. I also added a controlpanel.... I made this program to make add a waterreflection to a picture on a splash screen. I hope you like the result as much as I did :-) To use it with your own picture just place it in the picturebox.
Newest in the series aimed at teaching newbies (and not so newbies) about the commands that VB has available. This edition gives a basic outline of DateDiff() usage and, as always, some copt-and-paste sample code.
Version 2.0 Bigger and Better! I had posted v1.0 yesterday but found some big improvments. The formater is now smarter when it comes to SQL. It knows where the SQL clauses are! Formats SQL Statements for you so they can be inserted into your code! Saves tons on time in development! - You create your SQL in whatever program is easy for you (i.e. Access, SQLPlus, TOAD, Notepad). - Then you launch FormatSQL - Then paste your SQL into the 'String to be Formatted' section. - Then choose your options and click on 'Format String'! - Now you select your output Clipboard or Notepad and hit 'OK' - The results are now ready in your desired location. - This program saves tons of time. I wrote out of a huge need of mine. I was sick of formatting SQL in the code window, it was tedious and redundant! I saw this program in another suite of tools that costs $299. Now you can have it for FREE! - Please Vote me if you like!
Change the color of a control or the picture property or whaterver you need for that matter, And the control's property will return to it's original value when the mouse moves out. This Works!!!! Try It. Rate It.
This program, DragonBall Browser by name, is a complete webbrowser with most of the functions you would ever hope to find in one. From Print Preview to a Favorites Manager, this browser has everything. It uses the Microsoft provided WebBrowser control. Originally intended to be sold to www.pojo.com (hence the startup home page), this 'DragonBall Browser' has all the practical features. This program has many things to learn from it. First of all it demonstrates many web browser features, including some innovative ones - Saving pages as HTML files, printing, print preview, page setup, read from cache (less load time), write to cache (for reading later on), enable / disable popups (popular with advertisement sites), work online / offline, choosing interface font, saving / reading all these settings into a .ini file, favorites menu with save feature to .dbz files, visit home page, includes quick links to popular websites (additional ones can be added with ease), view source on a webpage, retrieve web page properties, navigate to sites (choose to open in a new window), refresh site (full refresh, standard refresh, or quick, expire refresh), stop, back, and forward. On top of these concepts, the user familiarizes himself with the WebBrowser controls, resizing window (and therefore control sizes), using the Toolbar and Imagelist controls, and using the status bar control.
I wrote this 10 page tutorial because my brother wanted to learn visual basic. He decided not to read it any more after I wrote what I got done and so I never finished it. It is pretty good to start out beginners with programming. If it gets rated high enough I might continue writing it. Hope you all enjoy it and learn something.
Reads and writes ID3v1 tag info for MP3s, including genre. Reads ID3v2 tag info for MP3s. Extracts track title, artist, album, year, genre. Also extracts comments (ID3v2 only) and track number (ID3v2 only).
This program shows you how to set the startbutton picture. It first uses the findwindow api to find the taskbar, then it does a findwindowex api to find the startbutton. From there it gets the device context. Then we can just pain to it.
Often especially when dealing with the API, byte and integer data types will be packed into LONG INTEGER (32 bit) values. Thes snippets allow you to decode/encode these 32 bit longs:
OH MY GOD!!!!! IT'S THE ALL NEW AND IMPROVED ANT SIMULATOR!!!!! AND IT'S BEEN IMPROVED AGAIN!! IMPROVED features including: *Screen Saver mode (improved) *(improved) Improved search algorithms *New form layout (improved) *Adjustable form (improved) sizing *Slightly (improved) improved graphical methods *Lots more.....(improved) So download today. Tell your friends, tell their friends. Tell people you meet on the street. Vote!! Pass comment! Tell me to stop with the ants already! NOW!
With SearchFile ActiveX control anyone can search for a file through his disk drive. This control can return all matched files in a drive. I also included a test project with this control; with it you will understand the control’s Properties and Methods clearly! The things you can do with this control are, get default disk drive, number of drive, all drive latter, found file list or found file name with path, Folder list, folder path, default folder, sorted found file list etc. There are Methods for searching file, reset search etc. To open SearchFile ActiveX project with test project then open SearchFile.vbg else open SearchFile.vbp. This control is very easy to use. With this control anyone can make utility type program's (i.e. Antivirus) file searching portion. Please don't forget to vote me! Thank you.
Don't wait for VB7 to start inheriting. Inheritance is a cornerstone of object-oriented programming, and VB6 supports it already (sort of). The Child Class Builder Utility is a VB6 add-in that will create child-classes from existing ones. Learn interface inheritance, or save yourself hours of mind-numbing hand implementation. Supports polymorphism to the full extent supported by VB. Includes a brief article on how Interface Inheritance works. Looks and feels like the VB6 Class Builder Utility. Makes hundreds of Julienne fries.
PLEASE DOWNLOAD THE LATEST FIRESTORM!! (1.5 at the time of writing)
04/28/2001 - Describes the usage of the Choose() function; A really neat but seldom used command in VB.
This program lists all the icons in an icon libary (DLLs, EXEs, GIFs, JPGs, BMPs). Double-click an icon to save it.
This project was developed to calculate the date and time from a number of seconds from 1/1/1970. The Windows NT event log records the times/dates in this manner. There was also a need to do conversions for the local time zone (as the time reported was in GMT/UTC), and output formatting for the locale. The code is heavily commented. I tried to do most of the code through straight VB and make little external function calls. I'm sure there's a better way to do this. See the Command1_Click() procedure in frmMain and the readme.txt included.
I searched around trying to find a ticker that operates much like the one on this site to no avail. So I wrote one. It was actually quite easy.
VTrack2 by Robert Rayment This program uses floor ray-casting from the eye onto a color-height byte array (ie for simplicity avoiding separate height & color maps). The color-heights are then projected back to a front surface byte array which blitted to the screen using the API StretchDIBits. The program can be run with or without machine code and it runs for any screen size or color setting There is an automatic mode which goes round a track once with timing. In the VB environment this takes about 300 secs, VB EXE takes between 35 and 65 secs depending on Voxel heights and machine code bewteen 12 and 24 secs on my 400 MHz computer. Controls are the cursor keys to move forward, backward, turn to the left and turn to the right. With Shift the up & down arrows change the height of objects and Ctrl with the up & down arrows moves the viewer up & down. The SPACE bar brings the motion to an immediate halt. With the Pyramids a wall forms a boundary around the surface but with Plasmas the surface rolls over giving continuous motion. There is also collision detection based on the eye coords and the Voxel height in the vicinity on the floor surface. Different palettes can be selected and they take effect immediately. Changing the motion control or surface type requires the START button to be pressed. The casting routine is modified from that of D Brebner's of Unlimited Realities. In particular a spherical correction is applied and the scanning is from -ve to +ve angles placing the viewer in the middle of the screen. The FloorCASTER routine is commented in detail - the effects are very subtle. The machine code routines are in a bin file for use with CallWindowsProc but could easily be converted to a DLL. See also the recent prog from NLS, on PSC, which shows an alternative method for Voxels with 24-bit color. The ZIP file is 40 KB. (ADDITIONS Switch smoothing, plateau surface, collision flash, no collision in clouds).
Firestorm is back with some great new features! Apart from the usual eye-popping visuals, Firestorm 1.3 has the following new features: A new GUI and easier palette access, 2 new palettes, Animation saving and Bit-mapped origin (See screen shot). Download It NOW!!! UPDATE!!!: New in 1.4: Bitmap origins can now be PAINTED on with the mouse!!! UPDATE AGAIN: new in v1.5 Slightly improved visuals, Compile optimizations for 70 FPS Code!! NEW palette format (40 times smaller than previously), NEW!!! Fullscreen mode! DOWNLOAD IT NOW!! NOTE: If you would like to make your own palettes, simply download the Firestorm Palette Generator (It has instructions on how to use it in the comments)