|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Default folder in common dialogsIn the File Open and File Save common dialogs, is there a way to specify the
folder that should be presented when the dialog is displayed? Is there a way to specify a default file name that is highlighted in that folder if it exists? -Dan "Dan" <D**@discussions.microsoft.com> wrote in message Presumably you are using the Common Dialog Control.news:BA00DEE5-F844-4CB8-8B98-71758AE8A39C@microsoft.com... > In the File Open and File Save common dialogs, is there a way to specify > the > folder that should be presented when the dialog is displayed? Is there a > way > to specify a default file name that is highlighted in that folder if it > exists? To set the initial directory, assign that folder to the InitDir property of the CDC. To my knowledge, there's no way to actually pre-select a file in the list, but you can assign a file name to the FileName property before showing the dialog box. -- Mike Microsoft MVP Visual Basic
Other interesting topics
Subclassing Help
Delphi For VB Developers (again) Err object in class works and then not works. Reading the contents of a zip file extending Type structure and Run-time error '49': Bad DLL calling convention Scanning for Wordpad.exe program Adjusting Contrast or Brightness in VB6 Installed Program Comms support VB6 Application version |
|||||||||||||||||||||||