Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralOpengl in control Pin
thepersonof8-Mar-05 6:32
thepersonof8-Mar-05 6:32 
GeneralRe: Opengl in control Pin
thepersonof10-Mar-05 5:53
thepersonof10-Mar-05 5:53 
GeneralSocket programming Pin
vinu.netguy8-Mar-05 5:49
vinu.netguy8-Mar-05 5:49 
GeneralRe: Socket programming Pin
TylerBrinks8-Mar-05 6:35
TylerBrinks8-Mar-05 6:35 
GeneralRe: Socket programming Pin
Mike Dimmick8-Mar-05 8:17
Mike Dimmick8-Mar-05 8:17 
GeneralVim plug in for C# Pin
Esmo20008-Mar-05 5:23
Esmo20008-Mar-05 5:23 
GeneralMdiParent controls displays in front of MdiChild form... Pin
new_phoenix8-Mar-05 5:02
new_phoenix8-Mar-05 5:02 
QuestionHow to find out if a file is local or from the network Pin
achoi68-Mar-05 4:49
achoi68-Mar-05 4:49 
Can someone point me in a direction on how to solve this problem?
I have to be able to find out if a file I am pointing to is local or not.

I can point to a file through the network neighborhood or through a networked drive. I think finding out if the file was accessed through the network neighborhood would not be a problem, its when I map a network drive. Once the drive is mapped, it is given a drive letter like any other local drive.

Help would be much appreciated.

PS.
This seems promising...
http://www.codeproject.com/csharp/mapnetdrive.asp[^]
My idea was to try to unmap the drive and if my attempt fails, the drive must be local. The problem is, that if I unmap a drive with a username:pw, I have to remap it with the same username:pw which I may not have.

For the network neighborhood,
Does checking the root of a file work?
ex.
\\NAME\c$
AnswerRe: How to find out if a file is local or from the network Pin
techieboi8-Mar-05 6:02
techieboi8-Mar-05 6:02 
GeneralRe: How to find out if a file is local or from the network Pin
achoi68-Mar-05 7:27
achoi68-Mar-05 7:27 
GeneralReferencelist is changing automaticly Pin
fracalifa8-Mar-05 4:43
fracalifa8-Mar-05 4:43 
Generalbuiding firewalls Pin
Mridang Agarwalla8-Mar-05 3:14
Mridang Agarwalla8-Mar-05 3:14 
GeneralRe: buiding firewalls Pin
TylerBrinks8-Mar-05 6:30
TylerBrinks8-Mar-05 6:30 
Generalparallel processing, grid computing, clusters....whatever! Pin
Mridang Agarwalla8-Mar-05 3:08
Mridang Agarwalla8-Mar-05 3:08 
Generalwant to generate C# code Pin
rmedo8-Mar-05 2:42
rmedo8-Mar-05 2:42 
GeneralRe: want to generate C# code Pin
J4amieC8-Mar-05 3:35
J4amieC8-Mar-05 3:35 
GeneralRe: want to generate C# code Pin
rmedo8-Mar-05 3:42
rmedo8-Mar-05 3:42 
GeneralRe: want to generate C# code Pin
Werdna8-Mar-05 19:17
Werdna8-Mar-05 19:17 
GeneralPass string from Form2 to textbox of Form1 Pin
ESTAN8-Mar-05 2:42
ESTAN8-Mar-05 2:42 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
SimonS8-Mar-05 2:45
SimonS8-Mar-05 2:45 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
ESTAN8-Mar-05 3:26
ESTAN8-Mar-05 3:26 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
ESTAN9-Mar-05 3:52
ESTAN9-Mar-05 3:52 
Generalgraphs in c# Pin
Anonymous8-Mar-05 1:54
Anonymous8-Mar-05 1:54 
GeneralRe: graphs in c# Pin
eggie58-Mar-05 1:57
eggie58-Mar-05 1:57 
GeneralRe: graphs in c# Pin
Anonymous8-Mar-05 2:17
Anonymous8-Mar-05 2:17 

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.