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

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


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, 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


[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

Image may be NSFW.
Clik here to view.

I couldn't just help it :) :)

1. Start a new project. 2. Add a command button to the main form from the toolbox to the left. 3. Double-click on the command button in design mode and add this code: 4. Click on the "run" toolbar...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Cairo BRUSH

I present the class I have named cCairoBrush. It is not entirely complete, in fact initially I had thought of not posting it in CodeBank, but then I changed my mind because it seemed good enough and...

View Article

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

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

View Article


Renaming Items a la Explorer ;)

Have you ever wondered how the Explorer.exe renaming the folder items when you perform it? Just single renaming so far. But it's powefull ;) So be care of what you wish ;) Never BEFORE shown in this...

View Article

how work with pointers on VB6?

now i'm trying creating a Pointers class: Code: Option Explicit Dim pont As Long 'getting a variable pointer: Public Sub GetPointer(ByRef valor As Long) 'permite aceitar o sinal de igual     pont =...

View Article


Image may be NSFW.
Clik here to view.

The ABSOLUTE safest way to rename one item or virtual item ak (IshellItem)

This IS THE MOST reliable and safest way to rename an item (physical or virtual) within the Shell's Namespace (From Desktop and down to whatever level of drives and everything in there between)' Put...

View Article

Virtual Desktops: MoveWindowToDesktop not working, cant get...

I try to move a window of another application to another virtual desktop. Getting the virtual desktops and their Ids is no problem. But using the function MoveWindowToDesktop fails with acces denied...

View Article


Do you need to expose IUknown Inteface WITHOUT INVOLING VB6?

Here to do it and it is straight compatible with Tb since no VB6 code involved. Code: Public Function GetIUnknown() As oleexp.IUnknown   Dim pISF As IShellFolder   Dim ppISF As Long   Dim pIUnk As...

View Article

Does vbRichClient have PDF/A validation?

As the title says: Does vbRichClient have PDF/A validation or are there plans to integrate it? Thank you!

View Article

Here is a little code snippet if you feel for manage your so called "Known...

As the the title says. Manage your known folders by enabling IKnownFolderManager Interface. I have not yet tried all methodes but it seems really useful and powerfull. For example setting up your own...

View Article
Browsing all 1531 articles
Browse latest View live


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