Click here to Skip to main content
15,924,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get fusing of two pixels Pin
leppie3-Mar-05 9:01
leppie3-Mar-05 9:01 
GeneralRe: Get fusing of two pixels Pin
Sasuko3-Mar-05 11:53
Sasuko3-Mar-05 11:53 
QuestionWhere to store data? Pin
chilberto3-Mar-05 0:40
chilberto3-Mar-05 0:40 
AnswerRe: Where to store data? Pin
S. Senthil Kumar3-Mar-05 7:19
S. Senthil Kumar3-Mar-05 7:19 
GeneralP/Invoke memory leakage Pin
ting6683-Mar-05 0:36
ting6683-Mar-05 0:36 
GeneralRe: P/Invoke memory leakage Pin
mav.northwind3-Mar-05 1:36
mav.northwind3-Mar-05 1:36 
QuestionHow to get an HTML page to windows? Pin
Neerudi3-Mar-05 0:15
Neerudi3-Mar-05 0:15 
AnswerRe: How to get an HTML page to windows? Pin
dwark1063-Mar-05 9:52
dwark1063-Mar-05 9:52 
Whatever I understood it,Giving u code I think it might help you. If some variable is not initialized just initialize it.

public StreamReader viewofhtml()
{
sURL = this.txthttp.Text;
WebRequest wrGETURL;
wrGETURL = WebRequest.Create(sURL);
WebProxy myProxy = new WebProxy("myproxy",80);
myProxy.BypassProxyOnLocal = true;
wrGETURL.Proxy = WebProxy.GetDefaultProxy();
Stream objStream;
objStream = wrGETURL.GetResponse().GetResponseStream();
StreamReader objReader = new StreamReader(objStream);
return objReader;
}
public void btn_server_Click(object sender, System.EventArgs e)
{
if(this.txthttp.Text == "" )
{
MessageBox.Show("Enter the URL with http://www.google.com");
return;
}
StreamReader tempreader=viewofhtml();
string sLine="";
int i = 0;
while (sLine!=null)
{
i++;
sLine = tempreader.ReadLine();
if (sLine!=null)
{
output +=sLine.ToString();
//this.richTextBox1.Text=output;
}
}
this.txtdisplay.Text=output;
}


GeneralLocating and Identifying Attribute classes Pin
Tristan Rhodes2-Mar-05 23:47
Tristan Rhodes2-Mar-05 23:47 
Generalcreating and printing .doc files with templates Pin
V.2-Mar-05 22:31
professionalV.2-Mar-05 22:31 
GeneralRe: creating and printing .doc files with templates Pin
Bahadir Cambel3-Mar-05 13:49
Bahadir Cambel3-Mar-05 13:49 
Questionwhy the Events Handlers dosnt works??? Pin
ABBASI_RA2-Mar-05 22:28
ABBASI_RA2-Mar-05 22:28 
GeneralXML node reading Pin
gmeii2-Mar-05 20:24
gmeii2-Mar-05 20:24 
GeneralRe: XML node reading Pin
Heath Stewart2-Mar-05 21:47
protectorHeath Stewart2-Mar-05 21:47 
GeneralHighlight Text Pin
gmeii2-Mar-05 20:16
gmeii2-Mar-05 20:16 
GeneralRe: Highlight Text Pin
Heath Stewart2-Mar-05 21:31
protectorHeath Stewart2-Mar-05 21:31 
GeneralDisplay Chinese character in the Microsoft Flex Grid. Pin
Member 12723812-Mar-05 18:47
Member 12723812-Mar-05 18:47 
QuestionFile reference or Project reference ?? Pin
Md Saleem Navalur2-Mar-05 18:34
Md Saleem Navalur2-Mar-05 18:34 
AnswerRe: File reference or Project reference ?? Pin
Heath Stewart2-Mar-05 21:13
protectorHeath Stewart2-Mar-05 21:13 
QuestionHow to make a datagrid with a column of CheckBox????? Pin
welsrping2-Mar-05 15:37
welsrping2-Mar-05 15:37 
AnswerRe: How to make a datagrid with a column of CheckBox????? Pin
Titan Williams2-Mar-05 17:50
Titan Williams2-Mar-05 17:50 
GeneralRe: How to make a datagrid with a column of CheckBox????? Pin
welsrping3-Mar-05 13:09
welsrping3-Mar-05 13:09 
AnswerRe: How to make a datagrid with a column of CheckBox????? Pin
Titan Williams2-Mar-05 17:51
Titan Williams2-Mar-05 17:51 
AnswerRe: How to make a datagrid with a column of CheckBox????? Pin
Heath Stewart2-Mar-05 21:11
protectorHeath Stewart2-Mar-05 21:11 
GeneralRe: How to make a datagrid with a column of CheckBox????? Pin
welsrping3-Mar-05 13:27
welsrping3-Mar-05 13:27 

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.