Answer Questions
Behnam does any way to increase the buffer of datagram messages?
hello everybody, i created a multicast system using UDP to transfer the images between computers but when i trying to transfer a image with Resolution more then (800 X 600 ) this Exception Appear to me : this Error Message: "A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself" does any way to in ...Show All
nongnu_best Accessing data in a DataSet
Hello all, ADO is very new to me, so I hope this question doesn't seem too simple. If anybody can recommend a good ADO book or tutorial that would be great. I am using C# Express and SQL Express. I've been able to connect to my database, use a TableAdapter to get access to it, and fill a DataSet with a query from the TableAdapter. My question is, how can I get access to the the rows and columns in my DataSet I know how to "databind&q ...Show All
double digger Cannot find member name System.Data.SqlClient.SqlError
[reposted from newsgroups] Hello, We've got a WinForm application that uses remoting to connect to our servers. Fairly recently, we've started seeing the above error instead of the SqlException we should be getting. I've found one thread through google that seems to be about this problem, but the post that supposedly solves it is no longer available and the KB article for hotfix 887549 doesn't mention this particular error. The problem ap ...Show All
Alejandro Mezcua Issues Trying to return Single Row Set
I want to enter a repair number in a text box and then return a single row, but i am getting an Unhandeled Exception that tblWatchInstance is not apart of the Parmeters collection any help would be great thanks! Private Sub cmdSearch_Click_1( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSearch.Click Dim myConnection As SqlConnection Dim myCommand As SqlDataAdapter myConne ...Show All
Andrey Titov Stored Procedure
Hi, I'm using ADO.net (1.1) and I'm trying to run a stored procedure like this: myCommand.CommandText = "MyStoredProcedure 1, 'teste', 14, 'Mary'" myCommand.CommandType = CommandType.StoredProcedure myCommand.ExecuteNonQuery() Why doesn't it work I'm keeping receiving a error message saying that It cannot find the stored procedure "." Do I have to run the stored procedures with parameters Or is it possible to do it like in ADO ("MyStoredProc ...Show All
moaner C# Start-up Speed Impovement
Hi, Im using C# to develop medical application,but the start-up speed is very slow compare to VC++ application. Can anybody help me to improve the start-up and performance speed. Regds Tanny. There are a couple of different ways to improve start up time of your application: 1. Run ngen over your assemblies 2. Reduce the number of assemblies (dlls) you load at startup 3. Delay heavy processing or loading of data until it is needed by ...Show All
delimavi trouble accessing class members...
I'm having trouble. I'm trying to use reflection to gain access to members of a class which are instances of other classes. Type t = header.GetType(); FieldInfo f = t.GetField("myClassInstance"); object o = f.GetValue(header); the problem is that o is always null, but everything else works fine. Any Ideas are much appreciated. -Devin The code you are using is correct provided header is a ...Show All
Kathy001 Threads, Events & BeginInvoke
I'm having problems getting my head around raising event on the UI thread, and haven't been able to find an example for my particular situation. I've written a homespun class that exposes an integer property, and raises an event whenever it changes: public class Engine { public event EventHandler ProgressChanged; private int progress; public Engine () { progress = 0; } public int Progress { get { return progress; } } public void Run ...Show All
Matt Braafhart Protocol error- (500) Internal Server Error
I need to send SOAP requests to a webservice via HTTP (HTTPS), I have 2 URLS, when I use telne t command using first one (test) I am only getting this message Connecting To xxx.xxx.xx.net 443...Could not open connection to the host, on port 443: Connect failed While the second one(production) is giving me a blank screen, when running the below given program with that URL getting this error, The remote server returned an error: (500) I ...Show All
Gaoqiang WSE3 : Is MTOM supposed to work?
According to the quick start info: All you do is write the service and then simply indicate that this service supports MTOM encoding in the application's configuration file. Any byte[] types returned from the service are then MTOM-automatically encoded. I have the quickstarts and have tried writing my own webmethods that return byte arrays. I used the WSE Settings 3.0 menu to enable MTOM for both the client and the service, but when I v ...Show All
soc_p Books for .NET 2.0 and Visual Studio 2005
Greetings, We have to purchase a new set of books to update our library to the new 2.0 .NET release and Visual Studio 2005. Which books would you recommend for the following topics 1) Visual C# 2) Visual Studio Team System 3) .NET Framework 4) ASP .NET 2.0 Thanks ! Acoquinar. Professional C# 2005 Professional ASP.NET 2.0 Working with Microsoft (r) Visual Studio(r) 2005 Team System ...Show All
Desmond Green how to get some text into a XMLWriter?
This should be sooo easy. I've got a XMLWriter object I've got a XMLNode How do I get the XMLNode.OuterText into the XMLWriteObject without having to go through hoops messing about with streams, textwriters or any other derived stupidity or otherwise writing lines and lines and lines of code when I should be able to do this in about 3 lines These new readers and writers are rubbish. They just bend my head backwards every time I have to use them ...Show All
Coreth How can I know the reference count of an object?
To diagnose memory leak problem, it's convenient to know the "reference count" of an object. Is there any API that could let me I know that e.g.: object obj = ... ... int count = GetReferenceCount(obj); if (count > 0) { Debug.WriteLine(...); } I have tried to use CLR Profiler (the latest version for .NET Framework 2.0 Beta2), but sometimes when I click "Show heap now", it shows nothing. (I have checke ...Show All
MrMad GetComboBoxInfo - PInvokeStackImbalance
Hi, I'm trying to use the GetComboBoxInfo API to customize the position of combo box list, but i get amn MDA stack error using it ... PInvokeStackImbalance was detected Message: A call to PInvoke function 'MultiColCombo!WindowsControlLibrary1.MultiColumnCombo::GetComboBoxInfo' has unbalanced the stack. ..... arrrg ... I've converted the code to VB6 format and obviously i don't get the MDA PInvokeStackImbalance error but it must be havin ...Show All
JEFFKIM No Managed DirectX for 64bit?
I posted this issue back during Beta 1 and was told that Microsoft will look at making a 64 bit Managed DirectX after the OS and the development environment was released. That is way too late for those of us looking to release a 64 bit application any time soon! Is there any update from Microsoft on availability of even a Beta Managed DirectX for the x64 Thanks - John Hi John, I havent heard any info about it as well. I have emailed irec ...Show All
