dankster's Q&A profile
Windows Forms Removing Duplicate Records
I have a datatable which is the result of the import of some proprietory data. It's a transaction record table for customer purchases. Each transaction is linked to the customer account via their unique account code. In my sample data, i have about 4000 transaction records, which relate to approximately 350 unique customers. I want to filter my transactions table based on a date range (which i can do) and then REMOVE all records that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. directsound q
if i have a directsound buffer, how do i play it twice at the same time caz if u go: buffer.Play(); buffer.Play(); the second Play call doesnt do anything caz the first one is still running For each sound you want to play simultaneously you create a SecondaryBuffer All the secondary buffer will mix inside the PrimaryBuffer automaticly and you normally don't fill directrly the primary buffer To see if on ...Show All
Visual Studio 2008 (Pre-release) Databinding to a service method...
Using what seems to be the preferred approach for accessing WinFX services, is data-binding possible There are two approaches, I understand, for handling references to a WinFX service. In the first, you use the "scvutil" application to auto-generate proxy classes. These classes wrap all necessary logic to call a service. There is no direct reference to the service project in your consuming application, and you can generate these ...Show All
Visual Studio Team System Source Code Explorer Menus disabled
I have been using VSTF with a test project learning how best to organise code in it. Everything was going well, except I am now unable to access any Source Code Explorer functionality. I can see all the source trees, most of which I created, but buttons on the menu bar are disabled, I can not create or access existing workspaces and right clicking on a folder results in a menu with "No commands available" However, when I drill do ...Show All
Visual Studio Team System Work item assignment
Can two people work on the same work item simultaneously Multiple users can open (and read) workitems simultaneously. If you are using the Visual Studio UI, if two users edit the same workitem, the first person to save the workitem has his changes committed. The second person will not be allowed to save and overwrite the first persons' changes - he will have to get the latest version of his workitem and make his changes again. If you ...Show All
SQL Server Database maintenance (SQL Server 2000)
Could someone here clarify the difference between replication and mirroring What I want to do is to be able to make a back-up of my database to a different computer, what are the things I need to do Is it replication or mirroring TIA Are do you looking to develop a high availability solution for your database from a primary server to secondary server. 1. Database Mirroring (SQL 2005 SP1 only) allows real- ...Show All
Windows Forms Any Event which automatically fires after ItemCheck in checked listview
Is there any Event which automatically fires after ItemCheck Event in checked listview. Problem: ItemCheck event is performed before item check or uncheck, I want a event which is performed after the item check. Validate works for me but its not  ...Show All
Smart Device Development pass paramaters from actual to hidden form
I have a form where all the field all empty (most of them labels) It should be filled with data from the next form, depending on the text of the textfield. So when I press on the actual form on the button the following actions are performed: String query = "select pnaam,pvnaam from patient where pnaam like '" + txtZoek.Text + "%'" ; patienList patientLijst = new patienList(query); ...Show All
Windows Forms beta 1 versus beta 2 diffs
Anyone know if there is a doc somewhere that describes beta 1 versus beta 2 differences in the framework and windows forms app code Keep a watch out for an update to this page on GotDotNet: http://www.gotdotnet.com/team/changeinfo/default.aspx This typically contains the breaking changes between Betas and RTM versions. However it has yet to be updated to Beta 2. Perhaps you could forward an email onto the con ...Show All
.NET Development Moved DB to Server - do I have to recompile and change all of the dataSet Names??
Using C#, Windows Forms app, VS Pro 2005 edition: I moved my app's backend SQL Server Express database to the main server. The dataset/tableadapter/binding names that were automatically generated using my local PC SQL Server data source are now not the same as the server datasource. For example, my old dataset name is "myDataSet", and the new one is myNewDataSet". Ditto tableadapters. (OK, they aren't actually named "my ...Show All
Windows Forms question about dataTAble rowCollection
i want to know wich event is raised when we navigate through rows in rowcollection i have a datagrid wich is bined to a dataTAble and i have a textbox in wich i want to show a value from one column of the dataTable....the value should be update when the user navigate through the rows..how can i do this Bind the TextBox to the property: this .textBox1.DataBindings.Add("Text", dataTable, "Column"); VB: Me .TextBox1.DataBi ...Show All
SQL Server Authoring Custom Report Controls
Hi, I'm using VS2005 Beta 2 (April) and SQL Server 2005 (CTP April 2005) and I'm very interested in creating my own custom control for SQL Server 2005 ReportingServices. I understand that in order to do this I have to inherit from some classes (CustomReportItem ) and other interfaces which are declared in the following namespaces: using Microsoft.ReportingServices.Interfaces; using Microsoft.ReportingServices.ReportRendering; using Microsoft.Rep ...Show All
SQL Server Attached DB and SQL Express: Now you see it, Now you don't!!!
After installing SQL Express 2005, I attached a DB of mine, with success. I can see it from the lagacy enterprise manager, and if I launch the query analyzer fromm within SQL Ent. Manager that DB appear in the DB pane list ans THAT IS FINE. Now when I launch the Query Analyzer directly from Windows, the attached DB doesn't appear. Same when I try to create an ODBC DataSource pointing to that DB: Is DOESN'T APPEAR and THAT IS NOT FINE!!! Anybody ...Show All
Smart Device Development Signal point with the coordinate
is it possible to use the access point with signal and calculate the coordinate in the area Do you mean Wi-Fi AP In theory, yes. You would need several APs in range to compare signals. Considering average AP range is about 50 meters, usefulness of that is questionable in my opinion. Cell networks are more useful for that and I believe it's actually implemented. ...Show All
.NET Development IIS Installation
Hi, I am attempting to run the QuickStart Tutorials for Microsoft .NET Framework SDK v2.0 and am getting the following error message: "The QuickStart tutorials are written in ASP.Net and require IIS." I've tried going to my Control Panel - Add/Remove Programs, and then clicking on Add/Remove Windows Components. I do not see an option for installing IIS. I am running on Windows XP Home Edition v5.1 What can I do Thanks ...Show All
