Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: PropertyGrid & UITypeEditor - PLS HELP Pin
leppie18-Jul-05 23:54
leppie18-Jul-05 23:54 
GeneralRe: PropertyGrid & UITypeEditor - PLS HELP Pin
deepakpesit19-Jul-05 2:22
deepakpesit19-Jul-05 2:22 
QuestionHandshaking with an event inside a DLL? Pin
pcssathik18-Jul-05 22:54
pcssathik18-Jul-05 22:54 
GeneralC# handshaking with a Event inside a DLL Pin
Anonymous18-Jul-05 22:47
Anonymous18-Jul-05 22:47 
GeneralUrgent help about calculator Pin
TA-RS18-Jul-05 22:42
TA-RS18-Jul-05 22:42 
GeneralRe: Urgent help about calculator Pin
tatchung18-Jul-05 22:50
tatchung18-Jul-05 22:50 
GeneralFinal Leg!! Pin
tatchung18-Jul-05 22:40
tatchung18-Jul-05 22:40 
GeneralRe: Final Leg!! Pin
Gavin Jeffrey18-Jul-05 22:54
Gavin Jeffrey18-Jul-05 22:54 
1) you can save it anywhere you choose to - try searching for Environment.SpecialFolders.Desktop to find out more about getting the desktop directory. At the moment you are creating a file in the specific path with this line - StreamWriter sr = File.CreateText("c://Temp//SSS.txt");

2)If you want a dialog to appear try looking into the saveFileDialog control (it should be on the toolBox by default)
Then you could use the FileOk event of this control to save the file to wherever the user has selected.
GeneralPredefined Macros Pin
Paul Selormey18-Jul-05 19:36
Paul Selormey18-Jul-05 19:36 
GeneralRe: Predefined Macros Pin
Christian Graus18-Jul-05 19:50
protectorChristian Graus18-Jul-05 19:50 
GeneralRe: Predefined Macros Pin
Paul Selormey18-Jul-05 21:36
Paul Selormey18-Jul-05 21:36 
GeneralRe: Predefined Macros Pin
leppie19-Jul-05 0:05
leppie19-Jul-05 0:05 
GeneralRe: Predefined Macros Pin
Paul Selormey19-Jul-05 4:14
Paul Selormey19-Jul-05 4:14 
GeneralRe: Predefined Macros Pin
Christian Graus19-Jul-05 10:32
protectorChristian Graus19-Jul-05 10:32 
GeneralOptional Parameter in C# Pin
arechno18-Jul-05 18:55
arechno18-Jul-05 18:55 
GeneralRe: Optional Parameter in C# Pin
Christian Graus18-Jul-05 19:02
protectorChristian Graus18-Jul-05 19:02 
GeneralRe: Optional Parameter in C# Pin
arechno18-Jul-05 19:27
arechno18-Jul-05 19:27 
GeneralRe: Optional Parameter in C# Pin
Christian Graus18-Jul-05 19:29
protectorChristian Graus18-Jul-05 19:29 
GeneralRe: Optional Parameter in C# Pin
DavidNohejl19-Jul-05 3:08
DavidNohejl19-Jul-05 3:08 
GeneralRe: Optional Parameter in C# Pin
Dave Doknjas19-Jul-05 16:45
Dave Doknjas19-Jul-05 16:45 
GeneralRe: Optional Parameter in C# Pin
Christian Graus19-Jul-05 16:52
protectorChristian Graus19-Jul-05 16:52 
GeneralMy XmlFile looses its tree hierarchy after saving it Pin
rudy.net18-Jul-05 15:01
rudy.net18-Jul-05 15:01 
GeneralGetLParam function Pin
manhuber18-Jul-05 14:56
manhuber18-Jul-05 14:56 
GeneralRe: GetLParam function Pin
Luis Alonso Ramos18-Jul-05 15:30
Luis Alonso Ramos18-Jul-05 15:30 
GeneralASP('Cache-Control') Pin
felopater18-Jul-05 14:04
felopater18-Jul-05 14:04 

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.