Click here to Skip to main content
16,004,854 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to change text box.text when textbox are disabled. Pin
Christian Graus18-Jan-07 1:47
protectorChristian Graus18-Jan-07 1:47 
GeneralRe: how to change text box.text when textbox are disabled. Pin
Rick van Woudenberg18-Jan-07 2:24
Rick van Woudenberg18-Jan-07 2:24 
GeneralRe: how to change text box.text when textbox are disabled. Pin
V.18-Jan-07 3:33
professionalV.18-Jan-07 3:33 
GeneralRe: how to change text box.text when textbox are disabled. Pin
Christian Graus18-Jan-07 9:21
protectorChristian Graus18-Jan-07 9:21 
QuestionTo write file to other system on LAN Pin
RimiAsh18-Jan-07 1:30
RimiAsh18-Jan-07 1:30 
AnswerRe: To write file to other system on LAN Pin
Dustin Metzgar18-Jan-07 3:28
Dustin Metzgar18-Jan-07 3:28 
GeneralRe: To write file to other system on LAN Pin
RimiAsh20-Jan-07 5:46
RimiAsh20-Jan-07 5:46 
GeneralRe: To write file to other system on LAN Pin
Dustin Metzgar20-Jan-07 10:54
Dustin Metzgar20-Jan-07 10:54 
Well, you should be able to write to a UNC path, but it would have a lot to do with permissions. Your application may be running under a different identity or a lower trust level than is required. For instance, I can successfully run this code on my network:
static void Main(string[] args) {
   FileInfo fi = new FileInfo(@"\\othermachine\C$\IAmATest.txt");
   using (StreamWriter sw = new StreamWriter(fi.OpenWrite())) {
      sw.WriteLine("Hello World!");
   }
   fi.Delete();
}

There's nothing special required to write to this particular path. I have this inside a command line app and I'm running on a domain account, so I know that I have access to write to that path. If you're running under an NT service or IIS, you may want to impersonate a different user account.



QuestionHow I can add seperator between two buttons on toolbar Pin
amitrajput28418-Jan-07 1:08
amitrajput28418-Jan-07 1:08 
AnswerRe: How I can add seperator between two buttons on toolbar Pin
Rick van Woudenberg18-Jan-07 1:16
Rick van Woudenberg18-Jan-07 1:16 
GeneralRe: How I can add seperator between two buttons on toolbar Pin
amitrajput28418-Jan-07 1:25
amitrajput28418-Jan-07 1:25 
GeneralRe: How I can add seperator between two buttons on toolbar Pin
Abisodun18-Jan-07 1:56
Abisodun18-Jan-07 1:56 
AnswerRe: How I can add seperator between two buttons on toolbar Pin
ShermansLagoon18-Jan-07 1:46
ShermansLagoon18-Jan-07 1:46 
QuestionNo automatic close menus [modified] Pin
nadapublicidad18-Jan-07 0:48
nadapublicidad18-Jan-07 0:48 
AnswerRe: No automatic close menus Pin
Rick van Woudenberg18-Jan-07 0:53
Rick van Woudenberg18-Jan-07 0:53 
QuestionHow to invoke delegates from any C# class Pin
Maddie from Dartford18-Jan-07 0:21
Maddie from Dartford18-Jan-07 0:21 
QuestionHow to identify the changes in TextBox? Pin
Nothend18-Jan-07 0:08
Nothend18-Jan-07 0:08 
AnswerRe: How to identify the changes in TextBox? Pin
ChandruIT18-Jan-07 0:19
ChandruIT18-Jan-07 0:19 
GeneralRe: How to identify the changes in TextBox? Pin
Nothend18-Jan-07 0:44
Nothend18-Jan-07 0:44 
GeneralRe: How to identify the changes in TextBox? Pin
ShermansLagoon18-Jan-07 1:16
ShermansLagoon18-Jan-07 1:16 
GeneralRe: How to identify the changes in TextBox? Pin
Nothend18-Jan-07 1:52
Nothend18-Jan-07 1:52 
AnswerRe: How to identify the changes in TextBox? Pin
quiteSmart18-Jan-07 0:25
quiteSmart18-Jan-07 0:25 
QuestionProblems with Generic Collection class. Pin
burrows.stephen17-Jan-07 23:51
burrows.stephen17-Jan-07 23:51 
AnswerRe: Problems with Generic Collection class. Pin
Pete O'Hanlon18-Jan-07 0:00
mvePete O'Hanlon18-Jan-07 0:00 
GeneralRe: Problems with Generic Collection class. Pin
burrows.stephen18-Jan-07 0:45
burrows.stephen18-Jan-07 0:45 

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.