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

Image may be NSFW.
Clik here to view.

VB6 ThemedControls.ocx (uxTheme-based replacements for SSTab and VB.Frame)

The title says it already - this is a project which shows how to use the uxTheme.dll (without any involvement of the comctl32.dll), to render directly onto the default-hWnd of a VB6-UserControl. In the...

View Article


Image may be NSFW.
Clik here to view.

Layered Form + InkPicture = DoodleTop

One of the things we got when mainstream desktop Windows inherited the infrastructure from XP Tablet Edition was the InkPicture control. While there are lot of things you can do with this, few people...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Bi-Color Dot/Dash using drawing methods

Most of us are already aware of the limitations of DrawStyle with the VB6 drawing methods (Line and Circle). The main one being that even a "dot" is more of a "dash" and more importantly that these are...

View Article

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. If you are calling a function that is asynchronous, but you want to wait until it finishes before the next line of code...

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
Browsing all 1473 articles
Browse latest View live


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