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

[VB6] Port for use DX9 in VB6.

Port and some examples: https://yadi.sk/d/2L5Yh8Yo39dfnY The source of dx_vb.dll (C++ 2008): https://yadi.sk/d/aggh01cn39dg5S The source of d3dx_sc.dll (C++ 2008): https://yadi.sk/d/Y9FOQIKB39dgWP To...

View Article


Image may be NSFW.
Clik here to view.

[VB6] SHFolderDlg class: BrowseForFolder

A VB6 Class with one Method: BrowseForFolder() It raises a Shell dialog for browsing to a folder. You can specify the "browse root" as well as an optional StartPath under that for the dialog to show...

View Article


Image may be NSFW.
Clik here to view.

[VB6, Vista+] Core Audio - Monitor for disabled/active, default, and property...

Monitoring audio hardware for changes At first glance, the IMMNotificationClient interface looks like it's simple and straightforward. And in the IDE it is, but it turns out when compiled all normal...

View Article

Image may be NSFW.
Clik here to view.

[VB6] ADO Recordset data to custom XML

This demo uses SAX to write an XML document in a custom format. Even though an ADO Recordset.Save method can write XML output to disk, this uses a proprietary serialization schema your program has no...

View Article

Image may be NSFW.
Clik here to view.

[VB6] OWM: How lean is my program?

A tool meant to help answer the question "How lean is my program?" OWM runs a specified program and samples its performance until completion. Then the final measurements are displayed, and may...

View Article


Multi-Monitor Routines (and "Better" routines even for single monitor systems)

Well, I recently helped someone solve the problem of centering a form on a secondary monitor. At that time, I had the necessary routines, but they weren't cleaned up as much as I'd like. And a couple...

View Article

Image may be NSFW.
Clik here to view.

vbRichClient5 SQLite Database Definition & Creation Helper Classes

This is some older code of mine that I've just updated to work with vbRichClient5 and to support Serialization/Deserialization. It may even have some bug fixes over the last publicly available version...

View Article

Image may be NSFW.
Clik here to view.

[VB6] List and view Alternate Data Streams using GetFileInformationByHandleEx

So I was playing around with this last night and thought it would make a good demo, since while it seems like a single API would be straightforward it turns out this is fairly complex. Alternate Data...

View Article


Image may be NSFW.
Clik here to view.

Unicode aware VB6 functions replacement

Hi, here is W replacement for several native VB6 functions / properties: - Dir -> DirW() - MkDir -> MkDirW() - Environ -> EnvironW() - App.Path -> AppPathW() - App.ExeName ->...

View Article


Here's a better way to generate random nums than using Rnd

Using Rnd always gives you the same set of numbers, whenever you start the program. Even if you use Randomize first to set a random number seed at the start of the program, it will eventually cycle...

View Article

[VB6] Convert CSV to Excel Using ADO

A piece of code I thought might be useful to some. Caveat first... Won't be the ideal solution for everyone. Having Microsoft Excel on the computer is not a requirement. Including an ADO reference is....

View Article

Image may be NSFW.
Clik here to view.

[VB6] VB6.tlb - Passing a ParamArray without Copying

The Issue: How do you access a ParamArray, and pass it to another function, without copying it. The Answer: Pointer magic. ParamArrays are really just a Variant Array - managed by the runtime. For...

View Article

Possible fix to the improved random generator technique I previously described

In this thread http://www.vbforums.com/showthread.p...than-using-Rnd I mentioned gave a description of how to use CryptGenRandom to generate completely secure random numbers. However one person there...

View Article


Image may be NSFW.
Clik here to view.

[VB6] FIRENZE LABEL - label control with so many functions

FIRENZE LABEL version 1.1.1 last actualization: 26.3.2017 Created by Martin Vartiak, powered by Cairo Graphics and vbRichClient-Framework. LICENSE: http://creativecommons.org/licenses/...1.0/fi/deed.en...

View Article

Image may be NSFW.
Clik here to view.

FontAwesome-SVG-Resources (per vbRichClient5)

Posted, due to a request in this related thread here (the nice Firenze-Label-Project by porkynet): http://www.vbforums.com/showthread.p...many-functions Those who are doing some Web-Development...

View Article


Image may be NSFW.
Clik here to view.

[VB6] Manifest Creator II

This is the second version of this application. The previous version will no longer be maintained. The project simply creates application-manifests that can be written to disk, clipboard, or VB...

View Article

Image may be NSFW.
Clik here to view.

Drag form by any "gray" space rather than just the title-bar

A special thanks to LaVolpe for coming up with the best idea on doing this. Sure, most of us know how to drag a form around by the form's own "gray" space. But what if we also want labels to drag it,...

View Article


Image may be NSFW.
Clik here to view.

Xor Cipher - Revisited

Beginners are often attracted to the simple XOR cipher. Besides having serious limitations as ciphers go, they usually try to approach it ignoring many important topics. The first one is that most...

View Article

Image may be NSFW.
Clik here to view.

Visual Basic Classic - My VB6 fork

Hello, I am new in this forum. I want to present a project that I am doing, using the same VB6 RAID and adding new functions as support for new Windows styles. This is the project page Attached Images...

View Article

Image may be NSFW.
Clik here to view.

[VB6] SizeGrip without StatusBar

Some controls will get this for you automatically. For example when ScrollBars join at the lower-right corner of the Form, or you have a StatusBar, etc. However when you don't have or want these but...

View Article
Browsing all 1492 articles
Browse latest View live


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