VB6 - Viewer
I used dilettante's Gossamer Web Server control to make an image viewer. The viewer is actually your browser, so in theory it will deliver anything that your browser will support; pictures, HTML,...
View Article[VBA] Lambda Syntax - No script control or cheats! Happy for ports to VB6
Lambda Expressions I've already posted this library elsewhere but figured that people on VBForums would find it useful too! This is currently only written to work in VBA but I believe a port to VB6...
View ArticleRtlToFromString - Number Bases
For the most part we're already set for converting to/from number bases in VB6. But sometimes people want something more. Here is a little bit more based upon two API calls:...
View ArticleWindows Logo Glyph
Not sure why you'd ever need it, but I stumbled across this: Code: Option Explicit Private Sub Form_Load()   With Label1     .BackColor = vbHighlightText     .ForeColor = vbHighlight...
View ArticleHow to print the information posted on the CwVList object (Included in the...
Hello the community I have a large concern which requires of assistance of the examples, right knowledge how to print the information posted on the CwVList object (Included in the VbWidgets library in...
View Article[VB6 Add-In] Project Examiner
This Add-In is mainly intended for large projects, maybe old or inherited projects that you need to renew or rework, and you have to find what it has and where. It deals with design time issues, not...
View Article[VB6] DirectX 11 Desktop Duplication
This is a work in progress of a remote control utility. This is the screen capturing part using DirectX 11 (DXGI). Code: Option Explicit DefObj A-Z '--- DIB Section constants Private Const...
View ArticleVB6 MDB-RemoteAccess via http(s)
Just a small Demo, which shows how to setup these kind of remote-services and -requests in as simple a manner as possible, using: - a small WebServer of course, to get serverside http-protocol-support...
View ArticleHere's how to play an Integer array as sound.
This code should be added to a module, and then called from wherever you need it. It plays 16bit audio from any one-dimensional Integer array with an LBound of 0. Code: Private Declare Function...
View ArticleVB6 WebView2-Binding (Edge-Chromium)
Have just finished a Binding to the new WebView2-BrowserControl (based on Edge-Chromium). I've included this Binding (all in a single Class, named cWebView2) in the new RC6-version of the...
View ArticleXmlMono Class
I am working on some exports from Autodesk Inventor, as xlsx files. So I start to program in Vb6 to make something to handle these xlsx files (without using excel as object). To read xml files from...
View Article[VB6] DirectX 11 for VB6 1.0 Type Library
This might be useful to someone: https://github.com/wqweto/VBD3D11 The repo includes a port of Beginner Direct3D11 Programming by kevinmoran. This is a screencast from the final 10. Blinn-Phong...
View Article[VB6] Convert a picture to PNG byte-array in memory
This WIA sample converts an StdPicture to a PNG byte-array without using any temporary disk storage. Shows how to use IPicture.SaveAsFile method with plain ADODB.Stream (no CreateStreamOnHGlobal API...
View Article[VB6] VBTixyLand Control
https://github.com/wqweto/VBTixyLand This is a remake of https://tixy.land/ This is using IActiveScript without typelib to host the expressions evaluator in Chakra JS engine. I plan on using smaller...
View ArticlePaint PNGs via DrawIconEx()
Use WIA 2.0 and an ImageList to load a PNG file as a StdPicture. Then draw using DrawIconEx(), which seems to hold the alchemy here. Code: Option Explicit Private Const WIN32_NULL As Long = 0 Private...
View ArticleVB6 Implementing Hierarchies via multiple Interfaces
This is an implementation of the following schema: Leaving out "Faculty" (and the Nodes below "Faculty")... So, the deepest Hierarchy-Structure in the Demo is: CommunityMember (implementing no...
View ArticlevbLibCurl
Did a little more work around Jeffrey Phillips 2005 vblibcurl - initLib() to find/load C dll dependencies on the fly from different paths - removed tlb requirements (all enums covered but not all api...
View Article(VB6) Replicate control interface or encapsulate control into UserControl
This a tool intended to ease the work of recreating the interface of a control. It creates a *.ctl file with all the basic code. It has two options: 1) Encapsulate the control into the UserControl 2)...
View ArticleVB6 Unicode-capable ADO-DataBinding-Control
Not sure, whether some of you have run into this, but the MS-ADODC-Control does not support Unicode when linked to Control-Bindings. So the 3 Binding-Controls in this Demo can be seen as an...
View ArticleEMail validator (MX, and existing email)
I had to validate several thousand of emails, and as quickly as possible. I couldn't find anything on the internet that was free and easy to use. So I wrote a small program that validates emails (you...
View Article