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

[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 Article


Image may be NSFW.
Clik here to view.

VB6 - 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 Article


vb6 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 Article

RegTypelib 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 Article

To 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


Image may be NSFW.
Clik here to view.

"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

Image may be NSFW.
Clik here to view.

[VB6] How to embed console in a VB6 form

This is the cheapest implementation by using cExec redirection of input/output streams to emulate embedded console of cmd.exe into a black colored textbox on a VB6 form, much similar to how VS Code and...

View Article

Image may be NSFW.
Clik here to view.

[VB6, twinBASIC] Getting the full path of all processes when not elevated

If you've used programs like ProcessHacker or ProcessExplorer you might have noticed that you don't need to run them elevated to see the full paths of all the running processes. If you've ever tried...

View Article


Group View in sysListView32 created from CreteWindowEx.

Can someone give me a small example how to fix this with grouped items in a sysListView32 without posting out a whole sample? I can add groups to the LV but not attaching items to the group.

View Article


[VB6] Event based file system watcher in single self-contained class

This is based on the similarly named System.IO.FileSystemWatcher in .Net Framework. Most of the code is hoisted from a fafalone submission here in these forums. Code: ' cFileSystemWatcher.cls...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] LVGROUP Type doesn't release it's previous values??

I'm trying to use Internet History in one LV Group and in second LV Group are the system drives populated. So good so far but I'm not able to set neither Header text or iTitleImage Image for that...

View Article

A "Wraparound" IUnknown so the 3 members got visible.

Since IUnknown Interface (which is the stemfather of most of all the Interfaces in the Shell32 Interfaces I see it abit awkward why just this interface shall be "hidden" within the OleExp TypeLib (It...

View Article

[VB6/VBA] Pure VB6 impl of AES in CBC mode

Description mdAES.bas is a pure VB6 implementation of AES block cipher and AES in CBC mode w/ PKCS#5 padding. Usage First you have to initialize AES context with CryptoAesInit (incl. initial Nonce for...

View Article


Exposing the IContextMenu in a different way :)

I did find a intressting shell32 API in the MSDN which not have been outed before in this forum. I tried it but I did get a very unexpected error. Maybe we can cooperate to make this work? This API on...

View Article

Image may be NSFW.
Clik here to view.

How to encapsule in a efficient way both VBA Scripting and IShellItem handling.

This demo shows how you in an efficient way you can incorporate, take advantage of and encapsule both methods in one control. The methods are the two way of enumerations. The first one is more basic...

View Article


[VB6/VBA] Pure VB6 impl of AES in CBC and CTR modes

Description mdAES.bas is a pure VB6 implementation of AES block cipher and AES in CBC mode (w/ PKCS#5 padding) and in Counter mode. Usage First you have to initialize AES context with CryptoAesInit...

View Article

[VB6/VBA] Pure VB6 impl of AES in CBC, CTR and GCM modes

Description mdAES.bas is a pure VB6 implementation of AES block cipher and AES in CBC mode (w/ PKCS#5 padding) and in Counter mode. Usage First you have to initialize AES context with CryptoAesInit...

View Article


vbRichClient: Backup solution of development drive

I am trying to establish an efficient backup system. Until now I create backup copies of my project folders each 6 hours using 7z. These backup files are synched with Google Drive via the Google Drive...

View Article

[VB6/VBA] Pure VB6 impl of AES in CBC, CTR, GCM and SIV modes

Description mdAES.bas is a pure VB6 implementation of AES block cipher and AES in CBC mode (w/ PKCS#5 padding) and in Counter mode. Usage First you have to initialize AES context with CryptoAesInit...

View Article

A VERY MUCH used function in my "Browse For Folder" sysTreeView

This function is ONE OF THE TOP MOST repeated and used function in my "Browse For Folder" UserControl so I felt a "guilt" to share it you all ;) Because it's so handy och usable ;) BUT be aware!! IF...

View Article
Browsing all 1522 articles
Browse latest View live


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