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

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


Image may be NSFW.
Clik here to view.

[VB6/Win7+] Using the Windows UI Ribbon Framework

Windows UI Ribbon Framework Demo - Intro This is a backport of the most basic Ribbon demo from my now 3-part series on using the Ribbon in twinBASIC. The code is virtually unchanged; just some minor...

View Article

Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] DirectComposition Effects Demo

DirectComposition Effects Demo This demo is a just a basic proof of concept, a close-as-possible port of the Microsoft DirectComposition Effects SDK example. Since the demo is ported as close as...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Simple way to make your VB6 application "Per-Monitor DPI Aware"

This sample project shows how you can automatically resize your form and its controls as well as adjust their font sizes whenever the current DPI changes (the user runs their desktop at a different...

View Article

Image may be NSFW.
Clik here to view.

Python embedding

I have to work across multiple languages more and more. If i need to use a python library for the most part I just write a small python script and then shell it on the command line and read its output....

View Article


Image may be NSFW.
Clik here to view.

Displaying Cyrillic in Unicode components

I was unable to use Cyrillic in the new Unicode components. I was offered to load text lines from a file, but this is inconvenient. Therefore, I wrote a small class that allows you to use Cyrillic...

View Article

VB6 Download image and automatically center in Picture1 control

Download the image and automatically center it in the Picture1 control 'References to: ' ' Microsoft Windows Image Acquisition Library v2.0 ' Microsoft WinHTTP Services, version 5.1 Code: Function...

View Article


Image may be NSFW.
Clik here to view.

VB6 - Unicode PopupMenu Captions and PopupMenu Radio Buttons

This is just a simple class for allowing Popup Menus (also known as Context Menus) to display Unicode captions. It also shows how you can use Radio Buttons (also known as Option Buttons) instead of the...

View Article

Image may be NSFW.
Clik here to view.

Python embedding w/Debugger

I have to work across multiple languages more and more. If i need to use a python library for the most part I just write a small python script and then shell it on the command line and read its output....

View Article


Image may be NSFW.
Clik here to view.

VB6 Chrome app ,Google Chrome APP mode

What is the Google Chrome APP mode? Second kill full screen mode! Have you ever encountered such a situation? I opened N web pages without noticing, and the TAB was too small to see. And then...

View Article

Image may be NSFW.
Clik here to view.

VB6-MultiThread Download

Attached is a simplified Multithreading example based on this download: https://www.vbforums.com/attachment....3&d=1458791120 That project used winhttp.dll which had serious limitations, so I used...

View Article

Image may be NSFW.
Clik here to view.

Serializing array of objects in PropertyBag

There is an interesting example of implementing a custom PropertyBag from Edanmo. Unfortunately, it cannot save arrays of objects. So I modified it a little. You can now save arrays of objects. Code:...

View Article
Browsing all 1468 articles
Browse latest View live


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