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

Image may be NSFW.
Clik here to view.

Metafile Graphics for DPI Scaling

One of the headaches in addressing High DPI issues is the scaling of images within our user interfaces. These are typically small "icon" type images we display in various controls. In many cases we can...

View Article


Image may be NSFW.
Clik here to view.

RTF Label & RTF Button

The attached project contains an RTF Label and an RTF Button control. I use these all the time, but I haven't messed with the code in either of them in years. There are quite possibly better options...

View Article


Image may be NSFW.
Clik here to view.

Vb6 - simple tcp connect

During the process of trying to figure out NAT Traversal (how to get around the problem of NAT blocking external connections), I had to simplify the process of TCP/IP connections. NewSocket was just...

View Article

Image may be NSFW.
Clik here to view.

[VB6] - Trick Advanced Tools.

Hello everyone! I present to you a small project - Add-in that allows to some extent alleviate debugging some programs as well expand compilation possibilities. All the source codes are in the...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Using IAutoComplete / IAutoComplete2 including autocomplete with custom...

IAutoComplete / IAutoComplete2 / IEnumString SHAutocomplete has many well known limitations, the biggest being if you want to supply your own list to use with it. I was very impressed with Krool's work...

View Article


Improved circle drawing

Here's my code for drawing a circle, that has significant improvements over the internal VB6 circle drawing commands. Code: Private Sub DrawCircle(ByVal X0 As Long, ByVal Y0 As Long, ByVal Radius As...

View Article

Using OERN (On Error Resume Next)

This isn't any substantial piece of code, but it points out a potential problem I see experienced programmers making on these forums. Also, I must give Bonnie West some credit for pointing this out to...

View Article

[CODE] Responsive applications in VB6 (and immune to resolution changes)

Make VB6 applications look, feel and work state-of-the-art. See this video for more: https://youtu.be/2RPnJotSYj0 I HAVE HEAVILY MODIFIED THE CODE NOT COMPLETELY CODED IT. THE CREDITS CAN BE FOUND...

View Article


Image may be NSFW.
Clik here to view.

VB6 Build-in types extension library (FTypes)

This project aim is to extend Visual Basic 6.0 build-in types (like Integer, Long, String and etc.) in order to make work with it more convinient ("one-liner" style if needed) and support extended...

View Article


Image may be NSFW.
Clik here to view.

VB6 Built-in types extension library (FTypes)

This project aim is to extend Visual Basic 6.0 built-in types (like Integer, Long, String and etc.) in order to make work with it more convinient ("one-liner" style if needed) and support extended...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Simple Sock

SimpleSock basically performs the same functions as NewSocket. Like NewSocket, it supports IPv6 as well as IPv4. This more or less restricts it's use to Windows Vista or better, as older operating...

View Article

Image may be NSFW.
Clik here to view.

[VB6] SAX: Not just for XML

MXHTMLWriter is a handy feature added to MSXML SAX2 in version 6.0, but few have probably heard of SAX and few still of MXHTMLWriter. See MXHTMLWriter CoClass for an overview. There are several ways to...

View Article

Image may be NSFW.
Clik here to view.

[VB6, Vista+] Add the Windows Send To submenu to your popup menu

So at first I set out to just duplicate the functionality, but then immediately saw the FOLDERID_SendTo special folder, and realized that it should be possible to add a fully functional SendTo menu....

View Article


Image may be NSFW.
Clik here to view.

[VB6] SHBrowseForFolder - Custom filter for shown items:...

It's possible to have complete control over what items are shown in the SHBrowseForFolder dialog. The picture above shows a filter of *.exe applied to a dialog with the BIF_BROWSEINCLUDEFILES option,...

View Article

Image may be NSFW.
Clik here to view.

Resizeable VB6 UserForms (and Unicode Form Captions)

This system uses a small amount of code in a form module plus a small class module shared by all of your forms to enable you and the user to be able to move and size any form and have all of the...

View Article


Image may be NSFW.
Clik here to view.

VB6 - NAT Traversal

A NAT router is an excellent way to protect your computer network from outside hackers. The normal way to allow an outside host to connect with an internal host sitting behind a NAT router is to...

View Article

Image may be NSFW.
Clik here to view.

Compression in VB6: modern solutions

Compression has never been an easy task for VB developers. Until Windows 8, Microsoft provided very little support for it, and while 3rd-party solutions have long been available, they tend to be either...

View Article


Image may be NSFW.
Clik here to view.

Custom Scrollbar (vbRichClient)

As requested here http://www.vbforums.com/showthread.p...using-Pictures This is a custom scrollbar class that requires only to be given a reference to a picture box, as illustrated in this demo. The...

View Article

Image may be NSFW.
Clik here to view.

[VB6] ListView / TreeView Extended and Custom Checkboxes

So I've mentioned this and posted snippets in a few threads, but thought it would be good to do a formal sample project on this, especially since I've never seen one done before. By default, the...

View Article

Image may be NSFW.
Clik here to view.

[VB6, Vista+] Core Audio - Change the system default audio device

Changing the system-wide default input and output audio devices WARNING: This feature is not designed to be accessible to programs and uses a COM interface that is undocumented and unsupported by...

View Article
Browsing all 1528 articles
Browse latest View live


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