Click here to Skip to main content
15,915,501 members
Home / Discussions / C#
   

C#

 
QuestionDatatypes in Excel Sheet Pin
Mahi.Ragava14-Dec-05 22:41
Mahi.Ragava14-Dec-05 22:41 
Questioninstalling application to a server Pin
bwagz14-Dec-05 22:40
bwagz14-Dec-05 22:40 
Questiondate validity Pin
fmardani14-Dec-05 22:38
fmardani14-Dec-05 22:38 
AnswerRe: date validity Pin
tatchung14-Dec-05 23:12
tatchung14-Dec-05 23:12 
AnswerRe: date validity Pin
Polis Pilavas15-Dec-05 2:17
Polis Pilavas15-Dec-05 2:17 
QuestionHow to add a TextBox control into a ToolBar? Pin
Andrew010514-Dec-05 22:22
Andrew010514-Dec-05 22:22 
AnswerRe: How to add a TextBox control into a ToolBar? Pin
albCode14-Dec-05 22:37
albCode14-Dec-05 22:37 
QuestionProxy with authentication retire something ,, help me!!! Pin
icerein14-Dec-05 21:28
icerein14-Dec-05 21:28 
Hi friends,

the follow code will be run normally in WindowsApplication:

string userName = "a";
string userPass = "a";
string address = "192.168.18.145";
int port = 8080;

WebProxy myproxy = new WebProxy(address , port);
NetworkCredential credentials = new NetworkCredential(userName, userPass, null);
myproxy.Credentials = credentials;

WebRequest rqt = WebRequest.Create("http://www.google.com");
rqt.Proxy = myproxy;
rqt.PreAuthenticate = true;

//in SmartDeviceApplication,,the follow sentance cause exception
WebResponse rsp = rqt.GetResponse();

System.IO.Stream stream = rsp.GetResponseStream();
System.IO.StreamReader reader = new System.IO.StreamReader(stream);
this.textBox1.Text = reader.ReadToEnd();

stream.Close();
reader.Close();


but in the SmartDeviceApplication,,it will cause the problem :
The response did not contain an end of entity mark.

Can you tell me why and how to solve the problem??
Thank you !!

Questiongetting a bluetooth connection from pc to mda Pin
Radi8614-Dec-05 20:53
Radi8614-Dec-05 20:53 
Questionpassing Value from one windows form to another Pin
A.Grover14-Dec-05 19:39
A.Grover14-Dec-05 19:39 
AnswerRe: passing Value from one windows form to another Pin
Colin Angus Mackay14-Dec-05 20:22
Colin Angus Mackay14-Dec-05 20:22 
AnswerRe: passing Value from one windows form to another Pin
tatchung14-Dec-05 20:29
tatchung14-Dec-05 20:29 
AnswerRe: passing Value from one windows form to another Pin
Anbuselvan14-Dec-05 20:32
Anbuselvan14-Dec-05 20:32 
AnswerRe: passing Value from one windows form to another Pin
albCode14-Dec-05 20:46
albCode14-Dec-05 20:46 
QuestionCalling C# COM Object from VC++ 6.0 Pin
Soaring Eagle14-Dec-05 19:15
Soaring Eagle14-Dec-05 19:15 
AnswerRe: Calling C# COM Object from VC++ 6.0 Pin
A.Grover14-Dec-05 19:53
A.Grover14-Dec-05 19:53 
GeneralRe: Calling C# COM Object from VC++ 6.0 Pin
Soaring Eagle14-Dec-05 20:39
Soaring Eagle14-Dec-05 20:39 
GeneralRe: Calling C# COM Object from VC++ 6.0 Pin
A.Grover14-Dec-05 23:14
A.Grover14-Dec-05 23:14 
GeneralRe: Calling C# COM Object from VC++ 6.0 Pin
Soaring Eagle14-Dec-05 23:34
Soaring Eagle14-Dec-05 23:34 
QuestionRAS Pin
Avishay18714-Dec-05 19:13
Avishay18714-Dec-05 19:13 
QuestionTo Increase the height of Windows Forms? Pin
MudkiSekhon14-Dec-05 18:51
MudkiSekhon14-Dec-05 18:51 
AnswerRe: To Increase the height of Windows Forms? Pin
Soaring Eagle14-Dec-05 19:02
Soaring Eagle14-Dec-05 19:02 
GeneralRe: To Increase the height of Windows Forms? Pin
MudkiSekhon14-Dec-05 19:19
MudkiSekhon14-Dec-05 19:19 
Questioncrystal report question Pin
lior654#hotmail.com14-Dec-05 18:29
lior654#hotmail.com14-Dec-05 18:29 
QuestionDissecting Exception.String Pin
redfish3414-Dec-05 17:53
redfish3414-Dec-05 17:53 

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.