Answer Questions
Cameron Purdy 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
latas Can Microsoft Serialization process be compatible with Java Serialization?
I've been working through a serialization model have been stumbling over many semingly simple serialization problems that lead me to believe that Microsoft is not serious about serialization. There does not appear to be a unified model or methodology to the serialization within .Net. For example, the latest problem I hit is that the System.Windows.Forms.Padding structure is not serializable. Why is it that Microsoft did not tag this seemingly s ...Show All
Craigomatic Modify the properties of the RDL objects at run time.
I want to modify the property of the objects of RDL file at run time. For that I am trying to use the setProperties method and set the values to the property of the object of RDL file. I have added a webreference for ReportingService2005 and for ReportingExecution2005. http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.setproperties.aspx # On executing the code ...Show All
gamer36 Telephony in .NET
Hi I would like to know how to implement telephony in .NET. We have TAPI 3.0 but it is not supported in .NET so any replacement of TAPI in .net please let me know. Zaheer Have u found a solution Thx in advance Hi Zaheer, Check out this ample code. http://www.codeproject.com/cs/internet/devangpro.asp which was written in C# and TAPI3.0. Thought the TAP ...Show All
Jim_Martin delete first row in CSV file
Greetings everyone, I have a CSV file and for some reason the first row is bunch of junk data. Is it there a way to delete the first row using C# ... my boss wants a win application and i am a DB developer... i know very little about C#. Thank you in advance. Waiting for your input. Ion With that code, no. However it is possible to mod the code to do that. There are 2 ways. Either 1, read the input file into memory and par ...Show All
dcrocker invalid operation exception
Hi, I'm very new to this and I would appreciate any help you might be able to give me. I am building a composite web service on my local machine. This web service is to be comprised of calls to two other web services, one on my local machine and one not. The web service I am trying to incorporate into the composite web service retrieves data from an SQLServer database. It tests fine; when I use a web application to test ...Show All
Terry McKiernan RS232 Class Question
I have created a software to receive data from a RFID reader (you may simply treat it like any barcode scanner) through RS232 communication. It is a simple application of the RS232 class (found in gotdotnet.com -- http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=8AAA0158-95B6-49A7-BB20-93391FC4C196) . The software does receive strings from the reader every time an event has triggered. The Expecting readin ...Show All
revati27 Error while writing a Log file
Hi, I am newbie in the .net world... In fact I have started learning C# .net in the last week only..... I have created a webservice... but now Since I have to write logs to a log file... I have tried the following code --------------------------------------------------------------------------------- public class Service1 : System.Web.Services.WebService { ...Show All
Eric Cann Converting to Unicode
I have the following code in vb6: StrConv(sServer, vbUnicode) Can anybody tell me how to do this in c# What I am actually trying to do is make an API call (NetFileClose) which takes the server name as one of the parameters. I have sample vb6 code that does this and they perform the function on the server name before they pass it as the parameter. I try to pass through the server name as the string wi ...Show All
TerenceF Credit Card Processing in VB.net Windows Application
Does anyone know how to implement credit card processing in vb.net windows application. Any suggestion, reference would be great help. Good. I'll keep that in mind. You never know when it can be usefull :) Doug, Can you help me with sharing the code work for credit card processing through via a web service I am kind of lost in here. Thanks ...Show All
Jovo Filips Additional information: No connection could be made because the target machine actively refused it
Hello, I am currently getting this error when attempting to instantiate and remote object. Currently, everything is located locally. Here is a code snippet to further explain. The highlighted code is where the error occurs. Can anyone help Thanks =========================================== namespace ResumeClient { public class ResumeClient { public static void Main( string [] args) { ChannelServices.RegisterChannel( new TcpCl ...Show All
semaphor Using consumer side SoapExtensionAttribute in Beta 2 consuming Java WebServices
I have runnning and perfectly working SoapExtension project in the web application solution. The WebServices servers are a "BlackBox" to me. I'm trying to: 1. Add an attribute to the SoapExtension. 2. Set a few values in SoapHeader's elements catching them in the AfterSerialize context of the ProcessMessage override. 3. The XPath, value, key, token and operation are supoosed to be extracted from the attribute. I sa ...Show All
Shoukhat Khan ODBC .Net Data provider Is it still an Add-in for 2005?
In the previous version of Visual Studio, one had to download the .Net data provider for ODBC. Is that still the case for VS 2005 I haven't been able to find documentation concerning that...the ODBC connection class documentation mentions the data provider, but doesn't say of it is the .net version or not.... advTHANKSance From my experience no matter what you're using to access Oracle data you need the Oracle client. The ODBC and OLE D ...Show All
Karl S Missing method exception
Hi, I have created to enterprise components and have placed it under COM+, then created a Webservice which consumes and them. And then created a front end to access the webservice. After setting up the components & webservice on another server, when I try the front end the following erro is coming. ************** Exception Text ************** System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: S ...Show All
stujol DataGridView + DataAdapter Edit Weirdness
Hello, I originally posted this thread in another forum but someone suggested I repost it here: I have a DataGridView setup with a DataAdapter. There are a few fields on a couple of rows that I update programatically which causes the DataAdapter to want to update the data in the database every time I run the DataAdapter's Update method. Is there anyway to set the status of the row to NOT update the database (at least until a user e ...Show All
