Answer Questions
00dave HttpWebRequest fails on some computers (weird...)
Hi all, I got a strange problem with HttpWebRequest code, failing on some computers, but i can't reproduce it on either of my 3 different computers here. Following is the code snippet causing the error (on some machine configurations): HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http: //someurl.tld/somefile.txt"); /* --> optional block */ request.KeepAlive = false; request.ProtocolVersion = HttpVersion.Version10; request ...Show All
michael olson Did asynchronous execution change in 2.0
hello, i have this code that called method asynchronously through the delegate class with the begininvoke and endinvoke methods. Exceptions could be thrown withing the methods which were always caught by the framework and rethrown when endinvoke was called. Has this now changed as my exceptions are no longer being caught and rethrown, and just bringingt the whole app down as they are unhandled. he is sample code that i use to denote the changes. ...Show All
Part Time Australian Import a text file in web page using stream
Hello,all. I am working on a project in which I have to import file(s) containing email addresses and put these email addresses in a text files using streams. My situation is that when a button is clicked the code should run and pick the data(email addresses) from some other file(s) and put them (email addresses) in text file(s) using streams. can anyone help please. I need it urgently. Thanks in advance. hello all, Please any one can give ...Show All
Ankaiah http://www.microsoft.com/ to PDF (looking for Component)
does any one know any component that can be manipulate to c#, in order to convert http://www.microsoft.com/ to a pdf file I've tried: Adobe Acrobat, abcPDF, ClickTo Convert, CutePdf, PDF995, PrimoPDF, Ultra Image, PDFizer, giosPDF, HTML2PDF, easyPDF, Itext, iTextSharp, pdfOnline ... etc. Many Thankz Chris f1 Get the latest Office Word 2007 and install the Sav ...Show All
Anders Dalvander High performance sockets and SslStream
Hi guys, I'm involved in a project where we need a high performance comms engine, capable of communicating with several thousands of clients simultaneously. My question is, would using SSLstream for normal channel encryption be fast enough i.e. is it recommended for high performance comms I was thinking of alternatives, one of which being: Use a TCPClient and SSLStream to authenticate the server, perform symmetric key exchange, either with the ...Show All
Bill Sampler Routing web service calls using SOAP extension
Is there anyway by which I can route my web service calls using SOAP extension Can u please elaborate it more. What does routing means ...Show All
lil_pepe "Schema does not exist in the set."
I'm using VC# 2005 Express. I have created an XML dataset schema, but I get the following error in the error list window. What does it mean I can't find the meaning anywhere in the help. Error loading schema 'C:\Documents and Settings\Lesley\my documents\visual studio 2005\projects\DRM\DRM\DrmDataSet1.xsd': Schema does not exist in the set. Parameter name: schema Thanks in advance. Lesley Hi, Thanks for t ...Show All
Kevin Cogger new to .net
hello: what is the new in visual studio .net 2005 Also look at http://www.gotdotnet.com/team/clr/bcl/techarticles/techarticles/bclpdcpresentation.zip for what's new in the CLR, and http://msdn.microsoft.com/asp.net/whidbey/aspnetwhidbey.aspx for what's new in ASP. This information hasnt yet been ceintralized so it's dotted around the place on MSDN. Regards, Kit ...Show All
Benny Au-Young Multi-threading reference book
Hi. Could anyone recommend a decent reference book for multi-threading I have seen a couple of books on amazon etc. but various reviews claim they are mostly regurgitated MSDN articles. I am building a .NET remotable Client-Server application using c#. There will be different processes running concurrently (hence the multi-threading) on which I would like to run remoting events etc. When I needed a book on remoting Ingo Rammer's ThinkTectu ...Show All
WoayChee Appendchild not to root
Hi, I'm new to using XML and I'm wondering how to add nodes to a place that isn't the root. This is a sample of my XML file: < xml version="1.0" encoding="utf-8" > <users> <user id="1"> <login>fred</login> <pin>1234</pin> <balance>10000.05</balance> <name>Fred Blogs</name> <transactions> & ...Show All
DeanChalk Working with Web Services in Visual Studio 2005
H i all, I'm new to ASP.NET and web services. I'm able to create a web service successfully.And i tried to add it as a web referrence to another ASP.NET application.The Add Web Referrence dialog window displays my web service,but when i clicked the link to add it,i got this error: "Server cannot access application directory 'C:\WebSites\MyWebService\'. The directory doe ...Show All
Abubakr How to access forms that have multiple instances...
I've done this in other languages but haven't found the right way to do this in VB 2005 yet. I have an application that will open up multiple instances of the same form. Each form will have it's own unique name set in the Text property. From the main form I will then send data to the form in which it is intended to be displayed on. I am unsure how to accomplish this task of looping through the open windows and sending data to some object, contro ...Show All
dseatovic Serial Port - Encoding problem
Hi I'm having some problems reading from the serial port. ASCII > 127 are displayed as ' '. I know this is an encoding issue, and I've read other post here on the same issue, but I haven't found a solution. I tried using _serialPort.Encoding = Encoding.GetEncoding(28591) which didn't make a difference. I've also tried to set the Encoding property to Encoding.Default and loads of other encodings with no luck. For some encodings, characters ...Show All
Richard Hardy Windows Service - using reflection to get Service Name from exe
I was wondering if anyone knew how to get the Service Name from a Windows Service exe, i.e. I know the exe path (for example c:\temp\wsbeep.exe) and I want to programmatically get the ServiceName from wsbeep.exe without installing the service. I presume there must be a way, probably using reflection to do this, as InstallUtil must do something similar when I use the command: 'installutil c:\temp\wsBeep.exe'. I have looked at solutions but ...Show All
Oliver Problem using SSL with httpWebRequest
I am getting the following error while trying to call a SSL enabled site using httpWebRequest. Exception Details: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. Source Error: Line 83: Line 84: Response.Write("<font color=blue>Remote response goes here :D </font><br><hr width=100% color=red>"); Line 85: WebResponse wrs = wr.GetRes ...Show All
