Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am using common dialog control "save" in VB6 . The directory list show space as tilda. How can I see the whole name. I used property of control .flag=cdlOFNLongNames, did not help.

It sounds like you also have multiple select enabled, without cdlOFNExplorer set, which will override long filename support for traditional-style open/save dialogs. The reason for this, is that traditional multi-select requires a space between each filename, so it's not possible to show long filenames, because some might have spaces in their names.
The answer is to enable new-style explorer dialogs. Just make sure you OR-in cdlOFNExplorer, and things should be OK. For example:
.Flags = cdlOFNExplorer Or cdlOFNAllowMultiselect
(that's all one line). You can OR-in any other flags you like, but there's no need to OR-in cdlOFNLongNames, since cdlOFNExplorer already ensures long filename support. If that doesn't solve your problem, let me know.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |