(VB6) source code of Add-In to delete *.vbw files on project load
*.vbw files present a risk. This Add-In deletes them before they can open any project window. Attached Files Delete vbw files (add-in code).zip (3.4 KB)
View Article(VB6) source code of Add-In to get IDE events
This Add-In provides sample code to demonstrate how to setup handlers for IDE events. It is not intended to be used normally, but I'm posting it as a reference of source code needed to handle IDE...
View ArticleBoxShot 3D
Makes a box picture for your software and saves it as a bitmap. Attached Images  Attached Files PlgBlt Example.zip (53.9 KB)
View ArticleShut The Door(an old sailors game)
This is just a simple example of writing a game to pass the time. See what you think of it. Attached Images Â
View ArticleVB6 - 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 '--- DIB Section constants Private Const DIB_RGB_COLORS...
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 Article