| | |
Description | Compatibility | Level/ Author | Views/ Date Submitted | User Rating |
| |
| |
 |
Ad Hoc Data Structures | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 19372 since 6/13/2000 1:17:16 AM |
By 16 Users 13 Excellent Ratings
|
| |
Simple ways to create data structures on the fly without creating classes, user-defined types, etc., and how such structures can be more flexible, data-driven, and even self-defining. |
| |
| |
| |
 |
Binary File Viewer (byte by byte) | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 7271 since 6/6/2000 11:04:26 AM |
By 4 Users 3 Excellent Ratings
|
| |
Allows you to open and view small binary files. For each byte in the file, you see the position, ASCII character (if it's printable) and the numeric value and its hexadecimal equivalent. Nothing fancy, but a quick way to see what's under the hood.
<P>& ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
ColorPicker | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 3136 since 5/22/2000 6:33:39 PM |
By 1 Users
|
| |
Use scrollbars or text boxes (decimal or hex) to pick a color for coding. Imports/exports to/from clipboard in HTML and VB RGB formats. Save up to 9 color chips for color comparison on form. Large scroll of sliders scans through "browser-safe" color value ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
CPU Utilization | VB 6.0 | Intermediate / James Vincent Carnicelli | 7416 since 12/5/2003 11:14:29 AM |
By 3 Users 3 Excellent Ratings
|
| |
I created this because I needed to be able to adjust how many child processes my batch processing app created so that it didn't I created this demo because I needed to be able to adjust how many child processes my batch processing app created so that it d ...(description truncated) (ScreenShot) |
| |
Please support the site by visiting our
sponsor:
|
| |
| |
 |
Demo: Popup Window (like menu or drop-down windows) (No hooks) | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 5820 since 7/6/2000 12:20:53 PM |
By 5 Users 5 Excellent Ratings
|
| |
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.
<P>Here's a demonstration of how to do that. It doesn't rely on the LostFocus event, which only works withi ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Demo: Popup Window (like menu or drop-down windows) (Using hooks) | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 6443 since 7/7/2000 1:15:41 PM |
By 2 Users
|
| |
(This is an updated version of another demo of the same principle.)
<P>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.
<P>Here's a demonstration of how ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
File Upload Component for ASP Apps (includes demo) | VB 4.0 (32-bit), VB 5.0, VB 6.0, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 11282 since 11/8/2000 9:30:45 AM |
By 16 Users 16 Excellent Ratings
|
| |
Want anyone with a common web browser to be able to upload files to your ASP application? Here's a great little component to help you do it.
<P>This component builds on the standard mechanism web browsers provide for uploading files. Since IIS doesn't ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
FontSample | VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 1819 since 5/22/2000 7:13:28 PM | Unrated
|
| |
Gets a list of the fonts in your system and generates a sample as HTML. You can paste this into Notepad and save as an HTML file. Open that file in MS Internet Explorer or Netscape Navigator and voila: font sample.
<P>Demonstrates getting font informat ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Huffman Compression Algorithm (like WinZIP) | VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Intermediate / James Vincent Carnicelli | 30020 since 8/1/2000 12:43:00 PM |
By 21 Users 19 Excellent Ratings
|
| |
PKZIP, ARJ, ARC, JPEG, and a host of other programs and compressed file formats all use the Huffman coding algorithm (or similar redundancy-minimization methods) for compressing strings.
<P>With this small VB module, you can do your own compression in ...(description truncated) |
| |
| |
| |
 |
Internet Programming and the Sockets Controls | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Beginner / James Vincent Carnicelli | 19165 since 6/26/2000 11:48:01 AM |
By 11 Users 11 Excellent Ratings
|
| |
Here's a VB programmer's introduction to developing Internet (TCP/IP) applications. We'll build a trivial web browser to start with Then we'll look at some of the issues you should consider when building client/server applications. We'll even build a simp ...(description truncated) |
| |
| |
| |
 |
Introduction to Error Handling | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Beginner / James Vincent Carnicelli | 4581 since 6/19/2000 3:05:16 PM |
By 6 Users 4 Excellent Ratings
|
| |
This article introduces you to the basic concepts behind Visual Basic's run-time error handling methodology. You'll learn what causes run-time errors, how to deal with them, and how to generate them yourself. A good understanding of run-time errors is cri ...(description truncated) |
| |
| |
| |
 |
Keyboard Macro Player | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Intermediate / James Vincent Carnicelli | 7074 since 11/13/2000 8:48:25 AM |
By 12 Users 10 Excellent Ratings
|
| |
This utility allows you to create a keyboard script which, when played, sends keyboard events to your target application as though a human user had. This is a great way to deal with batch processing of tasks that you know are repetitive. It can also be us ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Library of Array Routines | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 7967 since 5/31/2000 7:03:16 PM |
By 17 Users 14 Excellent Ratings
|
| |
I use arrays all the time, so I thought I'd put the functions I commonly use together into a library. Easy to read code. Routines include:
<P>- ArrayCopy(List, ListToCopyFrom, [StartAt], [Length])
<BR>- ArrayAppend(List, Item)
<BR>- ArrayRemove(L ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Library to Manage Processes in NT | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Not Given / James Vincent Carnicelli | 6108 since 8/16/1999 |
By 3 Users
|
| |
This class wraps up process-related API and VB calls to help you launch, terminate, and generally query processes. I created this class to be compiled to an ActiveX control that my ASP can use to launch and manage a server that could only be used if launc ...(description truncated) |
| |
| |
| |
 |
Non-Volatile RAM (using disk files) | VB 4.0 (32-bit), VB 5.0, VB 6.0 | Advanced / James Vincent Carnicelli | 5649 since 6/12/2000 6:28:39 PM |
By 5 Users 5 Excellent Ratings
|
| |
Conceptually, non-volatile RAM is any RAM (random access memory) that is not lost because the memory device loses (external) power. The NvRam class implements this in a primitive but powerful way: by writing to and reading from a data file in real time. I ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Planet Source Code Submission Wizard | VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 1858 since 6/12/2000 9:55:52 AM | Unrated
|
| |
If you're new to submitting VB code to Planet Source Code (PSC) or even a veteran hacker, you may find the tips helpful and this program to help speed along the process and make your work better recognized and appreciated.
<P><P>This program was dev ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
PostalAddress Control | VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 4029 since 5/17/2000 9:48:52 AM |
By 7 Users 6 Excellent Ratings
|
| |
Data entry control for U.S. postal addresses in a single text box with automatic parsing and assembly.
<P>If your application has to allow users to enter and view snail-mail U.S. postal addresses, your usual choices are separate text boxes for the part ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Quick N Dirty OOP Inheritance | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 2751 since 6/20/2000 9:24:34 AM |
By 2 Users 2 Excellent Ratings
|
| |
VB (version 6 and earlier) doesn't offer any decent way to create a new class that inherits public members from an existing one. Here's an easy, if inelegant, way to simulate inheritance. |
| |
| |
| |
 |
ReadFile | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Not Given / James Vincent Carnicelli | 3187 since 10/9/1999 |
By 4 Users 3 Excellent Ratings
|
| |
Read an entire text file into a string in one call. |
| |
| |
| |
 |
Simple HTML Editor; Preview Updated While You Type | VB 3.0, VB 4.0 (32-bit), VB 5.0, VB 6.0 | Intermediate / James Vincent Carnicelli | 4426 since 7/5/2000 1:38:22 PM |
By 1 Users
|
| |
I edit HTML files frequently and sometimes just want to test out an idea for an HTML fragment. This utility (with full source code) allows one to edit raw HTML in a (RichEdit) text box and see the results in a WebBrowser control above.
<P><P>Very ea ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Simple, clean client/server socket controls (includes docs and chat demo) | VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 16485 since 6/20/2000 12:48:05 PM |
By 24 Users 23 Excellent Ratings
|
| |
This is a set of controls designed to make creating TCP/IP client/server applications very easy. There's a single-connection client control and a server socket bank that automatically manages connections from clients. There are even discrete listener and ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
Simulate ReDim in a nested array | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Not Given / James Vincent Carnicelli | 4105 since 9/2/1998 |
By 36 Users
|
| |
I've found that it is not possible to directly ReDim an array within an array using a constuct like "ReDim aMyArray(3)(10)". This generates a syntax error. This subroutine allows you to do just this, without the need to use intermediate variables, which c ...(description truncated) |
| |
| |
| |
 |
String Processing Library (Parsing, Translation, Validation) | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 8800 since 6/1/2000 11:37:31 AM |
By 9 Users 7 Excellent Ratings
|
| |
Library of routines for typical string processing, including parsing, translation, and validation. Routines include:
<P>- StrReplace(Text, SearchFor, ReplaceWith, [Compare]) As String
<BR>- StrSplit(Text, SplitOn, [Compare]) As Variant
<BR>- From ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
StringCombine | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Not Given / James Vincent Carnicelli | 1763 since 10/9/1999 |
By 1 Users
|
| |
Combines a collection of strings into one single string, with each item separated by a specified delimiter. Great for tab- or comma-delimiting data. |
| |
| |
| |
 |
StringReplace | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Not Given / James Vincent Carnicelli | 1781 since 10/9/1999 |
By 36 Users
|
| |
Searches for and replaces all occurrances of one string in anothr string with yet a third string. Same basic functionality as Replace() in VBScript. |
| |
| |
| |
 |
StringSplit | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Not Given / James Vincent Carnicelli | 3272 since 10/9/1999 |
By 36 Users
|
| |
Splits a string into a collection of strings based on a search pattern. Great for splitting tab- or comma-delimited text. |
| |
| |
| |
 |
Summary Generator (demonstrates cool algorithm) | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Advanced / James Vincent Carnicelli | 4878 since 7/9/2000 3:28:24 AM |
By 14 Users 12 Excellent Ratings
|
| |
Here's an easy-to-use utility that can take a chunk of plain text and generate a summary with up to a number of words you specify (e.g., 1000).
<P>This code demonstrates an exceedingly cool algorithm I recently read about that basically works like this ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
SystemColorBrowser - Windows System Colors | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 1507 since 5/18/2000 2:13:00 PM |
By 3 Users 3 Excellent Ratings
|
| |
Nifty little utility (with source project) to help you use Windows system colors (e.g., "Button Face" or "Window Text") in your code. For each color, shows a preview, the name you see in IDE property window's drop-down list for colors, the VB constant, an ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
TCP/IP Server Simulator | VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Advanced / James Vincent Carnicelli | 4001 since 5/22/2000 7:26:13 PM | Unrated
|
| |
Building or testing a TCP/IP client (e.g., a web browser)? Here's a simple utility (with source code) to let you pretend to be a TCP/IP server. Select any port (e.g., 80 for web server) and start listening. Automatically accepts a single connection. You s ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
ThumbWheel | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 2013 since 5/22/2000 7:05:04 PM | Unrated
|
| |
Neat little thumb-wheel control. Looks and acts like a vertical volume control wheel. Click on it and drag up and down and it raises events like a scroll bar. Easy to use. Size is scalable.
<P>Please vote for it if you like this code. (ScreenShot) |
| |
| |
| |
 |
Using DoEvents to Make Your Apps CPU-Friendly | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 5232 since 6/5/2000 3:45:20 PM |
By 6 Users 3 Excellent Ratings
|
| |
How to keep your VB application from being a CPU hog using DoEvents. |
| |
| |
| |
 |
VB Code Viewer (parses, color-codes, etc.) | VB 5.0, VB 6.0 | Beginner / James Vincent Carnicelli | 3264 since 6/19/2000 5:19:15 PM |
By 4 Users 3 Excellent Ratings
|
| |
This is an old utility I made a few years ago in VB 5. It can display the main project files in a .VBP and display the contents and a summary of what's in its code modules, color-coded.
<P><P>It was designed to let any VB project be a reference for ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
WebBrowser Control Demo | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 5445 since 7/5/2000 10:25:06 AM |
By 5 Users 2 Excellent Ratings
|
| |
The WebBrowser control is at the heart of the Internet Explorer web browser. You can use it to navigate to and display a web page or even pipe in raw HTML from your program.
<P><P>This program is a short demonstration of a number of basic capabiliti ...(description truncated) (ScreenShot) |
| |
| |
| |
 |
WriteFile | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 | Not Given / James Vincent Carnicelli | 3514 since 10/9/1999 |
By 37 Users
|
| |
Write the contents of a string to a text file in one call. |
| |
| |
| |
 |
XML Engine (classes and demo) | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) | Intermediate / James Vincent Carnicelli | 17084 since 6/28/2000 9:50:08 AM |
By 9 Users 7 Excellent Ratings
|
| |
The XML Engine is a set of classes designed to make it easy for your programs to parse and construct XML.
<P><P>The parser can be used either to automatically construct an easy-to-use data structure (like I.E.'s document object model) or direct your ...(description truncated) (ScreenShot) |
| |
ian!