Answer Questions
Shaun Miller MS SerialPort Class Help DataReceived
I'm using the DataReceived from the V.2 .NET SerialPort class. I'm communicating with a microprocessor board and i can write to it fine. I'm having trouble reading from it. It sends a single byte at a time without an EndCharacter. I can see the byte being sent on my oscope and with an older Turbo Basic program it does read the byte. My problem is that my DataReceived event isn't being thrown. I have my ReceivedBytesThreshold set to 1 and i still ...Show All
Dogbrain .NET 2.0 DataTable.Select performance problem with sample
OK, I have some sample code here to demonstrate the severe performance degradation I'm seeing with DataTable.Select (as well as when using DataViews) in .NET 2.0. Create a new Windows app, create a button, and use the code below in the button's event handler. Note that in 1.1 this takes maybe a second to execute. In .NET 2.0 it takes minutes. private void button1_Click( object sender, System.EventArgs e) { & ...Show All
Justin Is Learning is there any kind of Boolean type SQL server
Hi, I have a boolean check property of my checkboxes in VB.NET. how can I send that value to SQL server, is there a boolean type in SQL server when I m designing the table. Thanks The SQL bit data type is the equivalent to the .NET boolean data type. thanks, so i guess i don t have an alternative but to convert it to bit type gracias amigo any idea about binding the filed even when it has null value, because when t ...Show All
patria 'CLSID_CorSymWriter_SxS' could not be created error
Hi all, I build an asp.net application and hosted on webserver, it was working fine but now from last 1-2 days i am getting following error while access any aspx page on web server. i am using .net framework 1.1 version on window 2003 server. vbc : error BC32400: Class 'CLSID_CorSymWriter_SxS' could not be created: Access is denied. vbc : error BC31019: Unable to write to output file 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ...Show All
logogamer My programs won't start up on Win98 or Win2000
I've been struggling hard with this for about a month. I have a program written in C# .Net 1.1, that has about 170,000 lines of code and is in daily use by thousands of users. Any version that I released after about 9/1/05 simply fails to start up at all on Win98 or Win2000. "An unhandled exception has occurred", followed by thread id, but absolutely none of the usual details. Keep in mind that it continues to ...Show All
Codecredible Transaction Locking
When I do a BeginTransaction() in ADO.NET then fire off a update command for example. UPDATE [t_Client] SET [ClientName]='Sample Name' WHERE [ClientID]=1 Where ClientID is the primary key. What kind of locking is performed Table, Page, Row How would I set it to be row locking. You may be asking why not lock it inside the SP that performs the update and the reason is I have to update multiple tables using many different SPs and int ...Show All
JNG Cannot convert type 'System.Type' to 'System.Data.SqlDbType'
I encounter error, " Cannot convert type 'System.Type' to 'System.Data.SqlDbType' " when attempting the following code: // Create a secondary DataSet in order to research the unknown data types of the destination table columns. SqlDataAdapter sqlResearchAdapter = new SqlDataAdapter(); SqlCommand sqlResearchCommand = sqlSelectCommand.Clone(); DataTable sqlResearchTable; DataSet sqlResearchSet; sqlResearchAdapter.TableMappings ...Show All
Mosc WebService locks the Access database
hi all, I built a webservice that makes different operations with Access database, when I run the webservice the database is locked although I get a results from the web service. What can be the problem... Thanks in advancde...` MS Access is a database that is based on a "FileShare" locking system. you can open an Access Database in "Exlusive Mode" -- no sharing with ...Show All
mew1979 UpdatedRowSource and @@SelectIdentity
Hi, This is my first posting here, so please be patient with me :-) I have an application that uses strongly typed datasets with an Access DB. The Access DB table that I'm referring to here has an ID that auto-numbers when a new row is inserted. The question I have is: My oleDBDataAdapter.InsertCommand's UpdatedRowSource property is set to 'BOTH'. Which to my understanding means that the new row that was created should be mapped back to m ...Show All
Drewalk Error - How can I trace it down?
I have an app I made in VS2005- and it uses 2.0 framework, and some sqlreader and a MSHFLEXGRID activex control. This application runs fine on a majority of computers, but on 3 so far it will not run. I put a try/catch around everything with a messagebox to display the exception and it never even gets that far. I have all the patches from windows update and the 2.0 framework installed on all machines. The box I get is "Program Name has encounter ...Show All
vickey37139 help: c# console output system.byte[]
thanks for viwing, i really need some help i try to find the access point mac address ManagementClass mc = new ManagementClass("root\\WMI", "MSNdis_80211_BaseServiceSetIdentifier", null); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) { object add = mo["Ndis80211MacAddress"]; string mac = System.Convert.ToStrin ...Show All
programmer 2006 Can someone please explain to me the "One DataReader" Rule?
I've been trying to find a solution to a problem and while searching the threads I came across the above statement and would like to know where this comes from and where it is documented. What I am trying to do is read from one table in a database - using a DataReader and after some processing, store the results in another using a combination of a SqlDataAdapter and a DataTable. Process is pretty much: Dim Connection As SqlConnection Dim Table1 ...Show All
Rafael Justo Sockets and Serialization
Hi, I'm building a windows forms app that needs to connect to a server farm via the internet. Performance is of the essence. I'm thinking to use .NET remoting but I prefer sockets to avoid the complexity of remoting; the data I need to pass are small in size anyway. For larger data I'll use Web services. I know that sockets connection can pass array of bytes and not objects. Can I pass a serialized object from socket to socket There' ...Show All
nh1234 Does XMLReader (VC# 2005 beta 2) validate key/keyref?
Sorry for so many questions but I am new to this and have been tearing my hair out for days. I need a knight in shining armour who doesn't mind a bit of baldness!! :D It won't let me post the whole file and schema here, presumably it's too long,, but the gist is.. < xs:element name = " DrmImport " type = " DrmImportType " > < xs:key name = " Fea ...Show All
IIISephirothIII Failed to load dataset because of the following error: Unable to find connection ...
Everything was fine last night, but this morning when I opened my VS 2005 web project, I got this message: Failed to load dataset because of the following error: Unable to find connection X for object 'web.config'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded. Also, in my DatSet.xsd file, there are not 102 warnings that were not present ...Show All
