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

Image may be NSFW.
Clik here to view.

Move the control array together

Code: Option Explicit Dim xx As Single, yy As Single Private Sub Picture1_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)     DoMouseDown Button, X, Y End...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Voice Action Program Problems with recognition.

well i was posting in the wrong area now finally in the correct area i can get an answer here we go: I'm using Voice Action a 1999 program made in very old vb6 that does voice recognition and records...

View Article


vb6 everything SDK,quick Search file for vb6,vba

Need Run EveryThing.exe First ! it's support x64 everything.exe,but un suppot about:Lite version Download Portable Zip 64-bit,it's only 2 files,it's funny (Everything.exe,Everything.lng),it's support...

View Article

Extract Styles from HTML as inline CSS

In my project, I had to "clean" HTML that are generated like this PHP Code: <table style='margin-left: -.4pt; border-collapse: collapse; table-layout: auto; border: none;'>     <tbody>...

View Article

Image may be NSFW.
Clik here to view.

UTF-8 Demo

Attached is a UTF-8 demo of several Unicode samples; ASCII, Spanish, Japanese, Chinese, & Hebrew. UTF-8 byte arrays are converted to Unicode strings and back again. An InkEdit Control is utilized...

View Article


RGB TO LONG,Long to rgb-vb6

Code: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Type LongType     longV As Long End Type Private Type RGBN...

View Article

Image may be NSFW.
Clik here to view.

VB6 Slider usercontrol with Range

Can someone please help me with the math to handle Value1 and Value2 properties. For some reason I can't get my head around the math to make it work right. Thanks in advance for any help. UPDATE: Its...

View Article

VB6-Adodc1.Recordset.ActiveConnection.Execute Sql

Code: Adodc1.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=" & App.Path & "\test.mdb" Adodc1.RecordSource = "select * from usertable" Adodc1.Refresh Adodc1Execute "UPDATE...

View Article


Image may be NSFW.
Clik here to view.

VB6 Flood Fill Art

Just something I threw together. All its good for is to pass the time. Add your own patterns and color away. Updated: Added a few more features and patterns . Attached Images   Attached Files...

View Article


Image may be NSFW.
Clik here to view.

VB6 Message Box Control

This is my version of a beat to death message box. What I'd like to know is if it is usable for you . I've lightly tested it and it seems okay , but does it function alright as a usercontrol or should...

View Article

Image may be NSFW.
Clik here to view.

VB6 Capture Pixel from Screen

Gets the pixel color from desktop. Can keep up to 5 colors per session. I find it very helpful when creating graphics for my apps. Give it a try. Enjoy. (please no comments on this or the world will...

View Article

Image may be NSFW.
Clik here to view.

VB6 Project Folder Creator

This will create and add a project folder with selected sub folders(Usercontrol,Classes,Modules,etc). Attached Images   Attached Files Project Folder Maker.zip (3.1 KB)

View Article

VB6 Locks up at breakpoint in Windows 10

I've got VB6 installed and running in Windows 10 after following some tips. Unfortunately, it doesn't behave right. For example, when I set a BREAKPOINT and then RUN the app, it stops at the...

View Article


Image may be NSFW.
Clik here to view.

PicServer as Service

PicServer has been made into a service. It is quite a bit more complex than the original, and is called PicSvc. PicSvc requires the use of NTSVC.ocx. To allow some trouble shooting in the IDE, PicSvc...

View Article

System Wide Got/Lost Focus (subclassing)

This is just a small example of how one might accomplish system wide GotFocus and LostFocus events in VB6. The way it's setup, it's fairly IDE safe. With the Comctl32 subclassing, there are only two...

View Article


InputBox With Password mask,Get screen coordinate position of the input box

You can specify the display position of the input dialog or message box when it starts. After manually moving to the new position, the last position will be remembered, and the new dialog box will be...

View Article

Adjust the size of the borderless window-VB6

Code: Private Const WM_NCLBUTTONDOWN = &HA1 Private Const HTLEFT = 10 Private Const HTRIGHT = 11 Private Const HTTOP = 12 Private Const HTBOTTOM = 15 Private Const HTBOTTOMRIGHT = 17 Private Const...

View Article


Image may be NSFW.
Clik here to view.

VB6 Flip Digit Style Clock from the 70's

Very simple clock code with the graphics that look similar to the flip digit clocks from the 70's . Added the date just for grins Attached Images   Attached Files FlipDigits Clock_Date.zip (8.5 KB)

View Article

Get Library Name by Com DLL with vb6

HOW to get Library Name by Com DLL with vb6? from : Library info.-VBForums https://www.vbforums.com/showthread....6-Library-info Library Excel c:\***\Office16\EXCEL.EXE Microsoft Excel 16.0 Object...

View Article

vb6 everything SDK,quick Search file for vb6,vba

Need Run EveryThing.exe First ! it's support x64 everything.exe,but un suppot about:Lite version Download Portable Zip 64-bit,it's only 2 files,it's funny (Everything.exe,Everything.lng),it's support...

View Article
Browsing all 1460 articles
Browse latest View live