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

Image may be NSFW.
Clik here to view.

VBFlexGrid Control (Replacement of the MSFlexGrid control)

This project is intended to replace the MSFlexGrid control for VB6. The "MSFLXGRD.OCX" can be replaced completly. Even though some enhancements of the MSHFlexGrid control are included, it can't replace...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Fisher–Yates shuffle

Attached is a short demonstration of the Fisher–Yates shuffle. In this particular case we wanted to be able to restore the shuffle back to it's original format, so we had to ensure that the Random...

View Article


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...

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 program, then you...

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


Win 10 Registry issue

Have struck a snag getting a vb6 prog that I've been using with Win XP to run OK in Win 10. The problem is the Registry Class. It seems it will write a value to HKEY_CURRENT_USER but not to...

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


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