Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Browsing all 1513 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

(VB6) SSTabEx: SSTab replacement. Themed and with new features

This control is a direct replacement of the SSTab control. Some enhancements are: It supports Windows styles or themesThe background color of the tabs can be changed (property TabBackColor)Another...

View Article


Form Min-Max size and Fixed-size

Ok, people seem to like this one (via "ratings"), so I'll post it here. I'm sure there are others, but this one is mine. Basically, it's two subclassing procedures. The one that sparked interest was...

View Article


Image may be NSFW.
Clik here to view.

HTA as HTML UI for VB6 code

This is probably more of a stunt than something there is a need for. But it shows one of the ways that VB6 code can be "behind" an HTML/CSS front end. The provided stylesheet basically duplicates the...

View Article

Image may be NSFW.
Clik here to view.

EnumPorts - Find the system's COM and/or LPT ports

The EnumPorts class will find the COM ports, LPT ports, or both. If a new device arrives or leaves the list of devices gets refreshed. The information you can retrieve is: PortDescription PortName...

View Article

Image may be NSFW.
Clik here to view.

how can create user control like charachter map for show on form?

hi i want show font icons like webgings font or other fonts and use in label or textbox or ... but my problem is about limited ascii code from 0 to 255 and i can not use from 0x21 to 0xb325 and...

View Article


Image may be NSFW.
Clik here to view.

Vb6 - netmask calculator

Normally a netmask is used to define a network, but I ran into a problem that required the use of a mask. Let me explain. For some time now, I have had a problem with excessive DNS queries...

View Article

Image may be NSFW.
Clik here to view.

Works well in VB4 show run time error 53 with VB6

Hi, I'm trying convert an old VB4 program to VB6, and show a running error 53, please see the full code attached. Thanks Function OpenFileInputRead(tFileName$) As Integer OpenFileInputRead = FreeFile...

View Article

Image may be NSFW.
Clik here to view.

SuperTrim Function for strings

I created the "SuperTrim" function, quoted by Gary Cornell in "Visual Basic 6 from the Ground Up": the function removes excess spaces in a string. Compared to the example found in the book, I have...

View Article


Image may be NSFW.
Clik here to view.

VB6 API Viewer Database Editor

Here is a small utility i wrote that allows you to edit the api files that come with the API Viewer 2004. The APIViewer2004 is a nice upgrade from MS's old api viewer made by Christoph Von Wittich, but...

View Article


Image may be NSFW.
Clik here to view.

Simple Statistics

I've started a similar CodeBank thread before, but I'm now thinking I went too complex, as there was no interest. Just looking around earlier today, I saw a request under a CodeBank entry by The Trick....

View Article

URLEncode in UTF-8 with Visual Basic 6 (Sending Unicode SMS message)

After searching this forum and the internet for a few days and did not get what I am looking for I stumbled upon this and tweaked it a little bit because it had a problem with encoding vbCrLf. It all...

View Article

Round Function

This round function round at 0 to 13 places, and a -1.5 turn to -2 and 1.5 to 2 While upgrading M2000 Interpreter to work with Currency and Decimals, I make this function to work with decimals,...

View Article

Image may be NSFW.
Clik here to view.

Copy data from external Listview/Treeview/Listbox/ComboBox/IE Window

This is handy code to have around in case you have to scrape data from an external application for some reason. Drag the cross hairs over the target window in an external application (or in the demo...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Personal Chat

PChat is a 2 part program consisting of a server component and a client component. The client component (PChat.vbp) runs as a Desktop Application, whereas the Server component can run as a Service or a...

View Article

how can use winsock or xml or other way for upload file field+strings.then...

hi i hv a html like this: Code:         <form method="POST" action="destionation" enctype="multipart/form-data">             <label>                 <span>chat_id :</span>...

View Article


Round Colorful Forms

Ok in its raw form this is really quite useless but it contains several interesting parts that can be put to greater use With this code you can create a round, color changing form that can be moved...

View Article

IEEE Doubles: NaN, Infinity, etc.

When doing math that may have problems, I've traditionally resorted to Variants and returned a Null or Empty when things didn't go correctly. However, that's never felt totally clean. Lately, I've been...

View Article


Image may be NSFW.
Clik here to view.

[vb6] Enhancing VB's StdPicture Object to Support GDI+

This is my second version of the logic first introduced here. That version will no longer be supported. This version offers so much more: 1. GDI+ can be used for improved scaling for all image formats...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Elliptical Curve Diffie Hellman (ECDH) Demo

The heart of this demo is the "GetECCKey" function. It is a dual purpose function, requiring 4 supplied variables (pAlg, KeyLen, bPublicECCKey, & bPrivateECCKey). "pAlg" is a pointer to the wide...

View Article

Remember Form's Position for Next Execution, Multi-Monitor

Here's something I just cobbled together for a project I'm working on, and this occasionally comes up in these forums. It's a couple of procedures (with support procedures) for saving the last position...

View Article
Browsing all 1513 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>