Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
QuestionC# Video Tutorials Pin
shatterstar64572-Mar-06 12:16
shatterstar64572-Mar-06 12:16 
AnswerRe: C# Video Tutorials Pin
renjithkr2-Mar-06 22:25
renjithkr2-Mar-06 22:25 
QuestionHTML vriable to C# Pin
ytubis2-Mar-06 11:36
ytubis2-Mar-06 11:36 
AnswerRe: HTML vriable to C# Pin
Curtis Schlak.2-Mar-06 12:24
Curtis Schlak.2-Mar-06 12:24 
GeneralRe: HTML vriable to C# Pin
ytubis2-Mar-06 12:38
ytubis2-Mar-06 12:38 
GeneralRe: HTML vriable to C# Pin
Curtis Schlak.2-Mar-06 13:21
Curtis Schlak.2-Mar-06 13:21 
QuestionVSTO Excel buttons Pin
Drew McGhie2-Mar-06 11:30
Drew McGhie2-Mar-06 11:30 
Question"unable to setablish connection to network" exception Pin
amresawy2-Mar-06 10:11
amresawy2-Mar-06 10:11 
hi all,i'm creating a mobile appliction with ms vs2005 release edition, im using a webservice from www.webservicex.com and i get the exception with the details :

Status :System.Net.WebExceptionStatus.ConnectFailure

System.Net.WebException was unhandled
Message="Could not establish connection to network."
StackTrace:
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke()
at DeviceApplication2.net.webservicex.www.lengthUnit.ChangeLengthUnit()
at DeviceApplication2.Form1.button1_Click()
at System.Windows.Forms.Control.onclick()
at System.Windows.Forms.Button.onclick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at DeviceApplication2.Program.Main()

&here's my code:

private void button1_Click(object sender, EventArgs e)
{

net.webservicex.www.lengthUnit l = new
DeviceApplication2.net.webservicex.www.lengthUnit();
double x = l.ChangeLengthUnit(120, DeviceApplication2.net.webservicex.www.Lengths.Feet, DeviceApplication2.net.webservicex.www.Lengths.Meters);
MessageBox.Show(x.ToString());

}



please tell me where is the error (i'm deploying it using the device emulator and the active sync program)
AnswerRe: "unable to setablish connection to network" exception Pin
Vasudevan Deepak Kumar2-Mar-06 21:08
Vasudevan Deepak Kumar2-Mar-06 21:08 
QuestionCall C# DLL from unmanaged C++: question on string Pin
Koushik Biswas2-Mar-06 10:05
Koushik Biswas2-Mar-06 10:05 
QuestionRegex and Replace Pin
eggsovereasy2-Mar-06 9:39
eggsovereasy2-Mar-06 9:39 
AnswerRe: Regex and Replace Pin
Guffa2-Mar-06 9:44
Guffa2-Mar-06 9:44 
GeneralRe: Regex and Replace Pin
eggsovereasy2-Mar-06 9:50
eggsovereasy2-Mar-06 9:50 
GeneralRe: Regex and Replace Pin
Nadia Monalisa2-Mar-06 10:04
Nadia Monalisa2-Mar-06 10:04 
GeneralRe: Regex and Replace Pin
Paul Conrad2-Mar-06 18:51
professionalPaul Conrad2-Mar-06 18:51 
Questionextracting values of meta tags in html Pin
rizwan_rashid2-Mar-06 9:19
rizwan_rashid2-Mar-06 9:19 
QuestionDisplaying an xml file on the Command Prompt Pin
Rajareet2-Mar-06 9:01
Rajareet2-Mar-06 9:01 
QuestionSerial Communications Pin
McSmack2-Mar-06 7:29
McSmack2-Mar-06 7:29 
Question"unable to connect to remtoe server" error Pin
amresawy2-Mar-06 7:11
amresawy2-Mar-06 7:11 
AnswerRe: Reading data from sound card Pin
Dan Neely2-Mar-06 7:11
Dan Neely2-Mar-06 7:11 
GeneralRe: Reading data from sound card Pin
Dan Neely2-Mar-06 7:44
Dan Neely2-Mar-06 7:44 
Question"Cannot implicitly convert ... " kind of error Pin
Pete Madden2-Mar-06 6:02
Pete Madden2-Mar-06 6:02 
AnswerRe: "Cannot implicitly convert ... " kind of error Pin
leppie2-Mar-06 6:19
leppie2-Mar-06 6:19 
GeneralRe: "Cannot implicitly convert ... " kind of error Pin
Pete Madden2-Mar-06 6:21
Pete Madden2-Mar-06 6:21 
QuestionFinding MousePointer in WinForms Pin
VenkataRamana.Gali2-Mar-06 5:35
VenkataRamana.Gali2-Mar-06 5:35 

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.