pave's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. SpaceWar with a PC controller?
Hello, I was experimenting the SpaceWar application, but it seems to expect a xbox360 controller instead of a broad PC controller since... well, I'm running it on a PC. Do you know anything about that I should be able to use it. I have a team that wants to use XNA for the PC platform - we could hardly care about the xbox360 at the moment. Forcing our players to have a xbox360 controller when they already have a fully capable controller does not make any sense. Did XNA leave out DirectInput or something I'd hate to drop back into MDX just because of this necessity. If MS has no answer for this, may I suggest that DirectInput should be included in XNA when the program detects its running on a PC Average Joe may not want to play the game ...Show All
SQL Server How do you get the last modified date column in SQL Management Studio
In 2000, the last modified date was show as a column when viewing the various database objects. So, after a long off-line session with a copy of a database, you could sort the query list, by last date modified, and script the recently changed queries to a file. It was very easy to see exactly what was changed recently. How do you do this in 2005 thanks So, It looks like custom reports does not replace the functionality from sql2000. In sql2000, you click on views, click on the date column, highlight all recently modified views, and click on generate script to new window. Will there be a way to do this this was a very useful feature ...Show All
Smart Device Development Hiding the blue toolbar
Hello, I have an MFC PPC application. I can't seem to figure out how to hide the blue toolbar at the bottom of the screen. I can get rid of all the buttons by resource editing, but the blue bar remains (with the input icon). Any help would be much appreciated! - Brent Hi Brent The following sample hides the menu bar on a Windows Mobile 5.0 Pocket PC device: HWND h = m_pMainWnd->GetSafeHwnd (); // Get the HWND of your main Window int height = GetSystemMetrics (SM_CYSCREEN); int width = GetSystemMetrics (SM_CXSCREEN); int caption = GetSystemMetrics (SM_CYCAPTION) + GetSystemMetrics (SM_CYFIXEDFRAME); // size of the 'start' menu SHFullScreen (h, SHFS_HIDESIPBUTTON | SHFS_HIDETASKB ...Show All
Visual FoxPro auto increment
I have a table that I want to add a auto increment integer field. I go into the database designer, Right click on the table I want to add the field to then select modify. Then I insert a field and give it the name client_id set the type to Integer (autoinc) it defaults to a width of 4. Then I tell it to index it accending. This works but on all the existing records it sets the field to 0. If I add a new record it does increment. Thank You thanks for your reply but i am doing a new database in which i want the "idfield" whereby the number automatically increases thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. feature request: virtual folders
It would be great if one could create virtual folders in sound/wave banks. It would help much to manage many sounds in bank. I agree. It's big disadvantage that one can't get such information. I asked some time ago about this feature. I think API to get such information from code would be even better solution. ...Show All
Visual C# Using Enum as Index
If I have an enum such as public enum Test { One = 1, Two, Three } I want to be able to add a value based on the enumerated type such as: MyValue[Test.One] = 17; I would also like to keep ot strongly typesd so MyValue[1] = 17; is invalid. Is this possible within C# OK if I had public enum Test { One = 1, Two = 2, Hundred = 100 } The array would be 3 elements so I could not use MyValues[(int)Test.Hundred] = 17; It also is not strongly typed, I could still implement MyValues[2] = 17; which I want to disallow or at least check ...Show All
Visual C# Retreive local computer's acount password?
How can I retreive the local computer's accounts passwords Is there a way to search through all of the keyboard characters to determine the password characters one by one Thanks, (PS: I'm not trying to break into an account) At one time SysInternals had a brute force password cracker for WinNT. It could take days depending how secure a password you had, but it WILL eventually get it. Don't know if they still have it... http://www.sysinternals.com/ ...Show All
Visual Studio Team System Switching between VSS and TFS?
I just installed the Team Foundation Server MSSCCI Provider to test using Visual Studio 2003 against TFS. everything looked good until i couldn't find an option to switch between VSS and TFS. when i realized i couldn't get back to the VSS provider, i uninstalled the TFS provider - only to discover i no longer had a source control provider for Visual Studio 2003. we're in the midst of migrating a lot of applications - seems like having the ability to switch between providers would be a given. is there not a way and ... how could i have reinstated VSS as the source control provider w/o having to repair my VSS installation You can switch providers, but Visual Studio does not provide a built-in way ...Show All
.NET Development How to create a Deep copy of a Bitmap
I am trying to make a deep copy of a Bitmap instance. The clone methods only creates a shallow copy (Does not copy the image data). Does any one have any suggestions Thanks Just create a new Bitmap passing the existing one to the constructor. http://msdn2.microsoft.com/en-us/library/ts25csc8.aspx ...Show All
Visual C++ How to out put the value of a variable, during debugging?
During debugging, How can I make the debugger to out put the value of a variable and the return value of a function OutputDebugString works too. Even if you're not debugging and use SysInternal's DbgMon utility... ...Show All
SQL Server Dates not sorting properly
I am trying to sort by a date and then use a secondary sort on another column date field. The first date sorts properly, but the second is not in sorted order. I have also tried ORDER BY first date, second date and that queries the information in sorted by the first date, but then not sorted by the second date. Any ideas BJ ...Show All
Visual Studio Express Editions Image Conversion
Hi Is there a way to convert a GIF, PNG or whatever to an icon (ICO). thanks. When you save an image to 'ICO' icon format in VB EE, it is actually saved in PNG format. (Which sucks.) Microsoft says: SYMPTOMS When you use the Image.Save method to save a graphic image as a Windows Metafile Format (WMF), Enhanced Metafile Format (EMF), or ICON file type, the resulting file is saved as a Portable Network Graphics (PNG) file instead. Back to the top CAUSE This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that allows you to save files as WMF, EMF, or ICON files. Back to the top STATUS This behavior is by desig ...Show All
Visual C++ How can I tell if I'm using CLI?
Here's my dillema: I'm taking a C++ class, which is entirely working with command-line applications. I'd like to use Visual Studio but of course the prof doesn't want some CLI application, he wants machine code. I'm confused on how to tell the compiler how to compile. The little compiler toolbar next to the "Debug" or "Release" dropdown always says Win32, never CLI though of course Visual Studio is known to compile to CLI. Also I'm confused by the distiction between the project templates- "Win32 Console Application" and "CLI Console Application" and "Empty Project" to be specific. I made a little Hello World from an Empty Project template.. and it's about 100kb. I tried to use the same cod ...Show All
Visual Studio 2008 (Pre-release) cannot set a TemplateBinding to my TranslateTransform
Hi, " hope this is not a doubles post. i think i have problems with my "windows mail" - VASTA News Reader." i have a custom usercontrol. in the custom user control, i have defined two dependency properties. For example: // Set the Value for the TransformTranslation X public double TraX { get { return (double)GetValue(TraXProperty); } set { SetValue(TraXProperty, value); } } // Using a DependencyProperty as the backing store for TraX. This enables animation, styling, binding, etc... public static readonly DependencyProperty TraXProperty = DependencyProperty.Register("TraX", typeof(double), typeof(ZisCircleToggleButtonControl), new UIPropertyMetadata(8.0)); //// Set ...Show All
Windows Live Developer Forums Need to get an ok from VE development/licensing teams
Hello to all. I have been tasked with finding out what are some more specific terms and license agreements when using Virtual Earth in a commercial website. We are part of the microsoft partner program and would like to get more information regarding license/ terms agreements. I have emailed the maplic@microsoft people, but have not heard a respose back from them yet. If anyone can connect me with someone with in VE who can help answer some questions from a legal/usage stand point that would be wonderful. Thanks. Hi Jellis3d, As described in the "terms of use" at http://www.microsoft.com/virtualearth/control/terms.mspx you are allowed 100,000 transactions/day which should be more than ...Show All
