Advertisement

Results for "Category: Miscellaneous"

2002ASP #2027
Testing Installations and Installing Windows in Under 5 Minutes.

Need to test installs on different operating systems? Need a new operating system fast? Infected by virus?...Read this - it may help.

2002ASP #2047
Beginners Toolbox - Volume 2

In response to requests for more samples here is Volume 2. This collection includes the use of scrollbars, listboxes and the treeview. Move listitems up or down in a listbox, remove duplicates etc. The treeview example demonstrates a fully functioning 'Favorites bar' for a Web browser application using Internet explorers favorites - add links, add new folders, rename, delete etc. Also included is a KeyCode giver, a picture resizer, and just for fun a random mousemover. Code for each function appear in a textbox ready to copy into your project. I hope this is of some help to people beginning VB. Good luck.

2002ASP #2057
ColorConvert

Ultimate Color Code Convert Tool, Support conversion of RGB/HEX/LONG/HTML Support VBColor(QBColor) and VBConst(vbYellow) Other...Capture, Random, Light/Dark, Favorites ClipBoard ecc.. MultiCoder Thanks of PSC

2002ASP #2059
PsuedoTypeahead for Combo/List box using text box

To allow a user to typeahead to a specific item in a list/combo box allowing a little more flexability.

2002ASP #2060
Acces control thru variable

Be able to access multiple controls which require the same task with minimal code. Basically I wanted to be able to access controls without having to write numerous bits and peices to reach multiple controls with multiple forms and could not find what I needed so I decided to post. Here you are creating 2 control arrays with labels and all the code will demonstrate is randomly changeing the color of a randomly selected label. This is my first post so if a bit lame hope you at least find it usefull.

2002ASP #2064
Various API

Shows use of BitBlt, GetDesktopDC, etc... Various Other Graphical API calls, by creating a small screensaver app. in which a fly crawls across your working desktop.

2002ASP #2074
Learn How To Use A Listbox!!

Learn how to use a listbox the correct way! and please leave comments and vote!

2002ASP #2087
Auto resize flexgrid column widths

Automatically resize the columns in any flex grid to give a nice, professional appearance. Public sub automatically resizes MS Flex Grid columns to match the width of the text, no matter the size of the grid or the number of columns. Reads first n number of rows of data, and adjusts column size to match the widest cell of text. Will even expand columns proportionately if they aren't wide enough to fill out the entire width of the grid. Configurable constraints allow you to designate 1) Any flex grid to resize 2) Maximum column width 3) the maximum number of rows in depth to look for the widest cell of text.

2002ASP #2095
A (Flex)Grid printing class, version 2

This class makes it easy to print a formatted grid on the printer, a PictureBox or a Form. You can set the font for the "normal" cols, the header cols and the footer cols, set the col alignment, the grid line thicknesses, the col widths, margins and other things. It also supports column and row merging. With a simple multi-page support ! This submission also includes a function (in a separate module) to "import" a MSFlexGrid allowing you to print such a grid quite easy. Now it also includes such code for DBGrids and ListViews ! This code doesn't base on the MSFlexGrid or any other OCX !

2002ASP #2105
Calculate Checksum (CRC32 and CRC16)

Yesterday, I was lookin' for some code to compute a CRC32 checksum value but could not find any fast working code here. So I made this class file that allows you to calculate real CRC32 checksums. I also needed *FAST* code so this uses assembler code that you can use without actually knowing any assembler. This code is able to compute 56 MB/s on a P3 600Mhz!!

2002ASP #2106
Huffman Compression/Decompression

This is a Compression/Decompression routine using Huffman Encoding/Decoding, and works best on normal text files. The code is *highly* optimized, and to show how fast this is I can mention another code sample found here on planetsourcecode (from August 1st 2000) which also uses Huffman Encoding. That code took 127 seconds to compress a 1.8mb textfile, but with my code this takes less than 1 second!! (that's an approvement of 12700%!!). That other code was worth 7 excellent points, how many is this worth? ;)

2002ASP #2120
SolidWorks Viewer/Plotter

Batch viewing/ and plotting of Solidworks files. This is also extended to view word, excel, txt and picture files. Many more features is added in future. Take care,yall...

2002ASP #2122
I Don't Think So Buddy!

Keeps the form the same size no matter what, while your form can still look good with the MIN/MAX buttons....Makes a cool effect when those buttons are Pressed

2002ASP #2126
DATE/TIME COMMANDS

TIME/DATE Commands

2002ASP #2133
Center Text in the Windows Titlebar

This code will read the active titlebar height and font parameters. The Caption of the window is then centered with the date and time. I looked long and hard to try to do this. Most PC's don't use a proportional font for the titlebar and thus the amount of characters displayed depend on the size of the character (i.e. "WWWWWWWWWW" is wider than "llllllllll" in most non-proportional fonts). I found some info on the web and modified it to allow the caption to be centered in the area between the titlebar bitmap and the 3 controlboxes. The Titlebar size and the titlebar font & size can be different from machine to machine. These settings affect how much data can be displayed in the caption of the window, as does the screen resolution. I had originally tried constants based on the form width, but these were not 100%. Try changing the form size and the active title bar settings to see it in operation.

2002ASP #2145
More about screen capturing using BitBlt (does more than just copy) *CHECK IT OUT!*

Ok... some other person made this code at first, but in his, it only copied the screen and showed you a little bit in a picturebox, mine captures the screen and shows it to you full screen and does more than just copy - it copys, inverts, makes screen have bad colors, darkens the screen, brightens the scree, flip the screen horizontal, and flip screen vertical so check it out! First you choose how you want the scree captured then you press capture - the program captures the screen and then shows it to you until the user makes a mouse click.

2002ASP #2193
Add 2 Treeview

Quickly creates branches in a treeview with a single string.

2002ASP #2194
Sort_TwoDimensionBubble

Sorts a 2-dimensional array

2002ASP #2199
ImageBrowser

Effortlessly browse through image files in directories with thumbnails being displayed for each picture in the directory. The thumbnails are put into a listview and the file name's are included.

2002ASP #2207
qPrinter (1.6.0) - improved print object with preview and form print

qPrinter is an enhanced Printer Object with Print Preview. Now includes the FormPrint method to create documents from the text-based items of a form or container improving on the blocky bitmap of the PrintForm method in Visual Basic. Standard documents can be created from TextItems and each item can have alignment, font, positioning, borders and shading properties set. TextItems can be positioned 'absolutely' on a specific page. Changes to font, alignment and indentation properties can be made using HTML-style tags within the text of a TextItem. Preview/Print features include zoom, preview window resizing, collation, number of copies and printer selection. qPrinter also supports Headers and Footers. A Test Project (PrinterTest.vbg) is included demonstrating some of the features. Full documentation is available from our website http://www.qbdsoftware.co.uk/moth as well as downloads of a Dutch version and a Visual Basic 5 version. You need to set the Error Handler (Tools>Options>General) to 'Break on unhandled errors'. This is in order for the project to catalog array based control items.

Languages
Top Categories
Global Discovery