david white's Q&A profile
Windows Forms DataGridView Scroll
Hi. When I scroll my DataGridView it is scrolled by steps of 3 (or any other number) of rows depending on what is set in Windows Mouse Properties. Is there a way to make it scroll row by row t.e. one notch = one scrolled row. Thanks! There isn't any built in property to change this. You would have to override the OnMouseWheel method and provide your own implementation (and not call base.OnMouseWheel) -mark DataGridV ...Show All
Audio and Video Development Advanced Content Playback on HD-A1
Hi All, I am having trouble getting an advanced content application to play once burned on a DVD-R and inserted into the Toshiba HD-A1 HD DVD player. Video and audio play fine using this method, but once the advanced content object is reached the player stops playback and gives an error. Does anyone have any advice on this We have tried the samples posted here and we get the same results. Thanks. We are using Sonic Scenarist ACA to ...Show All
SQL Server sql server management studio nov ctp
I have vs2005 prof. installed along with sql express RTM I installed management studio nov ctp when I try to launch it, nothing happens any Ideas Thanks lee d wrote: deleting the key worked for me too<br /><br />Thanks Is the SQL Server Books Online working without these keys :) ...Show All
.NET Development Creating ODBC DSN for SQL Native Client fails for not-integrated authentication
The following snippet always fails to create ODBC DSN [ DllImport ( "ODBCCP32.dll" )] private static extern bool SQLConfigDataSource( IntPtr hwndParent, int fRequest, string lpszDriver, string lpszAttributes); public bool AddSql2005DSN( string dsName, string server, string db, string user, string password) { StringBuilder sb = new StringBuilder (); sb.Append( "DSN=" + dsName + "\0" ); sb.Append( "Se ...Show All
Microsoft ISV Community Center Forums Inaccurate double variables in VBA!!!
Hi All, I'm working on a big structural project. I wrote about 10000 lines of VBA code using AutoCAD, Excel and Access, but one of the problems that I could never resolve was inaccuracy in single and double variables. For example when I try to read start point of an AutoCAD line object in double variable A and then compare it with another double variable B that is equal to A, I don’t get correct result. For example if VBA watch window shows ...Show All
Visual Studio Team System team build of C# and C++ projects
Hi, I am working on managed code projects written in C# and C++. Now, iam trying to build using Team build. It seems its not possible to build them with one buildtype because platform settings. Is there any possible solution Thanks in advance. Yes, you can build them in one build type. Use "Mixed Platforms" as the platform. Thanks. ...Show All
SQL Server Handling a double or float value for inserting into DataTime field.
Hi, I was trying to enter the non-normalised exponential format of double or float value into the DataTime field in my data base. It is allowing to store any kind of data passed to this field. If the same non-normalised exponential value for eg: 4.235E-329 is passed to float or double field we are getting a TDS error but when same thing is used to store in DateTime field it is simply inserting the value. Now my concern is that SQL Server 2005 s ...Show All
Visual Studio Team System TFS Source Control History Tags?
We recently switched our source control from Source Gear Vault to TFS. One feature that I haven't figured out in TFS is the special special tags feature that allows the source control to add history and other info in the source file. Example from .sql file: /*-------------------------------------------------------------------------- * $History: /vsln/path/filename.sql $ ****************** Version 9 ****************** User: bob Dat ...Show All
Visual Studio 2008 (Pre-release) Is the pseudo SQL syntax necessary?
Current LINQ syntax is like this: var upperLowerWords = from w in words select new {Upper = w.ToUpper(), Lower = w.ToLower()} where w.StartsWith("a"); But I think that this is unnecessary breeding of C# with SQL. I believe that combination of methods with lambda calculus would be better: string[] words = { "aPPLE", "B ...Show All
Architecture IT Architecture Seminar
National Academy for Software Development , with the support of IASA and Microsoft, organizes IT architecture seminar on April 18, 2006 in Hotel "Hilton", Sofia, Bulgaria. Special guests of the event will be the President of the International Association of Software Architects ( IASA ), Paul Preiss and Joseph Williams, Global Technology Director in Microsoft . You can find the registration form along with complete inform ...Show All
Visual Studio 2008 (Pre-release) Not able to generate proxy with typed dataset using svcutil.exe and WCF Feb CTP (with Jan Ctp was working fine)
Hi, I wrote an WCF service using Jan CTP which transfer the typed dataset to and from between client and service. It is working with Jan CTP and I am able to generate the proxy using the SVCUtil.exe. Recently I have updated my system to work with Feb CTP and provide the necessary chnages in the App.config file. when I tried to generate the new Proxy with SvcUtil.exe( WinSDK FEB version) I got the below error: Error: Unable to obtain Met ...Show All
.NET Development Should I keep Controls in an consistant state after an exception?
I'm building custom Controls (VS05 C#) and I'm wondering whether I should implement my controls in such a way that their state stays consistent when an exception has been thrown (assuming that the controls don't implement IDisposable). In normal circumstances Controls appear to live only during the lifetime of the thread (the browser request). They are created in and throwing an exception will normally end the thread. In that case spending extra ...Show All
Windows Forms serializing object to resources across versions?
I am trying to implement an object which gets saved to the resources for the form at design-time and loaded back into a property for a custom control. That is not a problem; using the DesignerSerializationVisibility attribute with DesignerSerializationVisibi ...Show All
Visual Studio Team System Problem in Migration from VSS to Team Foundation
I migrate a VS.NET 2003 project from VSS to Team Foundation. After the migration, I need to migrate source control bindings from Visual SourceSafe. ( http://msdn2.microsoft.com/en-us/library/ms253188(VS.80).aspx ) In step 7, I run the Visual Studio Conversion Wizard. After the wizard is executed, The solution and project fies are converted to VS.NET 2005 format. But at the same time, one file in the project called PubDS.cs is renamed to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Converting to .NET 2.0 - Device exists in 2 places
I have a app I wrote in .NET 1.1 and it breaks when running on .NET 2.0. I figure that I could just rebuild it in VS 2005 with .NET 2.0 and then debug it to find where it breaks. Unfortunately, I can't get it to compile at all in VS 2005. I get the following error. Error 2 The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\Managed DirectX\v ...Show All
