Click here to Skip to main content
15,884,629 members
Home / Discussions / C#
   

C#

 
GeneralSlow sorting with XSL Pin
bertcox17-May-04 0:18
bertcox17-May-04 0:18 
GeneralRe: Slow sorting with XSL Pin
Dave Kreskowiak17-May-04 3:39
mveDave Kreskowiak17-May-04 3:39 
GeneralRe: Slow sorting with XSL Pin
Appelz17-May-04 3:44
Appelz17-May-04 3:44 
GeneralRe: Slow sorting with XSL Pin
Dave Kreskowiak17-May-04 6:28
mveDave Kreskowiak17-May-04 6:28 
GeneralRe: Slow sorting with XSL Pin
bertcox17-May-04 3:55
bertcox17-May-04 3:55 
GeneralOpenfiledialog Pin
bertcox16-May-04 22:28
bertcox16-May-04 22:28 
GeneralRe: Openfiledialog Pin
sreejith ss nair17-May-04 1:40
sreejith ss nair17-May-04 1:40 
GeneralRe: Openfiledialog Pin
Heath Stewart17-May-04 3:58
protectorHeath Stewart17-May-04 3:58 
It depends on how you can access that server. If you access the file through a UNC, the OpenFileDialog can do that and most classes in the .NET FCL can use UNC paths. If it's an HTTP path, the OpenFileDialog can reference the file if you have the HTTP server in your Network Locations "directory", but most classes that deal with files won't be able to access it. You'd have to use a WebClient or something to download it first.

One agnostics way would be to use a WebRequest to request the file using the file path. If it's a local or UNC file path, a FileWebRequest is returned. If it's an HTTP URL, an HttpWebRequest is returned.

Really, though - you don't need to care. WebRequest.GetResponse returns a WebResponse which you can use to "download" (copy to local) the file and then you can work on it however you want. The WebRequest/WebResponse classes are pluggable protocols, and you can find out more information about them in the .NET Framework SDK under the System.Net namespace.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Openfiledialog Pin
bertcox17-May-04 4:12
bertcox17-May-04 4:12 
Generalregd dll's Pin
karteek16-May-04 21:43
karteek16-May-04 21:43 
GeneralRe: regd dll's Pin
wibblewibblewibble16-May-04 22:14
wibblewibblewibble16-May-04 22:14 
GeneralRe: regd dll's Pin
Dave Kreskowiak17-May-04 0:50
mveDave Kreskowiak17-May-04 0:50 
GeneralInterProcess Communication in WinForms Pin
Ariadne16-May-04 21:39
Ariadne16-May-04 21:39 
GeneralRe: InterProcess Communication in WinForms Pin
Dave Kreskowiak17-May-04 3:34
mveDave Kreskowiak17-May-04 3:34 
GeneralRe: InterProcess Communication in WinForms Pin
Ariadne17-May-04 3:37
Ariadne17-May-04 3:37 
GeneralRe: InterProcess Communication in WinForms Pin
Dave Kreskowiak17-May-04 3:45
mveDave Kreskowiak17-May-04 3:45 
GeneralRe: InterProcess Communication in WinForms Pin
Ariadne17-May-04 4:04
Ariadne17-May-04 4:04 
GeneralRe: InterProcess Communication in WinForms Pin
Dave Kreskowiak17-May-04 4:26
mveDave Kreskowiak17-May-04 4:26 
GeneralRe: InterProcess Communication in WinForms Pin
Ariadne17-May-04 4:38
Ariadne17-May-04 4:38 
GeneralRe: InterProcess Communication in WinForms Pin
Dave Kreskowiak17-May-04 4:55
mveDave Kreskowiak17-May-04 4:55 
GeneralRe: InterProcess Communication in WinForms Pin
Ariadne17-May-04 5:18
Ariadne17-May-04 5:18 
Generalmesseging Pin
Devkalyan Das16-May-04 20:43
Devkalyan Das16-May-04 20:43 
GeneralRe: messeging Pin
Heath Stewart17-May-04 4:04
protectorHeath Stewart17-May-04 4:04 
GeneralRuntime Polymorphism Pin
sreejith ss nair16-May-04 20:43
sreejith ss nair16-May-04 20:43 
GeneralRe: Runtime Polymorphism Pin
Dave Kreskowiak17-May-04 0:52
mveDave Kreskowiak17-May-04 0:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.