[VB6] GDI+ Matrix For Rendering 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 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 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 ArticleHow to track TextBox carot position, notify use if text1.SelStart =...
On the Form two ListBoxes are displayed side by side and a TextBox is on the right side. ListBox 2 is displayed having several CheckBoxes. When the user clicks on a CheckBox, from Private Sub...
View ArticleVB6 compact Charting-Class (using an InMemory-DB as the DataStorage for...
This Demo is making use of the Cairo-Drawing-, as well as the InMemory-DB-features of vbRichClient5. Background: Although the contained cChart-Class is able to render any x,y-ValuePairs - often one has...
View ArticleWell I did it. WMP Remoting in VB6, Change Vis, Control EQ Etc
Not sure where to put this, but I figured here would be as good a place as any. Mods, do what you must if not lol :chuckle: I sat down last week, 11 years after I actually needed it lol, and figured...
View ArticleVB6 Rendering of Nodes in a Graph (with Hover over Connections)
This cairo-(vbRichClient5)-dependent Demo will show (as the Title says) - how to efficiently implement a scenario, where you have to manage "connectable, draggable Boxes" (as in the Graph in the...
View Article[VB6] List files by level from a folder, in natural sorted order using...
cNamespaceWalk I initially brought this interface to VB6 to spite the people asking how to list files in sorted order, without actually having to sort them as they're added (the spite is that the...
View ArticleVB6 - Simple DirectSound interface class to play little sound effects
Here's yet another class to play little sound effects on VB6 apps. Note that I'm not a programmer, never studied anything, so it's not very professional, but it's simple and very easy to use. The code...
View ArticleHelp me: vbRichClient5->vbWidgets-TreeTest--Tree loading speed
1.Slow loading 2.3000 data takes 5 seconds 3.Hope I can help to optimize the code, improve the speed of data loading 4.Whether JSON can be used to load the data string tree control 5.If there is a...
View Article[VB6] - Class MP3 player from memory.
Hello everyone. I've developed a class for asynchronous playback of MP3 files in memory. For example, this can be useful for playing background music from resources, or play from the network avoiding...
View ArticleVB6 Databinding with the DataGrid (used as a Read-Only RowPicker)
Not much to comment, other than what the Title says. More common in such scenarios are perhaps MS-HFlexGrids, but those don't support real DataBinding and are slower, because the Recordset-Data has to...
View Article[VB6] Enhanced Tray Message w/ custom ToolTip icon and feedback, w/o...
IUserNotification2 Interface IUserNotification provided a very simple way to show a notification in the tray area, but it was very limited in terms of interaction. Vista introduced IUserNotification2...
View Article[VB6] ProcCounters & ProcMonitor - instrument your application
An issue many of us deal with is trying different approaches in an application in order to improve performance. Often enough these are big changes, for example ADO Client vs. Server cursor location or...
View Article[VB6] - Editing AVI-files without recompression.
Hello everyone. This is example of work with AVI-files (cut section and save it to a file). Everything is commented: Code: Option Explicit . . . ДЕКЛАРАЦИИ . . . Dim currentFile As String '...
View Article[VB6] - 3D sound using DirectSound.
Hello everyone. The example shows an implementation of 3D sound, every object in three-dimensional space "assigned" the sound. To work need a library dx8vb.dll. Shift / Ctrl - deceleration of 10 times,...
View Article