Click here to Skip to main content
15,921,548 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 21:43
CWIZO7-Sep-06 21:43 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:09
saqib827-Sep-06 23:09 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 23:11
CWIZO7-Sep-06 23:11 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:14
saqib827-Sep-06 23:14 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO7-Sep-06 23:15
CWIZO7-Sep-06 23:15 
GeneralRe: Read/Write a file on remote pc Pin
saqib827-Sep-06 23:45
saqib827-Sep-06 23:45 
GeneralRe: Read/Write a file on remote pc Pin
CWIZO8-Sep-06 1:32
CWIZO8-Sep-06 1:32 
AnswerRe: Read/Write a file on remote pc Pin
Dave Kreskowiak8-Sep-06 2:58
mveDave Kreskowiak8-Sep-06 2:58 
So long as you have admin permissions to the remote PC, the UNC path to the Windows folder (without any additional shares) would be "\\machineName\C$\Windows\filename". This is what you would use for opening your files.

But this is dependant on your network environment. If the machines are setup in Workgroup mode, you'll probably have problems because the account that your code is running under doesn't have permissions to the remote PC. Each machine maintains its own set of user accounts.

If in a domain environment, this gets much easier, since domain user accounts are common to all machines in the domain.


Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionFile transfer Pin
AB77717-Sep-06 18:57
AB77717-Sep-06 18:57 
AnswerRe: File transfer Pin
Niiiissssshhhhhuuuuu7-Sep-06 19:48
Niiiissssshhhhhuuuuu7-Sep-06 19:48 
GeneralRe: File transfer Pin
AB77717-Sep-06 20:16
AB77717-Sep-06 20:16 
AnswerRe: File transfer Pin
Niiiissssshhhhhuuuuu7-Sep-06 21:42
Niiiissssshhhhhuuuuu7-Sep-06 21:42 
GeneralRe: File transfer Pin
AB77717-Sep-06 22:00
AB77717-Sep-06 22:00 
AnswerRe: File transfer Pin
Niiiissssshhhhhuuuuu10-Sep-06 17:47
Niiiissssshhhhhuuuuu10-Sep-06 17:47 
GeneralRe: File transfer Pin
AB777110-Sep-06 18:23
AB777110-Sep-06 18:23 
Questionfolder and file difference Pin
chandler837-Sep-06 18:50
chandler837-Sep-06 18:50 
AnswerRe: folder and file difference Pin
mikone7-Sep-06 21:18
mikone7-Sep-06 21:18 
AnswerRe: folder and file difference Pin
Stefan Troschuetz7-Sep-06 21:48
Stefan Troschuetz7-Sep-06 21:48 
GeneralRe: folder and file difference Pin
chandler838-Sep-06 0:52
chandler838-Sep-06 0:52 
Questionhow to create a mobile application in C#? Pin
yousafzai7-Sep-06 18:04
yousafzai7-Sep-06 18:04 
AnswerRe: how to create a mobile application in C#? Pin
Nader Elshehabi7-Sep-06 18:19
Nader Elshehabi7-Sep-06 18:19 
GeneralRe: how to create a mobile application in C#? Pin
yousafzai7-Sep-06 18:24
yousafzai7-Sep-06 18:24 
AnswerRe: how to create a mobile application in C#? Pin
Not Active7-Sep-06 18:29
mentorNot Active7-Sep-06 18:29 
QuestionProblem With ListBox Horizontal Scrollbar Pin
Aslam Bari7-Sep-06 17:30
Aslam Bari7-Sep-06 17:30 
AnswerRe: Problem With ListBox Horizontal Scrollbar Pin
Nader Elshehabi7-Sep-06 18:14
Nader Elshehabi7-Sep-06 18:14 

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.