Chris Haas's Q&A profile
SQL Server Error Log
I populate dimproduct table on sql server. which has an index on 4 keys. So ideally I run the package the second time to populate additions. Unfortunately the package fails and even if I select ignore failure still does not populate table. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??
im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All
Visual C# C# Book Recommendations
This sticky here will be used for people to post their C# book recommendations. It will help us keep the forum a bit cleaner than making several topics about book recommendations and also helps everything to be in 1 "spot" and alot of people can see the book recommendations that you have given everyone else in this topic. So please, feel free to post your book recommendations here for developing in C#! :-) If possible, include any links where the person would be able to obtain the book from, and it's ISBN number which would be a big help to everyone! I would recommend "Professional C# 2005" by by Christian Nagel et al. (Wrox Press). This is an excellent book for novice to intermediate developers. ...Show All
Visual Studio 2008 (Pre-release) Web Service Implementation
Hello, I am attempting to create an extremely basic "Hello World" web service using WCF. My service compiles fine and the wsdl is generated and I can browse to the wsdl via IE without any problems. I am now attempting to create a console application that calls this web service and simply display "Hello World" which is returned from the method. However, when my console application calls the service, it just hangs (providing I've set the Timeout to -1). Can someone please provide me with some direction I apologize if this is a dumb question. I just thought it was going to be quick and simple. Here is my code for the service: using System; using System.DirectoryServices; using System.ServiceModel; us ...Show All
Visual C++ Erase Window border
Hello, I want to create a CMainFrame window that has the WS_POPUP style. But there is a border of 2 pixels around the window that I want to erase. How to erase such border Thank you, Christophe See Windows SDK forum for Windows programming questions Note however that you might not get an answer there either, since the question can be answered so easily from the documentation. I hope you do get an answer if you post the question, but you probably will get an answer faster by looking at the documentation. ...Show All
SharePoint Products and Technologies SharePoint Portal server 2003 - No Gantt chart??
I just upgraded from Sharepoint Services 3.0 to SharePoint Portal server 2003. For my surprise the Portal Server doesn't have the Gantt Chart webpart, a very important tool in our organization.. How is this possible .. anyway is there some way to export the gantt chart from Sp Services to SP portal server .. you can check this links to know what I'm tslking about.. http://www.sharepointhosting.com/tutorials/create-sharepoint-gantt-chart/create-sharepoint-gantt-chart.html http://www.sharepointhosting.com/tutorials/work-with-sharepoint-gantt-chart/work-with-sharepoint-gantt-chart.html I wouldn't call it an upgrade if you go from WSS 3.0 to SPS 2003. SPS 2003 uses WSS 2.0 (the previous version) ...Show All
.NET Development what is .net 2.0 frame work?
what is .net 2.0 frame work how it help us how can we install this frame work which language it supports is it easy to learn is it support java The Microsoft .NET Framework version 2.0 extends the .NET Framework version 1.1 with new features, improvements to existing features, and enhancements to the documentation. The Microsoft .NET Framework version 2.0 redistributable package installs the .NET Framework runtime and associated files required to run applications developed to target the .NET Framework v2.0. The .NET Framework version 2.0 improves scalability and performance of applications with improved caching, application deployment and updating with ClickOnce, support for the broadest array of browsers and devices with ASP.NET ...Show All
Visual Basic Recording Sound (internally)
I wish to 'record' sound into a wma,wav,midi or mp3 file, not external sound say from a microphone etc but sound played through the computer speakers on your own system however I don't know of any COM components that allows this. Is there any way to do this Thanks Liam.notnettoday There is a native C++ sample for doing this using the DirectSound api's that ships with the DirectX SDK. Unforutnately, I'm not ware of any samples on how to do this from managed code. If you are comfortable working with native code then you can check out the DirectX SDK here: http://msdn.microsoft.com/directx/ Writing somehting like this in VB will probably involve a large amount of interop. -Scott Wisniewski ...Show All
SQL Server Two phase commit with sql and msmq
Doe's anyone have a good article on it Thanks Avi If you google on your subject - ' Two phase commit with sql and msmq ' - you'll get some hits that looks promising. /Kenneth ...Show All
.NET Development delete restore point in c#
how to get the system restore status on the drives................ win32_logicaldisk class status property is not working . .can any one help me......can we get with registery key............. i have another prob.... i have system restore for xp and vista .... on xp it is working perfect ..... on vista it gives access denied ..................... can any one help me .... ...Show All
Windows Forms Windows Forms Designer
I have a custom control with a property that must not be null. Whenever I edit a form containing this control in the windows form designer, the designer sets this property to null. Even if I edit another control on the form. How can I prevent the designer to set this property Thanks Chris, the property is: public MyTask Task { set { if ( value == null ) { throw new System.ArgumentNullException("Task", "Parameter is null"); } MyTask task = (MyTask) value; if (task is IAnalysisTask) { _task = task; _taskID = _task.TaskId; } else { throw new MyInval ...Show All
Smart Device Development Detect and install correct Compact Framework for end user device
Hi all, I have a problem where I have to now ship my application with both the PPC and WM versions of the compact framework 2.0 to ensure that the user can use my application that was written in VS 2005. There is obviously no CF installation that caters for both the operating systems, or did I miss something Do any of you have some code that can be used to detect the OS version and to install the correct CF I take it that this will replace the AutoRun.exe in the 2577 folder Someone must have had the same problem before, but where can I find a solution PS. I assume that the end user does not have a previous version of the CF installed. Any help would be appreciated. You're correct, differen ...Show All
Visual Studio 2008 (Pre-release) 12/12/2006 chat script
i tried finding the chat script for the last chat on dlinq but cant find it, could someone point me to the chat script thanks Charlie has a copy here . ...Show All
Windows Forms Control for docked "flyout" (unpinned) panels?
I'd like to include a pinned/unpinned navigation window in my C# Winforms app that works like the docked windows in the VS05 IDE that are docked on the side with an icon and legend. In the unpinned mode it should open smoothly when you hover over the icon. I'd like to display a treeview in the panel and have the pin/unpin toggle icon as in the IDE. Is there a control that can reproduce this behavior in a Winforms app Edit: I found this: http://xceed.com/Docking_WinForms_Intro.html. I was hoping to find a free version. I couldn't find a free one, so, for my company, I gave up and wrote my own. It wasn't too terribly difficult...the biggest problem was having to set up mouse hooks to be able to know w ...Show All
Smart Device Development Visual Studio PaocketPC 2003 SE emulator connection Problem
I am using Visual Studio PaocketPC 2003 SE emulator .My Machine is in LAN . I want to test my ASP application running on localhost. So I changed Setting->Connections->Advanced TAb->Select Network->My Work network ->Edit->Proxy Settings->Checked Checkbox this network connects to the internet->ok->ok->ok. After this i opened IE in emulator and tried to connect to google.ca . I am getting the following error:- Unable to connect :you have no modem entries created and no network card present. Please HElp Pls Follow the steps given in the following link (if you are facing the same problem) http://blog.connectedbits.com/articles/2005/11/28/visual-studio-2005-emulator-con ...Show All
