Click here to Skip to main content
15,905,781 members
Home / Discussions / C#
   

C#

 
QuestionPassing Data from a Mdi Child form to its Parent form Pin
joshp121711-Jul-06 8:41
joshp121711-Jul-06 8:41 
AnswerRe: Passing Data from a Mdi Child form to its Parent form [modified] Pin
LongRange.Shooter11-Jul-06 8:49
LongRange.Shooter11-Jul-06 8:49 
AnswerRe: Passing Data from a Mdi Child form to its Parent form Pin
Al~battashy11-Jul-06 19:47
Al~battashy11-Jul-06 19:47 
Questionasp.net + c# website design Pin
chiragvijay11-Jul-06 8:29
chiragvijay11-Jul-06 8:29 
AnswerRe: asp.net + c# website design Pin
Jun Du11-Jul-06 8:52
Jun Du11-Jul-06 8:52 
AnswerRe: asp.net + c# website design Pin
Christian Graus11-Jul-06 8:57
protectorChristian Graus11-Jul-06 8:57 
GeneralRe: asp.net + c# website design Pin
led mike11-Jul-06 9:32
led mike11-Jul-06 9:32 
AnswerRe: asp.net + c# website design Pin
Ravi Bhavnani11-Jul-06 9:18
professionalRavi Bhavnani11-Jul-06 9:18 
GeneralRe: asp.net + c# website design Pin
Christian Graus11-Jul-06 10:13
protectorChristian Graus11-Jul-06 10:13 
QuestionFileIO Permissions Pin
JT McDuffie11-Jul-06 8:24
JT McDuffie11-Jul-06 8:24 
AnswerRe: FileIO Permissions Pin
Dustin Metzgar11-Jul-06 8:33
Dustin Metzgar11-Jul-06 8:33 
QuestionScreensaver questions Pin
Vodstok11-Jul-06 7:04
Vodstok11-Jul-06 7:04 
AnswerRe: Screensaver questions [modified] Pin
Christian Graus11-Jul-06 7:24
protectorChristian Graus11-Jul-06 7:24 
GeneralRe: Screensaver questions Pin
Vodstok11-Jul-06 7:27
Vodstok11-Jul-06 7:27 
GeneralRe: Screensaver questions Pin
Christian Graus11-Jul-06 8:27
protectorChristian Graus11-Jul-06 8:27 
AnswerRe: Screensaver questions Pin
Dustin Metzgar11-Jul-06 7:30
Dustin Metzgar11-Jul-06 7:30 
QuestionStored Procedures (Drag&Drop) Pin
HRiazi11-Jul-06 6:51
HRiazi11-Jul-06 6:51 
AnswerRe: Stored Procedures (Drag&Drop) Pin
Josh Smith11-Jul-06 9:45
Josh Smith11-Jul-06 9:45 
QuestionPassing Data from a Mdi Child form to its Parent form Pin
joshp121711-Jul-06 6:01
joshp121711-Jul-06 6:01 
AnswerNumerous methods Pin
Ennis Ray Lynch, Jr.11-Jul-06 6:07
Ennis Ray Lynch, Jr.11-Jul-06 6:07 
Questiondownload image Pin
TAREQ F ABUZUHRI11-Jul-06 5:14
TAREQ F ABUZUHRI11-Jul-06 5:14 
AnswerRe: download image Pin
Eran Aharonovich11-Jul-06 5:21
Eran Aharonovich11-Jul-06 5:21 
Replace the url with your url and there you have it


// Prepare web request...
HttpWebRequest myRequest =
(HttpWebRequest)WebRequest.Create("http://www.noviway.com");

// We use POST ( we can also use GET )
myRequest.Method = "GET";


// Assign the response object of 'HttpWebRequest' to a 'HttpWebResponse' variable.
HttpWebResponse myHttpWebResponse= (HttpWebResponse)myRequest.GetResponse();

// Display the contents of the page to the console.
Stream streamResponse = myHttpWebResponse.GetResponseStream();


MemoryStream memStream = new MemoryStream();

byte[] readBuffer = new byte[256];

// Read from buffer
int count = streamResponse.Read( readBuffer, 0, 256 );

while (count > 0)
{
memStream.Write(readBuffer, 0, count);

// Read from buffer
count = streamResponse.Read( readBuffer, 0, 256);
}

byte[] originalBuffer = memStream.ToArray();

// Release the response object resources.

streamResponse.Close();

// Close response
myHttpWebResponse.Close();



Eran Aharonovich (eran.aharonovich@gmail.com )
Noviway
GeneralRe: download image Pin
TAREQ F ABUZUHRI11-Jul-06 16:02
TAREQ F ABUZUHRI11-Jul-06 16:02 
GeneralRe: download image Pin
Eran Aharonovich11-Jul-06 20:25
Eran Aharonovich11-Jul-06 20:25 
QuestionUnit Testing a Singleton Pin
Colin Angus Mackay11-Jul-06 5:13
Colin Angus Mackay11-Jul-06 5:13 

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.