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

Software Development Network >> Dave Koehler's Q&A profile

Dave Koehler

Member List

rasmasyean
eriklarsson
Snickel65
BobS777
Jebat
CFSystems
Rolf67
progames25
TeTolWW
Tigerwood2006
BilalShouman
VoiceOfExperience
elixic
helen_166
Yuhong Bao
redcode
Spenceee
The Philosiphiser
imed-deborah
ridvan
Only Title

Dave Koehler's Q&A profile

  • Windows Forms TreeView Child and Parent Checkboxes

    Hi all, I am sure this is an easy one for someone out there Ok, I have a TreeView Control with checkboxes and what I would like to do is when a parent node is checked I would like the children of that node to be checked. In addition, when a child node is checked I would like its ancestors checked. Now, I know how to get the checkboxes checked programatically. I am using the AfterCheck event to accomplish this. The problem is assume I have the following structure node1 | -------child1 | | | -------------child2 | | | -------------child3 | -------child4 If I have all the nodes Checked and I uncheck child4 then what will happen is the AfterCheck Event fires off because of Child4 and then Node1 gets U ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Finding frames per second?

    I've modified the starting program you create in the XNA help file to create 2500 sprites in random areas and bounce them all around... What I'd like to find out is how many frames per second my PC is getting just to see how many sprites I can have on the screen at what framerate. How would I go about finding my framerate and displaying it onscreen Help is much appreciated. Yup, no problem... Here's the code, you just have to replace the "fighter.bmp" with your own image. /// <summary> /// This is the main type for your game /// </summary> partial class Game1 : Microsoft.Xna.Framework.Game { //This is a texture we can render. I.E. a sprite. Texture2D myTexture; int maxsprites = 25; //where we'll draw the spr ...Show All

  • Visual Basic cant open .VB file in visual studio editor,opens in hex view bug?

    Hello, I have a strange problem that I have looked for the answer to but no solution has seemed to work yet.  I am using Visual Studio 2005 with Visual source safe, and I have a visual basic solution I am working with.  For one of the .vb files in my soution (parser.vb), visual studio for some reason stopped opening the file.  Yesterday everything was working fine like normal, but now, when I double click the file from the solution explorer, it will open the file in what looks like a hex editor in a new tab (this is all still within the visual studio IDE, it doesnt pop open a separate application or anything).  All the other files in the solution still open normally with the vb code editor with intellisense and ...Show All

  • SQL Server xp_delete_file

    I created a maintenance plan to remove files older than 2 weeks. The plan executes successfully, but does not work. I notice in the log that the single quotes are doubled. I ran one command which worked, but others did not. Is there a problem with the command Here is a copy of the log: Microsoft(R) Server Maintenance Utility (Unicode) Version 9.0.1399 Report was generated on "SQL". Maintenance Plan: Clean Up Backup Files Duration: 00:00:12 Status: Succeeded. Details: Cleanup Master (SQL) Maintenance Cleanup on Local server connection Cleanup Database Backup files Age: Older than 2 Weeks Task start: 9/12/2006 7:34 AM. Task end: 9/12/2006 7:34 AM. Success Command:EXECUTE master.dbo.xp_delete_file 0,N''F:\SQLBackup\master'',N''ba ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A tutorial would be nice...

    Hello all, I was wondering if anyone could point me in the direction of a tutorial of a simple game, like tetris, breakout, space wars, asteroids, etc., that goes through, step by step, explains how "we" do this and why "we" did this. A lot of the things I read, I see such things as, "You should start simple, like a tetris style game," yet they never point you in the direction of where you might find out how to make a tetris game. From a complete noobs point of view, we're completely clueless at what we're looking at on screen, just staring at the code, trying to figure out what to do. Anyway, if anyone could help, that would be fan-tastic and much appreciated. Thanks! ...Show All

  • Windows Forms simultaneous events

    Hello. I have a ListView control on my form. Every Item consists of checkbox and string. On double mouse click on any Item two events are happening simultaneously: DoubleClick and ItemCheck   . There are handlers for both of these events in my program. The question is: how to block ItemCheck handler execution on double mouse click, and execute only DoubleClick event handler In other words how to identify in ItemCheck handler if mouse double click event happened ahmedilyas wrote: I usually go against this but you could just unsubscribe from the itemCheck/click event and resubscribe to it after everything has been done instead of having to override the windows messages and check what message has been passed e ...Show All

  • .NET Development Accessing custom Performance counters & .NET security.

    Hi folks, i have a quick question about custom performance counters and .NET security. On my local machine XP i can create and use custom performance counters in my c# application without a problem. all is perfect :) When i deploy my application to another server i get securityExceptions with the performance counters. So my question is this:- 1) Is it possible to use IN-LINE code to allow your program to get the 'proper' access to performance counters on the machine the application is running 2) If #1 == No, then is the only way to do this via manually allowing the user the application runs under special privaliges (eg. part of the admin account ). 3) if #1 == Yes, then could someone please provide some clues/hints ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New XNA 3D tutorial

    Hi all -- I have ported the first series of my MDX tutorial site to XNA beta2 code. You can find the first entry of the tut at this location: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Starting_a_project.php It's an introduction to 3D game programming using XNA. During the coming weeks I will be porting the code of the other 2 series, of which you can find screenshots at the homepage: http://www.riemers.net/index.php expandall=1 As soon as XNA is released completely, the whole site will be built around it. Comments are welcome riemer Yeh, I'm kind of a stranger to 3-D myself. Looks like most of you are taking courses for game programming and stuff like that. I'm just some silly 16 (just turned 16 ...Show All

  • Visual Studio Express Editions VBA Example

    HI Everyone. I am working on a cascading lookup to an Access database. So far the only way I have found to do this is setup one dataset pointing to the table I am searching. Then create 12 binding sources (one for each criteria box). Then I compile a filter string that gathers the selection form each control and applies them as you work through the list of controls. Is this the easiest way of doing this It seemed there was a much easier way of doing this in Access VBA, it doesent make sense to me it would be this much more work in such a powerful language Thanks Kelly R. Martin, I don’t know whether you have used the Access 2003 VBA to manipulate database in any project. Here I want to give two sim ...Show All

  • Architecture Is there an official forum for Enterprise Library 2006?

    Is there an official forum for Enterprise Library 2006 I can't seem to find a dedicated forum in these forums. Thanks. Has anyone considered moving it here This forum software is better (for me as a user) than GDN. -A ...Show All

  • Visual C++ MS VS 2005 Issue

    Hi all, Ok, so the thing is, when one would press crtl and spacebar (in MS Visual Studio 2005 Code Editor) a list apprears which shows all the classes and methods .... right .... but for some or other reason mine doesn't want to work ! I have tried a reinstall but that was a time waster... Does anyone have a solution plz... Thanx in advance Programm3r Are you talking about this Or this ...Show All

  • SQL Server Lookup Transformation

    Is there a way to ignore the unmatched rows using Lookup without creating another destination (Error Transformation for red connector) Sure thing. Once the mappings have been defined in the lookup, click on the "Configure Error Output..." button and set the Error for Lookup Output to "Ignore failure." Then don't hook up the red flow to anything. Just leave it be. ...Show All

  • Windows Forms custom shaped forms

    Hi I want to use an image as a mask to shape the forms. I have found some methods but they are not usable because they are slow. Does anyone know some faster methods Thank you for help but I want to set the form region from a (transparent) picture. I want to add skins to my form. I found some methods but as I said they are slow They read an image pixel by pixel and decide whether it is transparent and show/hide that part. Is there an API or faster methods ...Show All

  • Visual Studio Express Editions HowTo: Startup Application Invisible in the System Tray

    The standard method for starting up an application invisible is to use the Sub Main() as the startup object, then load the form as necessary. However, if you want to use the application framework, this option isn't available. I've been wrestling with this problem for some time, and have several solutions, none of which are adequate. But what follows seems to be the best solution, but first, the 'broken kludge': One option was to have the form completely opaque, and set the ShowInTaskBar to false. Once the form has loaded, set the visibility to false, restore the ShowInTaskBarback to True, and set the opacity to that which is desired. There are two problems with this: 1. It requires an 'event' after the form has loaded to reset ...Show All

  • Software Development for Windows Vista CreateProcess does not return a value

    Hi, I encountered a weird phenomenon while trying to run a program on Vista. When the program reach CreateProcess, the function is being called but it doesn’t return any value, the program never exits this function. To make this problem weirder, sometimes, although very rarely, like after reinstallation of the OS, the application does work (The process is created and the function returns a value), I couldn’t find the reason why something it does work. As far as I know, CreateProcess should always return a value (Success or Failure), but in this case it doesn't return anything, just stuck inside the function. The Windows version is: Windows Vista RC2 Build 5744. The program which calls CreateProcess is wr ...Show All

©2008 Software Development Network