RCS300's Q&A profile
Visual C# Send Data over USB
Hello Everyone, I'm not sure is this the place to ask this question. Anyways if not the place somebody can redirect me..... I'm trying to send some data over USB....The WritePacket USB takes these parameters..... void WritePacket(ref byte data, int length)... I have a XML File from where I'm reading the contents and sending over..... say If I can read something like this foreach(XMLNode node in nList) // Where nList is XMLNodeList { string text = node["text"].InnerText; string something = node["something"].InnerText; } Now how do I change this to byte data and send it over.... A ...Show All
Visual Basic TableAdapter RowUpdated Event - unavailable if I use Data Wizard
Hi all, Caution :Please read this patiently - thank you . I am developing a Multi-user Windows forms application with VB2005 and SQLServer 2005 Express. I am using the Data Wizard to create a new dataset. [for the sake of example let's say Northwind Dataset with "Customers" table]. The objects created by the wizard are as follows NorthWindDataset CustomersTable CustomersTableAdapter I dragged the "Customers Table" from the data source window on to a "Form", which will be used to Enter new data into Customer's table. This creates a DataGridView control with a "DataConnector" and "DataNavigator&quo ...Show All
Visual C++ Debug Runtime removed from VCRedist in BETA 2 (CTP August)
Hi, I need to remote debug my debug bits on a test machine (due to hardware configuration). Using the original BETA 2 or July CTP this wasn't a problem; the debug runtime was installed by the vcredist.exe. However the debug runtime seems to be removed from the redistributable in the August CTP. Any ideas, how I can install the debug runtime on my test machine A simple file copy of MSVCP80D.dll and MSVCRT80D.dll does not work. Thanks, Thomas PS: It's a COM component and the registration fails with ".... This application has failed to start because the application configuration is incorrect......" ...Show All
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK --------------------------- And more, the Advanced button is dis ...Show All
Smart Device Development EVC4 unresolved vftable error: resolution for x86 target
I was getting this error on linking an application that uses STL: unresolved external symbol "const type_info::`vftable'" ( _7type_info@@6B @) I installed the Emulator\ccrtrtti.lib from the patch provided below into my emulator directory http://support.microsoft.com/default.aspx scid=kb;en-us;830482 This resolved the issue for the emulator. I need to do the same for a x86 target. Only issue is that the ccrtrtti.lib is not available for the x86 target in the above patch. Anyone know how to resolve this issue. The emulator in eVC4 was x86 IIRC, you should be able to take the sam ...Show All
SQL Server SQL Reporting Services Web Service SLoooowwwwww
Okay here is my delema, i got this great query nice and tune that brings back 2280 records in 3 second... im like great so when i try to run the report the blasted thing times out... my query is super optimized and i got my indexes lined up... so the only thing else i can think of is the web service call... and i am running a reporting web farm... i got 4 web servers infront of this 1/2 TB datawarehouse... and i only do 3 joins in my query.... any ideas or thoughts please let me know... thanks You probably already thought of this, but in the Report Manager, Execution Properties (under Report Properties), what is your Report Execution Ti ...Show All
Smart Device Development Seeking System.Runtime.Serialization alternative for Compact Framework 2.0
I’d like to create a light version of my .net windows application for mobile devices using Compact Framework 2.0. The .net windows application load and saves data files using System.Runtime.Serialization and formatting the files using SOAP, which so far works great. I’d like to keep interoperability between the windows application and the mobile version by saving and loading the same data file into the same data model. Looks like the Compact Framework 2.0 does not support System.Runtime.Serialization like .Net Framework 2.0. Does anybody have a solution for this problem Or any idea I could explore. Thank you, ...Show All
Visual C++ Getting MS-Access Tables Information
Hai, Iam developing VC application which Selects any .MDB Database(MS-Access). The requirement is..My Application should popup the list of Tables which contains primaryKey. Can you pls tell me how to the retreive each table information in Access. (From MS-SQL i acheived this..using SQLGetPrimaryKeys()).....! But this API is not Supporting For Access... VamsiDhar.MBC SoftwareEngineer Hai saleh, Thanx for your response ...Can you tell how this stuff works in finding the primary key of the table.. ...Show All
Windows Forms How to reduce the form transition delay ?
I'm currently working on this app with over 40 different forms: None of the forms have titlebar/controlbox and are set to maximize - so they cover up the whole screen area inclding the taskbar. Now my problem is: my forms suffer a significant time lag when I switch from one to the other (and believe me, it's necessary for me to have so m ...Show All
.NET Development Datagrid binding problem
Dear all, I am displaying certain data in my datagrid ,working fine, again when I am trying to highlight a particular row of a datagrid from a different class it was giving me error like " index out of bound array" I delibrated a lot and then got a conclusion that the data was not orginally accessible , So I rebinded the data and now its working fine. Its printing the row no being sent from other class datagrid1.setbinding(ds,"MyTable"); ------------- to bind the dataset again but the data in datagrid not showing the highlighted row Anil, Make sure that you are not rebinding your DataGr ...Show All
.NET Development How to write back changed datarow automatically to the database ?
I display a SQL Server database table in a datagridview. Whenever a row in the grid gets changed, it should be updated automatically in the database table. I tried to do this in several events, so far with no luck: 1) DataGridView (this would be the natural choice) Has no usefull event 2) BindingSource_CurrentItemChanged I tried it like this: private void userTableBindingSource_CurrentItemChanged( object sender, EventArgs e) { DataRow ThisDataRow = (( DataRowView )(( BindingSource )sender).Current).Row; if (ThisDataRow.RowState== DataRowState .Modified) { userTableTableAdapter.Update(ThisDataRow); ...Show All
Windows Forms How to programatically move active cell in DataGridview?
When browsing the pre-release documentation for the Datagridview I have not found any code examples on how to programmatically navigate in the datagrid. I have figured out that i should be using the CurrentCell method but can't make it work. Does anybody have more information abou the datagrdiview /Challe Hi - Could you tell me the steps to create a simple project that reproduces the problem, or could you include the code that has the problem I'm not quite sure how you're embedding the spreadsheet, handling events, etc. thanks, Paul ...Show All
SQL Server Release database lock
Actually I'd like to know how I got the lock and then you can tell me how to release it. Here's the problem (this is sql server 2000 with visual studio 2005) I have a windows service that wakes up every 5 minutes and does some database work (reads rows from a table, process them, inserts them into another table). When the inserts are complete, the process should (I would think) release the database lock, but it doesn't. The database is accessed via a dataset object and that object is disposed of via the using/end using statement. Is there something I have to put in the connection string to avoid this behavior Thanks, Bob ...Show All
SQL Server Restoring a databse user
I'm new to working in SQL, so forgive my lack of terminology. I have this database that stores sales conselors clients. One of the sales counselors is missing 1200 of his clients after synchronizing. (down to 694) When I look in the replicated database, it shows the full 1894 clients. Is there a way to restore his database from the replicated HELP When you say missing, do you mean one site has 1894 records and the other just 694 Is this Merge replication Are there any filters or constraint violations involved Were the rows deleted on the other site However If your current aim is to get back all the rows and ...Show All
Visual Studio Dynamic RDLC
I have about 100 reports that I am converting from Crystal to MS reports. I would like to be able to use a standard header and footer for these reports. I am trying to write code to add in the nodes for PageHeader & PageFooter at runtime and whatever else I need to stick in there including images. So far I am having trouble getting this to work. I am reading in the report from the manifest stream and making a copy (so that it will be writable). Then I read the memory stream into an XML document and manipulate it. Then I save the XML document back to the memory stream. The page footer still does not show up (O ...Show All
