Message 1 of 4
Frank O's CommonDialog Class & MaxFileSize

Not applicable
02-27-2004
05:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
I'm using Frank's excellent class routine in multi file select mode.
Initially the line below was 256, which allowed only about half a dozen
files to be selected in one go.
I've upped it to 1024 & ran it a couple of times - it works fine, but just
to be sure, I want to check if there's anything I should be aware of.
Does it need to be in multiples of 256?
Private Sub Class_Initialise()
mvarMaxFileSize = 1024 ' DOES THIS CAUSE A PROBLEM?
mvarFileName = String(mvarMaxFileSize, 0)
End Sub
Another Q:
The returned files are out of order: when using the shift key the first
selected is listed last & last selected is first.
The rest in the middle are in order.
Is this consistent? If it is I can work around it, or is there a way to
solve it?
Cheers
TIA
Dave F.