An open API service indexing awesome lists of open source software.

https://github.com/fafalone/miscdemos

Old VB6 demos of mine converted to tB with no additional features/notes
https://github.com/fafalone/miscdemos

Last synced: 5 months ago
JSON representation

Old VB6 demos of mine converted to tB with no additional features/notes

Awesome Lists containing this project

README

          

# MiscDemos
Old VB6 demos of mine converted to tB with no additional features/notes.\
All projects have been updated to use WinDevLib instead of oleexp.tlb and/or local API defs, and to support x64 builds.

**IFileDialog64** - This shows conversion of my VB6 project [[VB6] Using the new IFileDialog interface for customizable Open/Save](https://www.vbforums.com/showthread.php?786031-VB6-Using-the-new-IFileDialog-interface-for-customizable-Open-Save-(TLB-Vista-)) at each stage in converting to x64: The original VB6 import that works as-is with no modification, switching definitions to WinDevLib, updating for x64 support, and finally eliminating unncessary v-table swapping by using new tB features.

**ITaskbarListDemo** - Show an overlay icon, progress bar, custom thumbnail with buttons, and more on your app's Taskbar item. A port of [[VB6] Win7 Taskbar Features with ITaskbarList3 : overlay, progress in taskbar, etc](https://www.vbforums.com/showthread.php?786173).

**ShellLibrarySample** - How to use the features of Win7+ Library folders. A port of [[VB6] Working with Libraries (Win7+)](https://www.vbforums.com/showthread.php?785423)

**SendToDemo** - Shows how to pop up the Send To context menu for files. A port of [[VB6, Vista+] Add the Windows Send To submenu to your popup menu](https://www.vbforums.com/showthread.php?839949-VB6-Vista-Add-the-Windows-Send-To-submenu-to-your-popup-menu)

**MP3CoverArt** - Add album art to mp3 files. A port of [[VB6] Write MP3 Album Art and other tags using the Windows Property System](https://www.vbforums.com/showthread.php?880337-VB6-Write-MP3-Album-Art-and-other-tags-using-the-Windows-Property-System)

**VirtualFileDragDrop** - Drag and drop files that aren't created until actually dropped. A port of [[VB6] Virtual File Drag Drop](https://www.vbforums.com/showthread.php?866503-VB6-Virtual-File-Drag-Drop)

**cNamespaceWalk** - A class wrapper for INamespaceWalk, lists folder contents by shell order with levels and cancel options. A port of [[VB6] List files by level from a folder, in natural sorted order using INamespaceWalk](https://www.vbforums.com/showthread.php?794171-VB6-List-files-by-level-from-a-folder-in-natural-sorted-order-using-INamespaceWalk). Some important lessons for x64 conversion: Switched comctl32.ocx for VBCCR and made things sizable with anchors, switching to WDL meant some changes in the class since the VB-hack of needing double implementations of the callback isn't preserved, and an important reminder about the pitfalls of taking shortcuts with String pointers... instead of just passing StrPtr(string), `CoTaskMemAlloc` was needed.

**BrowseForFolderFilter** - Shows how to filter the contents of `SHBrowseForFolder` dialog using `IFolderFilter`. A port of [[VB6] SHBrowseForFolder - Custom filter for shown items: BFFM_IUNKNOWN/IFolderFilter](https://www.vbforums.com/showthread.php?839997-VB6-SHBrowseForFolder-Custom-filter-for-shown-items-BFFM_IUNKNOWN-IFolderFilter). Added minor new features to toggle whether .zip/.cab files count as folders and use of anchors to make all form elements resize/move without new code.

**JumpList** - Add tasks and custom items to the Taskbar right-click menu for your app. A port of [[VB6] Adding Custom Tasks and Items to the Jump List (Taskbar Right-click)](https://www.vbforums.com/showthread.php?878269-VB6-Adding-Custom-Tasks-and-Items-to-the-Jump-List-(Taskbar-Right-click)).

**LVDynamicResize / VirtualLVDynamicResize** - Resize ListView icons on the fly. Ports of [[VB6] Dynamic Resize: Use a slider to change ListView icon/thumbnail size on the fly](https://www.vbforums.com/showthread.php?851765-VB6-Dynamic-Resize-Use-a-slider-to-change-ListView-icon-thumbnail-size-on-the-fly). Replaces comctl32.ocx ListView and Sliders with their new native tB replacements as well. (Note: Easy to miss, but note how the imported manifest from the vb6 .res file is also edited, to change `processorArchitecture` fields to * for x64 support._