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

FormatNumber Function for Other VB6

If anyone can improve it, feel free, and please post your improved function this thread. Code: Private Function FormatNumber(Expression As String, _       Optional NumDigitsAfterDecimal As Integer,...

View Article


Image may be NSFW.
Clik here to view.

VB6 - IPWhois V3

IPWhois is a utility program that can be used to query Whois servers to find out where and to whom an IP address is assigned. Now why would you want to do that? There are some instances when all you...

View Article


Image may be NSFW.
Clik here to view.

Utility to generate code to create Access databases using DAO, based on a...

Updated 07/10/2017 This utility can be used to generate the code to create an Access *.mdb database using DAO, based on a model database file. If you want to avoid shipping an empty database with your...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Base64 Encoding

Below is a class to encode strings or files in Base64. The data can be sent to the class as an ANSI string, a Unicode string, or a Byte Array. The sample program provided demonstrates the usage. J.A....

View Article

Image may be NSFW.
Clik here to view.

VB6 - File Transfer

During the process of upgrading my JACMail program to use SimpleSock, I ran into an issue when transferring large attachments. The program became noticeably faster using SimpleSock, but that speed...

View Article


Image may be NSFW.
Clik here to view.

[vb6] Unicode Browse For Folder

This is a unicode-compatible "Browse For Folder" dialog implementation. It offers options to customize the dialog beyond simple examples you may have seen. I have moved this to its own thread from the...

View Article

[vb6] Block execution until Async method finishes

This is a different approach and has a niche. Won't be a solution in all cases. I feel showing a modal window with a progress bar is a better option, but... If you are calling a function that is...

View Article

Image may be NSFW.
Clik here to view.

ColourPicker [vbRichClient]

Replacement/alternative to the CommonDialog colour picker, requires a reference to Olaf's vbRichClient5.dll. Might have implemented this differently (i.e. fully RC5 widget-ified) but I was in a bit of...

View Article


LDB Viewer

I need to add a LDB/LACCDB viewer on a client site, in order to check which are the users connected to an Access DB. I have implemented such as follow (this code was made 10 years ago) You call it like...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Exclude file types from Open/Save Dialogs ('all except...'):...

IShellItemFilter Demo Normally with an Open/Save dialog, you supply filters of a list of file types you want to display. But what if instead of 'only x', you wanted to filter by 'all except x' or...

View Article

Image may be NSFW.
Clik here to view.

[VB6] VBZeep: An abandoned SOAP Client written in VB6

VBZeep is completely unrelated to the "Zeep: Python SOAP client" which it predates by many, many years. VBZeep is basically some "abandonware" - code I was developing over 6 years ago but never got...

View Article

Image may be NSFW.
Clik here to view.

VB6 - SimpleServer Stress Test

I have been fairly satisfied with the performance of SimpleSock, but even though SimpleServer is being used successfully in a couple of server routines, I have not been able to stress test it. I would...

View Article

Image may be NSFW.
Clik here to view.

.HLP file loader

There's some issues when loading Help files in windows 10. I upgraded from windows 7 to 10, and maybe this is where this problem lies. But I saw all over the same questions on the internet how to fix...

View Article


Image may be NSFW.
Clik here to view.

VB^ - SimpleServer

CSocket was originally developed by Oleg Gdalevich as a replacement for MSWinSck. Emiliano Scavuzzo improved upon it with CSocketMaster, and I converted it to support IPv6 with cSocket2. With...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Dynamic Resize: Use a slider to change ListView icon/thumbnail size on...

One of the features of the Vista and newer Explorer views is the icon size slider; you can do more than just pick between a couple sizes- you can set it to any value in the icon range. Previously to...

View Article


Image may be NSFW.
Clik here to view.

Add a little Pizazz to Your Menus & Toolbar Dropdowns

Here's a project to add Menu Bitmaps and Toolbar Dropdown bitmaps. I have included a companion project to create menu bitmaps (14x14) from other graphic file types and icons (24 bit & lower) Enjoy....

View Article

A small, no fancy checkbox

Someone ask for a simple checkbox with click and value. Nothing professional... Small and to the point: Code: Option Explicit Const m_def_Value = True Dim m_Value As Boolean Event Click() Event...

View Article


Image may be NSFW.
Clik here to view.

Splitter;- or Separator lines Control

I get tired of making splitter lines for programs, therefore I decided to make a control. Very basic as it's not really my field of expertise, but something that I can use horizontal as well as...

View Article

Image may be NSFW.
Clik here to view.

Value Counter User Control

A small value counter: What's on the form: What is it? The coding: Code: 'Default Property Values: Const m_def_Value = 0 'Property Variables: Dim m_Value As Integer 'Event Declarations: Event...

View Article

Image may be NSFW.
Clik here to view.

Extra Info Storer User Control

In-visible at run time, it can store up to 20 values per control for use in a program. There are nothing on the form. It's not a container for other controls either. How does it look inside the...

View Article
Browsing all 1474 articles
Browse latest View live


Latest Images

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