[VB6] - Combobox for color selection.
Standard VB combo box does not allow standard means to draw on the list. To work around this limitation, in its module I use OWNERDRAW style combo box. After small completion, you can do anything with...
View Article[VB6] - Circular spectrum visualizer.
Hello everyone! Representing the source code and compiled program graphical visualizer audio spectrum. The sound is analyzed through a standard recording device, i.e. You can select the microphone and...
View Article[VB6] - Custom rendering window.
In Windows 7, there was a remarkable thing - indication of progress on the taskbar button. To use this feature on VB6 (and any other language) you need to create an object TaskBarList, get...
View Article[VB6] Bytarr - String-style operations by wrapping a Byte array
People seem to get tangled up in their underwear a lot trying to fiddle with binary data in String variables. Often they run into nightmares where they convert Unicode "to Unicode" and then back later,...
View ArticleLogin and registry system for application
Hi all As part of my Computing coursework I need to create an application as per a scenario. The full thing is explained in the pdf below: Training Log.pdf Due to my work being deleted, I was forced to...
View ArticleVB 2008 - Creating a register screen using files
Hi all As part of my Computing Coursework, I have to create an application according to a specified scenario, which you can read below: Training Log.pdf We were working on virtual machines running...
View Article[VB6] - Injection to another process.
Everyone knows the utility SPYXX. With it you can do a lot of interesting things. Among its features - View messages sent by the window, and the results of their treatment. I decided to do something...
View Article[VB6] - Calling functions by pointer.
Exploring the function VBA6 figured out a way to call functions the pointer. It's simple. Declare a function prototype (void function), where the first argument will be further transferred to the...
View Article[VB6] Scroller - DataRepeater alternative
If the stock DataRepeater control works well for you that's just great. But sometimes it can be awkward to work with because of its use of data binding and the need for a separate OCX containing the...
View ArticleEnumerate Schannel Cipher Suites
Learning from our experience with BCryptEnumAlgorithms, we can enumerate the Cipher Suites supported by Schannel our system (43 on my system). J.A. Coutts Code: Option Explicit...
View ArticleVB6 Handling of PNG-Sprites in a Game-like Scenario
Well, this small Demo shows, how to properly handle a Sprite-based "Game-Scenario" (using a 64x64 tiled Map of "plain-Grass") - as well as a few other "static Sprites" (as unmoving Trees, and two...
View ArticleVB6 fast MJPG-Stream-Decoding from (http-streamed) WebCams - vbRichClient5
Ok, the title is mentioning it already - this Demo is related to the decoding of "true WebCam-streams" (not to the Cams, which hang on your USB-port), and those Internet-Cams are usually directly...
View Article[VB6] Code Snippet: Converting an hIcon to an hBitmap
So this isn't a full on project (although it will be part of an upcoming one), just some code- doing this conversion in VB turned out to be very difficult for someone unfamiliar with graphics APIs....
View Article[VB6] List/Execute File Handlers: IAssocHandler and IAssocHandlerInvoker...
Association Handlers Demo IAssocHandler | IEnumAssocHandlers | IAssocHandlerInvoker Windows Vista and above provider a shell interface to get a list of all handlers registered to open a particular file...
View Article[VB6] GDI+ Matrix For Rotation/Scale/Shear and Hit Testing
GDI+ offers a matrix object that can be applied to various other GDI+ objects. One of those is the Graphics object (similar to GDI's hDC). With a matrix, we can simultaneously scale, rotate, shear...
View ArticleFloodFill code using pure VB code (no API)
Note it runs slow, but I believe this has more to do with the fact that it uses PSet and Point (rather than getting an array of pixels using GetDibBits and then operating on the array) than it does...
View Article[VB6] API File Drag from multiple paths w/o native OLE or dragsource,...
It took many months of wasting hours, giving up, and revisiting to finally get a working solution, and the only previous VB solution was monstrously complex. I understand very few people will find...
View ArticleVB6 + vbRichClient5 (lightweight, fully Alpha-aware Windowless-Controls)
Just a short Demo, to show how to write Alpha-aware, Windowless-Controls, using Cairo-Drawing against a (Control-covering) BackBuffer-Surface (avoiding AutoRedraw on the Control itself). Note, that...
View ArticleVB6 fast EdgeDetection (direct Pixel-Manipulation on Cairo-Surfaces)
Whilst cairo is known as a VectorGraphics-Library - it supports fast Blending-Operators on its Pixel-Surfaces (aka ImageSurfaces) - and most wrappers around this library will offer (in addition to...
View ArticleExporting crystal report generated from vb6 straight to pdf without the...
Private Sub cmdView_Click(Index As Integer) Select Case Index Case 0 If Me.optRR(0).Value = True Then irisreports (16) If Me.optRR(1).Value = True Then irisreports (17) If Me.optRR(2).Value = True Then...
View Article