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

Image may be NSFW.
Clik here to view.

VB6 - NewSocket 2.5

The orginal CSocket & cSocket2 were designed to emulate the Microsoft Winsock Control. Data would be sent and recovered as variants. On input, the variant was converted to byte array, converted to...

View Article


[vb6] AddressOf for Class, Form, UC methods

This will be of little use to the masses, but can be of good use for thunk creators/users and the curious. VB gives us the AddressOf function which can return the function address of any method within...

View Article


Image may be NSFW.
Clik here to view.

Filter Listview User control

I will attach a zip here for archival, any updates will be on github, free for any use. https://github.com/dzzie/libs/tree/master/filterList Description: small usercontrol that gives you a listview...

View Article

Image may be NSFW.
Clik here to view.

[vb6] - Filter Listview User control

I will attach a zip here for archival, any updates will be on github, free for any use. https://github.com/dzzie/libs/tree/master/filterList Description: small usercontrol that gives you a listview...

View Article

Image may be NSFW.
Clik here to view.

vb6 - OCX: Javascript Engine, debugger, IDE

source: https://github.com/dzzie/duk4vb I have been tinkering with this project for a while now. I think it should be ready to share in the codebank now. binary compatibility has not been set yet but...

View Article


I just found this really cool code sample for getting the MAC address.

I have been looking for something like this for a while now, and somebody on stackoverflow.com had this piece of code that gets the MAC address of the default network card, and also the current IP...

View Article

Image may be NSFW.
Clik here to view.

[VB6] ProgramData for common files

The Wild West Back in those DOS and Win9x days you could pretty much dump files anywhere since there was no real filesystem security. On Windows 2000 and then on its minor update Windows XP, people...

View Article

Image may be NSFW.
Clik here to view.

[VB6] MapStitcher.cls - Create imagemaps from images

Sometimes it can be handy to make use of the PictureClip control or similar approaches to grab and use small images "cut out" from a larger image set up in a grid layout. But usually we have separate...

View Article


Image may be NSFW.
Clik here to view.

Using a VB6 Collection in C++

This is vb6 specific so I am guessing this is probably the best place for it. Sometimes you need to do a task in C/C++ and call it from VB6. Maybe its a library only available in C or you found some...

View Article


Image may be NSFW.
Clik here to view.

Using VB6 Collections, Variants, & Byte Arrays in C++

This is vb6 specific so I am guessing this is probably the best place for it. Sometimes you need to do a task in C/C++ and call it from VB6. Maybe its a library only available in C or you found some...

View Article

Image may be NSFW.
Clik here to view.

ChaCha streaming cipher

this is a C chacha library as a vb compatible dll also an example on working with SafeArrays between C and VB symmetric so you just call it again to decrypt. I compiled with vs2008, release size 42k...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Unnamed Encryption Routine

Working with CNG (Cryptography Next Generation) can sometimes be a little frustrating, and often times MS is slow to add support for newer algorithms. So I came up with my own streaming Encryption...

View Article

Image may be NSFW.
Clik here to view.

Tar, tar.gz, tar.bz2 - Create/Extract

Wrapper for Yoshioka Tsuneo's open source C tar32.dll http://openlab.ring.gr.jp/tsuneo/tar32/index-e.html Code: TAR32.DLL is a compression and archive library. This library can...

View Article


Closing File Select Dialog

closing a dialog window called from a process can have problems as the code will stop running while the dialog is open a simple solution is a second exe file to find and close the dialog compile this...

View Article

Increase Stack Size in a Vb6 exe

I want to share my method to increase stack suze for VB6. (I need that for M2000 Interpreter, so now I can calll 14500 times the same function...in m2000 (so more in vb6 inside)) I made a bat file, and...

View Article


[VB6] Code Snippet: View shortcut path w/variables unexpanded:...

Shortcuts are actually far more complex than most people realize even after dealing with the IShellLink interface. The really technical bits are hidden behind a whole other interface:...

View Article

[VB6] Code Snippet: Make your shortcuts request elevation with...

This is related to my other recent post on this interface, [VB6] Code Snippet: View shortcut path w/variables unexpanded: IShellLinkDataList. Making shortcuts to your program for Run As Administrator...

View Article


[VB6][vbRichClient] Slither-like Game

Hi, on free time just for fun I wrote this Slither-Like Game Enjoy! I don't know how to play Multiple sounds at same time. (I mean to play even same sound with a slight delay) I found a Module:...

View Article

Image may be NSFW.
Clik here to view.

Getting OS, Ram, CPU information

Over the years I have used many methods for getting the above information. None have been entirely satisfactory or involved long code. Recently I came across the WMI classes that are part of all...

View Article

[VB6] Code Snippet: Load Language Specific resource String. FindResourceEx

This came up in another thread. A lot of declarations out there for FindResourceEx for VB6 aren't too accurate, probably a relic of people still using APIViewer or the like. FindStringResourceEx() was...

View Article
Browsing all 1469 articles
Browse latest View live


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