Emulate Dir, Drive, and Files controls

Emulate Dir, Drive, and Files controls

Anonymous
Not applicable
152 Views
1 Reply
Message 1 of 2

Emulate Dir, Drive, and Files controls

Anonymous
Not applicable
Does anyone know how to emulate the Dir, Drive, and Files controls from VB in VBA? Any information will be greatly appreciated. Thanks in advance! - Matt
0 Likes
153 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Matt,

 

It is much easier to use the OpenFile dialog and
SaveAs dialog

provided through the Windows API. Technically, you
do not have

a license to use the Dir, Drive and Files controls
individually in a

VBA host
size=2>environment. I guess that you could write your own control

in VB that incorporated those controls into a
single control and added

some of your own specific functionality, but then
it would just be

easier to use the Windows API dialogs.

 

Joe

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Does
anyone know how to emulate the Dir, Drive, and Files controls from VB in VBA?
Any information will be greatly appreciated. Thanks in advance! -
Matt
0 Likes