Re: Select File Dialog

Tech-Archive recommends: Fix windows errors by optimizing your registry



Ammar,

Although you can't force a certain path as pointed out earlier, you can have a default path by setting the InitialDirectory property of the OpenFileDialog. Go to http://www.geekpedia.com/tutorial67_Using-OpenFileDialog-to-open-files.html for more info on OpenFileDialog.

Best of luck.

"Pure Heart" <PureHeart@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:8B12F15A-7B02-4E5C-B699-148283317538@xxxxxxxxxxxxxxxx
hi

thanx, ok so could i set a defualt path to open directly when the user opens
the dialog ?
--
Ammar S. Mitoori
IT Head QIMCO Co.
Tel : +9744831199
Mobile : +9745378400
Fax : +9744831643


"G Himangi" wrote:

You cannot prevent the user from changing the current folder in the Select
File Dialog.
3rd party commercial components such as Shell MegaPack from
http://www.ssware.com allow you to do this and many more customizations and
behavior control.

G Himangi




"Pure Heart" <PureHeart@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B2E2A379-4695-47C5-91AA-BC4B703CF724@xxxxxxxxxxxxxxxx
> hi
>
> i want the user when he opens the dialog for selecting file i like it > to
> open in specific network path and he cant change the path to another
> folder,
> haw can that be done
> -- > Ammar S. Mitoori
> IT Head QIMCO Co.
> Tel : +9744831199
> Mobile : +9745378400
> Fax : +9744831643




.



Relevant Pages

  • Re: MSDN document is too simple -- sometimes
    ... Considering that the OpenFileDialog doesn't handle any of the file operations, "Read Only" means it is used as a filter, not that it opens the file in read only mode. ... Shanghai Fengpu Software Co. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MSDN document is too simple -- sometimes
    ... Considering that the OpenFileDialog doesn't handle any of the file ... operations, "Read Only" means it is used as a filter, not that it opens the ... Shanghai Fengpu Software Co. ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: OpenFileDialog and SaveFileDialog
    ... That functions opens the file, reads all the text from it and ... The object called dlgOpenFile is of type OpenFileDialog. ... private void OnFileOpen ...
    (microsoft.public.dotnet.languages.csharp)
  • OpenFileDialog (Constant Inital Directory)
    ... I drag the OpenFileDialog into the WZYWIG editor and set all its ... Setting its' InitalDirectory does make the first time it ... opens, open up in the right directory. ... Could somone explain what exactly RestoreDirectory is suppose to do ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Word Mobile 5.0 wont read DOC files RTF OK
    ... I've scoured the web with no luck ... p*ssing off Word Mobile so it's throwing a fit and refusing to open it. ... opens fine. ...
    (microsoft.public.pocketpc)