3 Attachment(s)
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 For Each...Next with incorporates shell32 features.
The second one is a more modern one and quite more complex advanced shell programming there IShellItem's are created and exposed with shellnames and shellicons.
For convinience no subclassing routines are added.
Re: How to encapsule in a efficient way both VBA Scripting and IShellItem handling.
error Form1 not in the folder is in your ..\VB6_Kod\VB6 Kod\BrowseForFolder\Form1.frm
Re: How to encapsule in a efficient way both VBA Scripting and IShellItem handling.
The Form1 should be in that zip archive. Just probably in wrong folder. Move it into same folder.
Re: How to encapsule in a efficient way both VBA Scripting and IShellItem handling.
no in zip onli folder temp and no form file
1 Attachment(s)
Re: How to encapsule in a efficient way both VBA Scripting and IShellItem handling.
Sorry, now I have attached a mnew zip file with form file within.
Re: How to encapsule in a efficient way both VBA Scripting and IShellItem handling.
work fine
lost this const
Code:
Public Const LVM_GETIMAGELIST = (LVM_FIRST + 2)
Public Const LVM_SETIMAGELIST = (LVM_FIRST + 3)
Public Const LVSIL_NORMAL = 0
Public Const LVSIL_SMALL = 1
Public Const LVSIL_STATE = 2
1 Attachment(s)
Re: How to encapsule in a efficient way both VBA Scripting and IShellItem handling.
My bad...the mListView32.bas file was linked from another directory. Had forgotten to save it in same folder. Now it's updated.