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

Image may be NSFW.
Clik here to view.

Iocp Server by vb6

"This should be considered a very simple server, with many functions not implemented, and only one framework. I don't think there are many people who need this thing, but I have spent a lot of time...

View Article


Image may be NSFW.
Clik here to view.

VB6 ADO-Rs-like "multi-column-container"

As the title already suggests, here the base-code for an implementation - which (other than a free-standing ADO-Rs), comes with support for "direct memory-access to already contained data"... to allow...

View Article


Image may be NSFW.
Clik here to view.

ADO Disconnected Recordsets

Over the last few days, I've been exploring the abilities and limits of ADO disconnected recordsets. These are memory-based recordsets that have no need for any physical database, and can be...

View Article

Single for-loop traversal over 2D/3D arrays

This source code shows the traversal of a two-dimensional array by one for-loop structure. A 2D-array variable (A) is declared. A string variable t is initially set to empty. A variable v is set to...

View Article

vb6 CallByAddress,call fun by address,api call,dll call by address

vb6 CallByAddress,call fun by address,api call,dll call by address form1 code Code: Private Sub Command1_Click() Dim a As Long, b As Long, C As Long   a = 11 b = 22 MsgBox "Result value 2:" &...

View Article


vb6 instrex,Assembly Code Find Image

This should be used to search for image matrices, such as RGB data bytes for a form, and then for RGB data bytes for a small image. You can also find how to change it to a string. Or write another...

View Article

Quick Find String in large files(Supper Instrb by vb6)

Using memory mapping and virtual pointers, there is no need to allocate memory and convert it into a string for further search. If you open an ansi format file, store it in a unicode string variable,...

View Article

VB6 Monitoring/Manipulating clipboard example, clipboard viewer

Code: Dim ClipSetCount  As Long Private Sub Command1_Click()     Clipboard.Clear     Clipboard.SetText Text2.Text End Sub Private Sub Form_Load()     SetClipboardViewer Me.hwnd     Show...

View Article


VB6 InlineAssembler,asm bind to vb6 function

Code: CDeclTrampolin.vbp [InlineAssembler] FileName=CDeclTrampolin.ia Code: Private Declare Function LoadLibrary Lib "kernel32" _                         Alias "LoadLibraryW" ( _...

View Article


Vb6 cdecl wrapper for SQLITE3. DLL

The latest version has perfect support for running in the IDE, no need to press CTRL+F5 In VB6 ide, you need to press CTRL+F5 to run, or press F5 twice before running. After compiling it into EXE,...

View Article

"Open" TreeView Helper Procedures thread

I'm starting this thread as a place where people might post "TreeView helper procedures". I'm just making extensive use of TreeView these days, and have developed quite a library of "helper...

View Article

Image may be NSFW.
Clik here to view.

Out of memory error

Hello! I don't know why this is happening, but it happens like once a year until I do something specific. When I try to add code or save it, it says "Insufficient memory". Last time, I had to make 1...

View Article

VB6 Creating Virtual Disk Source Code with API

Without subst.exe DefineDosDevice(0, sDriveLetter, sMountPath) DefineDosDevice(DDD_REMOVE_DEFINITION, sDriveLetter, sMountPath) Code: Private Sub Command3_Click() DefineDosDevice 0, "M:",...

View Article


Image may be NSFW.
Clik here to view.

[VB6/Win8+] Using DirectX to show emojis with color

ColorEmojiDemo With phones and web browsers, people are getting used to seeing emojis with color everywhere. But disappointingly, the basic Windows GDI functions do not support these, so in VB6 (and...

View Article

Usercontrol Listbox by VB6 RC6+RC6Widgets

CaList1.Width = CaList1.Width / 2 How to add controls before resizing and deleting items? Add item? How to delete the controls drpList and Panel in order to redraw the modified LISTBOX? Unsupported...

View Article


ShowPicFromStream by vb6,Show Picture from Byte array

Code: Dim Gdi1 As New ShowPicStream Private Sub Command1_Click() Picture1.AutoRedraw = True Dim Buffer() As Byte Gdi1.CreateGraphics Picture1.hDC Gdi1.GetFileByte app.path & "\01_alpha-big.png",...

View Article

Image may be NSFW.
Clik here to view.

Hand-rolled windowless Button demo.

An interesting topic about windowless buttons came up recently and it gave me the idea for this demo. Most people are used to controls having a window handle, a window procedure and a device context...

View Article


vb6 /vba call .net com object CLRHost

GitHub - jet2jet/vb2clr: The helper class for Visual Basic for Applications (VBA) 7.0, providing access to CLR (.NET Framework) assemblies and classes. Code: https://github.com/jet2jet/vb2clr Visual...

View Article

get process exe is x64 or x86

Environ("PROCESSOR_ARCHITECTURE") x86, in vba x64,value=AMD64

View Article

Image may be NSFW.
Clik here to view.

Pure VB6 Multithreading example with a standalone ActiveX EXE application

This project is a standalone ActiveX EXE application that shows how to create multiple threads to perform lengthy tasks and then communicate the results via "event-like" callbacks. In this example, we...

View Article
Browsing all 1463 articles
Browse latest View live


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