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 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 Articlehow to change scriptcontrol use js9?
maybe ScriptControl The default is to use the JS5 engine, right? It's also use IActiveScriptSite?
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 ArticleHow do I upgrade to a new version of an OCX control from source or a third...
Many examples of source code downloaded from the website. Some old controls are used, and the controls are lost when the project is opened. can automatically upgrade to a new version? File size is not...
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 ArticleHere's some code to convert between LBA and CHS forms of drive sector addressing
Put this code in a module, and set the first 3 constants to accurately describe the drive you are working with (these are the drive geometry parameters). In the code here, I already have these set for...
View ArticleHow do I enumerate thrue the namespace on a remote server I.E ftp?
Hi everyone! Can I in some way "bind" a Ishellfolder on my local computer to a server ftp? Or do I need to expose a an Interface designed for internet? All help is aprichiaited :) Attached Images
View Article[VB6] - IK "inverse kinematics" solver for 2 segments.
Optimized IK "inverse kinematics" solver for 2 segments. Here is the optimized solution to solve the inverse kinematics problem for 2 segments. Explanation of the algorithm by the original author...
View ArticleVB6 - Capture any Window, even in background, with WinRT /...
This project is a VB6 implementation of the "Windows.Graphics.Capture" engine from the "Windows Runtime API". It demonstrates how to initialize the API, create a "CaptureItem" object for capturing...
View Articlevb6 UserControl GetContainer,Container Hwnd,Container Control Name
Code: Private Sub UserControl_Show() On Error Resume Next Dim ParentControl As Object, ParentControlName As String 'Set ParentControl = GetContainer(Parent.hWnd, ContainerHwnd,...
View ArticleRegTypelib by vb6,UnRegTypelib,Reg tlb File,RegisterTypeLib Visual basic6
Code: Dim Version As String, Tlb As String, TlbGuid As String Tlb = "c:\002olelib1.81.tlb" TlbGuid = GetTlbGuid(Tlb, Version) Debug.Print "tlb file=" & Tlb & vbCrLf & TlbGuid &...
View ArticleTo show the "properties" for a drive, printer or file.
Code: Public Enum SHOP_Flags SHOP_PRINTERNAME = &H1 'pszObjectName points to a printer friendly name SHOP_FILEPATH = &H2 'pszObjectName points to a fully...
View Article"Open As" Dialogue
Another very useful shell32 API which not been mentioned in this forum. This example is made in it's simpliest form. Many other examples as using "ShellExecute" and ShellExecuteEx" API's. It seems this...
View Article