Software Development Network Logo
  • Smart Devicet
  • Visual Basic
  • Windows Vista
  • IE Development
  • Game Technologies
  • Windows Forms
  • .NET Development
  • Audio and Video
  • SharePoint Products
  • Visual FoxPro
  • VS Team System
  • Visual C++
  • SQL Server
  • Visual Studio
  • Visual C#

Software Development Network >> COREY H's Q&A profile

COREY H

Member List

flash.tato
badrinarayananv
meighlough
Galin Iliev
jaggyma
Jet Jaguar
ngkay
Tryin2Bgood
Jade Skaggs
simon_
dba72
DavidP5
DavidThi808
Paulson Abraham
PsychUK
TTris
JonAkaJon
kms147
Asassin
Freaken Feline
Only Title

COREY H's Q&A profile

  • Visual C# Set num lock

    Hi, I'm trying to set the status of the num lock on keyboards, but I'm having no luck with the following code: private const int NumLock = 0x90; [ DllImport ( "user32.dll" )] private static extern int SetKeyboardState( byte [] keyState); [ DllImport ( "user32.dll" )] private static extern int GetKeyboardState( ref byte keyState); private void SetNumLock( Boolean isOn) {      byte [] keyState = new byte [256];      GetKeyboardState( ref keyState[0]);      if (isOn)      {           keyState[NumLock] = 1;      }      ...Show All

  • Visual Studio CleanCreds.exe

    Hello, Does anybody have a CleanCreds.exe According to these forums VS2005 SDK should contain one, but I have it installed on my PC and cannot find this tool. Can anybody share this tool with me or explain where I can download it Than you. This tool was removed a while ago from the VSSDK. There is another msdn forum thread that explains how to fix the credentials for TFS. You can view it here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=596024&SiteID=1 ...Show All

  • Visual Studio Team System TF30162: Fails portal creation when creating Team Project

    Attempting to create a new Team Project gives the following error. We're using the release version of TFS and MSF for Agile template. Following the instructions in another thread: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=150809&SiteID=1&mode=1 I think I've been able to find the issue. When I try to add a top level site to the "Default Web Site", I get an error that says: "The virtual server that is referenced here is not in the config database." Anyone have an idea what I'm missing here I do find the server in the STS_CONFIG_TFS database in Servers and VirtualServers. 2007-02-19 08:32:58Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0 seconds 2007-02-19 08:32:59 ...Show All

  • SQL Server SQL Mobile in pocketpc 2003 se desktop connection

    Hi I'm developing a pocketpc 2003 application with visual studio 2005. It has a sql server mobile sdf file call datos.sdf. I need to create a Windows Desktop application and i need to connect it when pocketpc is connected to desktop with activesync. Any ideas or links with some code samples I have installed sql sever everywhere but i don't understand how i can do that connection. Thanks From what I understand, you want your desktop application to connect to the device database when cradled, right I have developed a set of tools to achieve exactly this and you can find them here: http://www .primeworks-mobile.com ...Show All

  • Windows Forms TreeNode IsExpanded property behaving unreliably

    In my Outlook add-in (C# .NET, Vis Studio 2005), as a form is being disposed, I serialize the contents of a TreeView control to an XML file.  This works fine every time, preserving all aspects of the tree data, except for one thing:  The value of TreeNode.IsExpanded often returns "false" even though the node is indeed expanded.  I tried serializing inside a lock(myTreeview) block because I thought the control might be getting partly disposed, but this doesn't help at all.  The TreeView.Disposing property is "false". Has anyone seen this behavior, or have ideas on what's wrong     OK... here is the method that serializes the tree into XML... First, the call to do so in the Form's Dispo ...Show All

  • Windows Forms Slow painting, flickering on complex forms

    Okay, I've tried double buffering (Control.SetStyles et al). I've played around with Win32 APIs such as SET_REDRAW and LockWindowUpdate, but I cannot get rid of the apallingly slow painting that is Windows Forms. Try this: Create a form with about 50 labels on it. Make the BackColor of the form the usual windows grey - and leave the labels as is. Run the app. Alt-Tab back and forth from another app (preferable one with a white background - such as MS WORD). On my (average spec) PC there is a noticeable flickering and you can actually see each label paint its background first white, and then grey. What am I doing wrong - or is Windows Forms just reaaaaal sllloooowww when painting forms with any complexity Help ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?

    Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream With the ability to use unsafe code in C#, I expect performance to not be an issue in any game other than cutting edge stuff. There will probably always be those that will prefer C++ over anything else, but I can see a move by smaller companies to C#, for the increased speed of development if nothing else. ...Show All

  • Windows Forms Writing Help for .Net windows forms application...

    We are starting up a .Net 2.0 windows forms project and needs to also write a good help system for it. Do you have any preferences when it comes to writing the help texts. Help & Manual is a tool I know about and it seems nice, but are there any other favourites that I should take a look at Thank in advance. Harald You can try HelpStudio - Lite version is free for use and you can find it in Visual Studio 2005 SDK. Regards, Rasinec Ninoslav www.ApplicationAspect.com nras....@ApplicationAspect.com (please, replace dots with appropriate letters) ...Show All

  • Smart Device Development Using D3D Mobile, how to load a PNG file from disk to a surface?

    I cannot use D3DXCreateTextureFromFile() becasue the mobile API does not support it Thank you! Yes it is. Windows Mobile is built on WinCE (in other words, read http://en.wikipedia.org/wiki/Windows_CE ) ...Show All

  • SQL Server DB Library will not connect with Shared Memory

    I have installed SQL 2005 and have noticed that older applications using DB Library now connect with TCP/IP instead of Shared Memory. Has anyone else seen this problem I have tried everything I know to get a shared memory connection, nothing works. I have created a test program using the SQLTESTC,c sample program - just plain vanilla and it will not connect to the default instance (SQL 2000) using shared memory: // Get server's computer name Servername[0] = '\0'; printf ("\nEnter Name of SQL Server: "); gets (Servername); // Get Username Username[0] = '\0'; printf ("\nEnter Username: "); gets (Username); // Get Password Password[0] = '\0'; printf ("\nEnter Password: ...Show All

  • .NET Development SQL Express 2005 and Access Project / don´t work in design vy, tbl and qry.

    It don’t seem that my Access version (Office XP) support SQL Express 2005. I can’t work in design vy in tables and questions Do I need some updates Kind Regard Anders. Hi Check out this post I found, it may help. Besides this interview explains a lot about what your are asking for. Best Regards ...Show All

  • Visual Studio Tools for Office How to add a WinForm control through AddIn to Excel?

    Good day all! I need to create an AddIn that should be able to add a WinForm control at run-time in a Worksheet. Please, give me an advice or a link where this problem exposed. Thanks, /Dmitriy Hi Dmitriy If you have VS 2005 Team Edition, then go to Add or Remove Programs, select that entry and choose "Change". Go into the "customize" type of setup and check the tree of components. Look for the entry "Visual Studio Tools for Office" and check it. Set up should then install it on your system. Information about using the full version of VSTO can be found starting here, just work your way through the articles: http://msdn2.microsoft.com/en-us/library/23cw51 ...Show All

  • SQL Server Linked Server to MYSQL using OLEDB Provider for MYSQL cherry

    Good Morning Has anyone successfully used cherry's oledb provider for MYSQL to create a linked server from MS SQLserver 2005 to a Linux red hat platform running MYSQL. I can not get it to work. I've created a UDL which tests fine. it looks like this [oledb] ; Everything after this line is an OLE DB initstring Provider=OleMySql.MySqlSource.1;Persist Security Info=False;User ID=testuser; Data Source=databridge;Location="";Mode=Read;Trace=""""""""""""""""""""""""""""""; Initial Catalog=riverford_rhdx_20060822 Can any on help me convert this to corrrect syntax ...Show All

  • .NET Development Displaying xml from SQL server 2005 in ASP.NET 2.0

    I am using the xml datatype to store xml in SQL Server 2005. I want to return the xml from a stored procedure and display it in an ASP.NET 2.0 page. I cannot find a simply example of this being done anywhere. Can someone please point me to an example. Thanks Danny Hi, Try this link: http://www.developer.com/net/net/article.php/3406251 Charles ...Show All

  • Visual Studio Team System Compiler Warnings - Can I indicate I want the build to fail?

    Is there a way to indicate that I wish the team build to fail if any compiler warnings are encountered You are right about the code analysis being a separate step. Unfortunately, I don't think there is a way to treat those warnings as errors without enabling it in the Project properties. Which would enable it all the time, not just during Team Build. FYI, to treat Code Analysis warnings as errors... Open the properties window for you project and select the Code Analysis tab. There each rule should have a check box for treat warnings as errors. warrens had a good suggestion on using the configurations. You could turn on Treat Warnings as Errors for your Team Build configuration and let the developers ...Show All

©2008 Software Development Network