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

C#

 
GeneralRe: how to implement xmlDOm in c# Pin
714-Apr-07 17:52
714-Apr-07 17:52 
Questionhow to split string Pin
sooreeagt2-Apr-07 20:22
sooreeagt2-Apr-07 20:22 
AnswerRe: how to split string Pin
Martin#2-Apr-07 20:31
Martin#2-Apr-07 20:31 
AnswerRe: how to split string Pin
Vinay Dornala2-Apr-07 22:43
Vinay Dornala2-Apr-07 22:43 
GeneralRe: how to split string Pin
Martin#2-Apr-07 23:31
Martin#2-Apr-07 23:31 
QuestionPlz help me in changing position of Main menu Pin
EEmaan2-Apr-07 19:25
EEmaan2-Apr-07 19:25 
AnswerRe: Plz help me in changing position of Main menu Pin
Christian Graus2-Apr-07 20:50
protectorChristian Graus2-Apr-07 20:50 
Questiondownload file memory usage Pin
Planker2-Apr-07 17:51
Planker2-Apr-07 17:51 
I am writing a program that downloads a database on remote laptops, When downloading the file I noticed that my program uses about 15 MB of memory and calls Windows Explorer and WE uses about 16 MB of memory, the database file is about 60MB. I was wondering if there is something i am missing to reduce the amount of memory I am using. the laptops that will be using this app are older laptops and I want this process not to interfere with another database app that is very memory intensive. and once the download is complete it does not release the memory to a reasonable level any ideas.

Thanks
Rob

FileStream fs = null; //' To access the local file;
WebRequest req;
//StreamReader sr;

try
{
// This sets up the Request instance
req = WebRequest.Create("http://www.domian.com/file.zip");
// Use a GET since no data is being sent to the web server
req.Method = "GET";
// This causes the round-trip
WebResponse rsp = req.GetResponse();
try
{
// Open the file to stream in the content
fs = new FileStream("file.zip", FileMode.Create);
// Copy the content from the response stream to the file.
CopyData(rsp.GetResponseStream(), fs);
}
AnswerRe: download file memory usage Pin
Phillip M. Hoff2-Apr-07 18:22
Phillip M. Hoff2-Apr-07 18:22 
QuestionHow to remove space in a String? Pin
Khoramdin2-Apr-07 16:16
Khoramdin2-Apr-07 16:16 
AnswerRe: How to remove space in a String? Pin
Christian Graus2-Apr-07 16:19
protectorChristian Graus2-Apr-07 16:19 
AnswerRe: How to remove space in a String? Pin
Muammar©2-Apr-07 20:00
Muammar©2-Apr-07 20:00 
QuestionRe: How to remove space in a String? Pin
JacquesDP2-Apr-07 21:00
JacquesDP2-Apr-07 21:00 
AnswerRe: How to remove space in a String? Pin
Muammar©2-Apr-07 21:26
Muammar©2-Apr-07 21:26 
GeneralRe: How to remove space in a String? Pin
Guffa2-Apr-07 21:38
Guffa2-Apr-07 21:38 
AnswerRe: How to remove space in a String? [modified] Pin
Muammar©2-Apr-07 21:49
Muammar©2-Apr-07 21:49 
AnswerHi i ahv this code just it will remove all spaces and special chars also Pin
sooreeagt2-Apr-07 21:15
sooreeagt2-Apr-07 21:15 
GeneralRe: Hi i ahv this code just it will remove all spaces and special chars also Pin
Christian Graus2-Apr-07 21:22
protectorChristian Graus2-Apr-07 21:22 
GeneralRe: Hi i ahv this code just it will remove all spaces and special chars also Pin
Muammar©2-Apr-07 21:31
Muammar©2-Apr-07 21:31 
GeneralRe: Hi i ahv this code just it will remove all spaces and special chars also Pin
Christian Graus2-Apr-07 22:52
protectorChristian Graus2-Apr-07 22:52 
QuestionC# HELP...here...about the popup file Pin
Missy Glory2-Apr-07 15:32
Missy Glory2-Apr-07 15:32 
AnswerRe: C# HELP...here...about the popup file Pin
Christian Graus2-Apr-07 15:46
protectorChristian Graus2-Apr-07 15:46 
AnswerRe: C# HELP...here...about the popup file Pin
liewcp2-Apr-07 16:07
liewcp2-Apr-07 16:07 
AnswerRe: C# HELP...here...about the popup file Pin
Muammar©2-Apr-07 20:02
Muammar©2-Apr-07 20:02 
Questionhow to run exe file in ram (on the fly) ? Pin
hdv2122-Apr-07 15:22
hdv2122-Apr-07 15:22 

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.