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 ArticleVB6 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 ArticleVB6/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[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[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 ArticleVB6 - 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 ArticlePython 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 Articlehow to get exe command?Decompose multiple parameters
dim cmd as string cmd=command if cmd= a b "c:\tt b\5555" d how to split to 4 args? Is there a way for the system to automatically fetch 4 parameters without manually dealing with double quotes and...
View ArticleDisplaying 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 ArticleVB6 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 ArticleVB6 - 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 ArticlePython 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 ArticleVB6 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 ArticleVB6-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 ArticleSerializing 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 ArticleMSFlexGrid: The power of the FillStyle property
Using the FillStyle property you can change a range of cells with a single command. But you always have to take care about the current selected row, col, rowsel and colsel properties. That's why I...
View Articlevb6 RemoveAddIn_Self
Code: Public VBInstance As VBIDE.VBE Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long Private Declare Function LoadLibrary Lib "kernel32" Alias...
View ArticleVB6 package manager,Like NET's nuget.exe and Python's Npm.exe
Similar to nuget.exe for.NET or Npm.exe for Python, the required files and configurations for a component or control can be downloaded and automatically added to the project (or removed entirely).For...
View ArticleVB6 BezierLines via cGDIPlusCache-Helper
A somewhat less "user-code" requiring solution to a problem, which originally came up here: https://www.vbforums.com/showthread....er-(Math-Help) There's 3 Classes in this Project, which make it a bit...
View Articlevb6 Get Local IP,Get LAN IP
I wonder if there's an easier way? In addition, what is the simple way to obtain the Internet public IP address Code: Private Sub Form_Load() MsgBox Winsock1.LocalIP End Sub Code: Option Explicit...
View Article