PC Review


Reply
Thread Tools Rate Thread

C# 2008 fileopendialog

 
 
Peted
Guest
Posts: n/a
 
      24th Jun 2008
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
 
Reply With Quote
 
 
 
 
KWienhold
Guest
Posts: n/a
 
      24th Jun 2008
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
 
Reply With Quote
 
Peted
Guest
Posts: n/a
 
      24th Jun 2008
My bad,
i got myself totaly confused and made a mistake

to clarify this i should have said

i wanted to use FolderBrowserDialog to browse through a directory
structure, and if there was a shortcut pointing to another directory
be able to select the shortcut and go there,

however it is FolderBrowserDialog that apparently does not show
shortcuts becasue shortcuts are actually files.

and i cant use the OpenFileDialog becasue i cant select folders with
it.

Is it possible tocombine the features of one into the other, i think
to make the FolderBrowserDialog select and use shortcuts would be my
best option.

Is this possible ?

thanks for any help

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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Impersonate FileOpenDialog/ FolderBrowserDialog jdkemme@gmail.com Microsoft VB .NET 8 22nd Jun 2009 08:24 AM
2008 new year,2008 new business, 2008 new life, much cheap and beautiful product will help you which r u like ? yhnetstore5@gmail.com Microsoft C# .NET 0 5th Jan 2008 07:18 PM
FREE DOWNLOAD 2008's SOFTWARE: XSTEEL 13,AUTOCAD 2008,AUTODESK VIZ 2008,ANSYS 11! CD-SOFT2007 Microsoft ASP .NET 0 18th Jul 2007 05:39 PM
FileOpenDialog without a File =?Utf-8?B?cmFuZHkxMjAw?= Microsoft C# .NET 2 6th Oct 2006 03:28 AM
Fileopendialog Anita C Microsoft ASP .NET 1 2nd Dec 2003 07:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:48 PM.