koook's Q&A profile
Windows Forms Thousand separator in datagridview
how can i use Thousand seprator in datagridview when user enter data in the field. Set the CellStyle's Format property to N2 which will format the data. The column's ValueType must be of type decimal. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Visual C# Variable doesn't increment
Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose() ...Show All
Software Development for Windows Vista New Windows SDK installation
Hi all, I intend to install the new feb ctp (rc, vs express,...,and windows sdk) and it is not clear (at least for me) the right order to install things. Besides, my OS is winxp pro sp2 and regarding windows sdk installation, i read (in the readme) something about uninstall previous versions of windows sdk, platform sdk. I have now installed the WindowsR Server 2003 SP1 Platform SDK (version 5.2.3790.0). Should I uninstall this sdk to avoi ...Show All
Visual Studio Express Editions 'System.EventArgs' is a 'type' but is used like a 'variable'
Whats wrong with my code below Can you correct it private void txtusername_TextChanged( object sender, EventArgs e) { if (EventArgs (e) == Keys .Enter) this .txtpassword.Focus(); } } Try the KeyPressed Event and it will work fine. private void txtusername_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar == ( char )Keys.Enter) { Console.Write("a&quo ...Show All
Smart Device Development XP vs CE vs. Mobile
Hi I have just started to venture into the world of mobile pc's namely PDA's, tablets etc. Really want to know the differences between the different OS' available What are the differences between CE and Mobile and also an application created using VS 2005 and .NET Compact Framework 2.0 work on all three without any modification to the code provided Compact Framework is available Please direct me to any links that might be helpful .. ...Show All
Visual C# Can I build my project to an unmeneged program
Hi, I wrote a program in VS2005 beta 2 and I was wondering if there is a way to build and compile the program to the native computer and not to .NET. If not, is there a way to take the project from VS2005 and transform it to VS2003 project in some way. The Visual C# compiler only produces .NET assemblies. This is true whether you use Visual C# 2003 or Visual C# 2005. If you wish to create native executable ...Show All
SQL Server Excel XP - Cannot connect to OLAP 9 - Analysis Services 2005
MS Excel XP on Windows 2000 fails to connect to OLAP 2005 Cube with the OLAP 9 Provider. Excel gives the error: <initialisering datasource failed>. The same error appears when I try to connect to OLAP 8 cubes. Before I could access OLap 8 cube, I had to reinstall Office XP. Windows XP with Office 2003 works fine. It can access both OLAP 8.0 and OLAP 9.0 cubes. Does the new OLAP 9.0 provider only works&nbs ...Show All
Visual Studio Express Editions Cannot open file.
Okay I click new project , then I click windowed application and then finish. all works fine then I push F5 to build. I get the following information in a dialoge box. ------ Build started: Project: zane, Configuration: Debug Win32 ------ Compiling... stdafx.cpp c:\program files\microsoft platform sdk for windows server 2003 r2\include\windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory Project : wa ...Show All
SQL Server INNER JOIN Question
How do I deny a Innet join(make the inverse) I tried to use <> at the condition but it keeps bringing the equal results... Thanks From what I understand you want to do something like SELECT id, t1.stuff, t2.stuff FROM table1 t1 INNER JOIN table2 t2 on t1.id <> t2.somerelationalid This may help http://msdn2.microsoft.com/en-us/library/ms190014(SQL.90).aspx ...Show All
Windows Forms create a report and print it?
Hi, everybody! From my application (C#) I need to open the report based on the runtime data (data in the memory, not in the database). I imagine this data would go as parameters in such report. Then I need to preview the report. And then&n ...Show All
SQL Server Import from excel
I am trying to import data from an excel spreadsheet. The file comes from a client and sometimes it may not have any data, that is, it will be blank. It seems that the Excel Source in SSIS does not like empty files, is there any way around this I suppose I can check to see if it is empty and abort the import process but I am not sure how to do this. Any other ideas on how to get around this mthierauf wrote ...Show All
Visual Studio Team System Missing Workspace.GetShelvedChanges API method in Beta3
Hi all, Can someone tell me what happend to Workspace.GetShelvedChanges in TFS Beta 3. It used to be located in the Microsoft.VisualStudio.Hatteras.Client namespace in TFS Beta 2. I can find the Workspace class in the Microsoft.TeamFoundation.VersionControl.Client.Workspace namespace but the GetShelvedChanges method no longer exists. I used that in my build script to be able to build the latest checked-in source + an additio ...Show All
Software Development for Windows Vista Installing Visual Web Developer
It keeps saying before install i need to uninstall pre beta versions of stuff like the .net frame work and visual studio 2005, heres what i do have installed: Microsoft Visual Studio 2003 Microsoft .Net Framework v.1.1 Do i need to uninstall these, to my understanding they arent really pre beta versions of 2005... Thanks EDIT: damn i just realised i posted this in the wrong place :| :( Try your post over ...Show All
Visual Studio 2008 (Pre-release) SSPI fails without userPrincipalName, why?
I'm using a netTcpBinding with a self-hosted service running as my own user, with a client of ASP.NET hosted by IIS running as Network Service on another machine. I'm a bit confused on the service/client identity and how it relates to authentication. I find that if I don't specify anything in the <identity> for my client <endpoint> things fail: Error: System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI faile ...Show All
SQL Server Exporting Data from SQL 2K via SQL Server Management Studio
Sorry if this is a newbie question -- I'm a web developer and not a DBA :) I also hope this is the right forum for this. I have been assigned an export to Access DB job from a table in a SQL Server 2000 DB, but I only have 2005 available to me on my side and the 2000 server resides in a share outside (I think) of my domain. It's a client's server that is only accessible by a very locked down VPN. I can't seem to find the option to export d ...Show All
