On 24 Jun., 06:55, Peted wrote:
> Hi
> is there a way to use the fileopen dialog in c# 2008, so that when i
> am traversing a directory to find a file to open, if i click on a
> shortcut to a file or a shortcut to a directory, it will open the file
> or diretory pointed to by that shortcut.
> Of course if the shortcut is point to a directory it should just take
> to that directory to let me select a file inside.
>
> At the moment i cannot get the fileopen dialog to show any shortcuts
> in the directory i am looking at.
>
> Any help appreciated
>
> thanks
>
> Peted
Normally you would set OpenFileDialog.DereferenceLinks to determine
how the Dialog deals with shortcuts, however, as far as I am aware,
the default setting should already be to follow the shortcut.
Could you possibly post a short example of the code that is causing
the problem?
Kevin
|