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

excel vba Webview2 Demo(edge Chromium)

Code: 'need rc6.dll Option Explicit Private Declare Function WindowFromAccessibleObject Lib "oleacc" (ByVal pacc As Object, phwnd As Long) As Long Private Declare Function ShowWindow Lib "user32"...

View Article


Image may be NSFW.
Clik here to view.

Demo: Fill GDI+ path with scaled texture image

I had a need for this and noticed that there isn't much information about how to fill a GDI+ path with an image which is scaled or stretched to fit said path. Plenty of simple ways to fill a path with...

View Article


search file or search file content,Everything SDK For vb6,vba

Everything VBA SDK https://www.voidtools.com/forum/down...le.php?id=1087 Everything32.dll down from: https://www.voidtools.com/Everything-SDK.zip VB6 search file body by everything.exe-VBForums...

View Article

TimerEx for vb6,vba, Timer in vb6 Class

TimerEx.cls Code: Option Explicit Dim DoTimes As Long Dim m_Interval As Long, m_Enabled As Boolean, lngTimerID As Long Public Event Timer() Sub TimerProc()     RaiseEvent Timer End Sub Public Property...

View Article

Image may be NSFW.
Clik here to view.

Optical Character Recognition (OCR) With Tesseract3

I needed to perform OCR on values selected out of a larger image by users one-at-a-time, and that led me to Tesseract 3 (there are more recent versions, but I I found V3 first and it worked well enough...

View Article


Get Class Function Address,vba x64 call by address,CallWindowProc

Code: Declare PtrSafe Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As LongPtr, ByVal hwnd As LongPtr, ByVal Msg As LongPtr, ByVal wParam As LongPtr, Optional ByVal...

View Article

Does VB6 ReDim Preserve cause memory reallocation?

Does ReDim Preserve cause memory reallocation? The original array has 1000 members, if you want to change it to 998. Should not re-allocate all the memory? What if it is changed to 1002? Code: dim...

View Article

[VB6] Extended InStr-Function

Here's a small function i use extensively when parsing strings. Arguments: Source = The string to search in Delimiters = The single Delimiters as a String we're searching for LeftToRight = The...

View Article


Release the ultimate version of iSubClass, an efficient, non-crash-free...

I didn't plan to write a new iSubClass, and the problem with no crashes in previous versions has not been perfectly resolved In the past two days mines, I don't know what crazy to suddenly smoke,...

View Article


Image may be NSFW.
Clik here to view.

vb6 Pass structure data without copying,DataType by Pointer

This is taught to me by a Chinese tech expert named *ABC, he is my master Code:     Dim PP As UserInfoPtr, U1 As UserInfo     U1.ID = 135     U1.v = 1     U1.UserName = "TOM"         Dim ClassA As New...

View Article

Excel Open XML,Creating Excel WorkBooks without Automation

https://www.planetsquires.com/protec...p?topic=3208.0 http://www.planetsquires.com/files/xmlExcel.zip how to use on vb6? Hi Guys, I have been busy lately writing an application for my work. A...

View Article

set vb6 controls BorderColor,

Code: setBorderColor Text1.hWnd, vbBlue setBorderColor Picture1.hWnd, vbRed Code: Private Type RECTW     Left                As Long     Top                As Long     Right              As Long...

View Article

Image may be NSFW.
Clik here to view.

VB6 + RC6 MetaStock-Parsing and -Rendering

Just a small Demo, how to: - transfer Data-Records from MetaStock-Files into an SQLite MemDB - render a scrollable Chart, directly from (MemDB) selected Recordsets - including automatic, viewport-based...

View Article


Image may be NSFW.
Clik here to view.

VB6 + RC6 MetaStock-Parsing and GDIPlus-basedRendering

FWIW: The example here is using: - the exact same Metastock-DataFiles - the exact same import routines (into an SQLite-InMemory-DB) - and produces the exact same Graphics-outputs ...as the previous...

View Article

load .net class by vb6,CreateInstanceFrom

Code: ' Creates a .Net object with the CLR 4 without registration.  ' '' Function CreateInstance(assembly As String, typeName As String) As Variant   Const CLR$ = "v4.0.30319"   Static domain As...

View Article


Image may be NSFW.
Clik here to view.

VB6 + RC6 Auto-generated Widget-Forms via direct PSD-FileParsing

As the title says, the demo shows, how a fully transparent Widget-Form can be generated, directly from a PhotoShop *.psd-File... by auto-creating clickable Widget-instances for each Layer in the PSD....

View Article

Automatic translation of sentences

In some other thread, there are discussion about auto spellchecking. Here is the code I use in all my applications to do automatique translation of sentences. NB : You need to have a DeepL key...

View Article


Image may be NSFW.
Clik here to view.

Font Outline and resize

Just started learning to carve letters in wood and needed away to transfer letters and words on the wood. So I made this app .With the print out of the letters and some graphite paper, I can now...

View Article

Image may be NSFW.
Clik here to view.

VB6 ucSimpleTab (a simple, low-code TabCtl without SubClassing)

Just a simple Tab-Control, based on a VB-Label-ControlArray. It looks like this: The User-Code (initializing the TabCtl - and reacting to Events) in the Demo-Form is this: Code: Option Explicit Private...

View Article

VB6/RC6 Question: DPI awareness design/runtime time switch

Olaf, another question, The setting Cairo.SetDPIAwareness that sets DPI awareness for the whole program incl. native VB6 forms. This is very useful and using your PSD parser, creates crisp and clear...

View Article
Browsing all 1509 articles
Browse latest View live


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