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

Image may be NSFW.
Clik here to view.

VB6 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


Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

[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 Article

FloodFill 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


Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

VB6 + 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 Article

Image may be NSFW.
Clik here to view.

VB6 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 Article


Exporting 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


How 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 Article

Image may be NSFW.
Clik here to view.

VB6 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 Article

Well 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 Article

Image may be NSFW.
Clik here to view.

VB6 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


Image may be NSFW.
Clik here to view.

[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 Article

VB6 - 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 Article


Image may be NSFW.
Clik here to view.

Help 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

Image may be NSFW.
Clik here to view.

[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 Article


Image may be NSFW.
Clik here to view.

VB6 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

Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

[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
Browsing all 1480 articles
Browse latest View live


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