Mika73's Q&A profile
Visual C++ show/hide/show window
Hi. Sorry if this is too smple, but I can't get this to swing. I am making a small graphics app that includes a few windows that I only want to appear at certain times, via a trigger. Setting up the trigger is not a problem. I use it to start and stop animations and show/hide scene nodes. But I can't seem to apply this same way to a window. Here is what I have at the moment: ShowWindow(hMessage , SW_HIDE); if (distance < 10.0f) { ShowWindow(hMessage , SW_SHOW); } "distance" is defined as the distance between the camera and the collision object, and again, it works fine for other uses. In the given code, the window nev ...Show All
Visual Studio Team System Is TSF Server included in Whidbey Beta2 DVD?
I could not see the TSF Server install option when install Whidbey Beta2. Should I install Whidbey Beta2 on Win2003 to install TSF Server, or is it included in another installtion package Thanks! TFS Server is a separate download for MSDN Universal subscribers. It should be listed as part of the Visual Studio 2005 beta 2 expando as one of the items underneath the team suite iso. --Oren ...Show All
Visual Studio Express Editions Sourcesafe and Express Editions??
Can I use a version control tool like sourcesafe with any of Express Editions Roygar - The short answer is no. Niether SourceSafe nor the new version control system that is available with Visual Studio 2005 Team System are integrated into Express. You could potentially use a source control system that you control through an external tool or through the command line, but you won't be able to get this integrated into the Express IDE. For developers who are using source control, we encourage you to use Visual Studio Standard or above. See the chart at http://lab.msdn.microsoft.com/vs20 ...Show All
Visual Studio Team System TS Source Control not getting latest version
Currently using the following: TFS Dec Beta 3 Refresh installed on a single Windows 2003 server VS 2005 installed on XP machine. If I have a class that has a method that takes a single int paramter and this file is checked in and is assigned changeset number 5 ... then I check out this class and change the method parameter from int to double and check that in and is assigned changeset number 7. Then I perform a "Get Specific Version" and fetch changeset number 5 version of this class (the one that has the int parameter). Now at this point if I perform, a "Get Latest Version" on the file or "Get Lastest Version (Recurs ...Show All
Windows Forms What's the purpose of 'PreviewKeyDown ' event?
What's the purpose of new 'PreviewKeyDown' event The doc doesn't say much. Is the only difference that it occurs before the 'KeyDown' event If everyone start using this instead, won't it simply replace 'KeyDown' When should I use one or the other This event is fired before the KeyDown event is fired. It only gives your an preview and you can't set the Handled flag. Use this event for logging logic, shortcut logic because this will be allways fired and can't be stopped by setting a Handled flag. ...Show All
Software Development for Windows Vista SqlTrackingQuery comments and questions
I've just installed beta 2, and I'm glad to say I find things much more robust in general, and somewhat faster (though the fact that I got a new machine might have something to do with it ). Anyway, I've been checking the new SqlTrackingQuery facilities and I gotta say it's very nice to have something like this; it really seems like it is something useful in building more robust implementations and providing tooling for problem diagnose and stuff like that. However, I do have a few comments and questions on it. The first one is: Why is the API so based on the use of List<T> My main reason for asking is that exposing List<T> types ...Show All
Smart Device Development Udp Client JoinMulticastGroup Problem
Hi, i got a kind of weird problem... i got an udp multicast client that work on .net compact framework 1, when i try to use the same code in .net cf 2, it throw an exception on the joinmulticast group instruction. So i tried the use the .net cf1 dll in my .net cf2 app but it does not seem to work either. Does someone know how to use multicast in .net cf 2 or a way to get this code to work Also, im using this code on a ppc2003 se device with wifi. Multicast client work only when the pocket pc is not docked, so i can't debug! is there anyway to get multicast to work when docked public static byte [] getPacket( string IP, i ...Show All
Visual Studio Team System Erro running FxCop 1.32
Hi All, Below I put the error when I pass mouse over a line of one error find after fxcop has analysed my dlls. What are happens See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.FxCop.UI.MessageDetailsForm.DisplayMessage() at Microsoft.FxCop.UI.MessageDetailsForm.SetListViewItem(ListViewItem value) at Microsoft.FxCop.UI.MessageListView.UpdateSelections() at Microsoft.FxCop.UI.M ...Show All
Visual Studio Team System Which group you need to be member of to able to see reports
Hi, Today I saw that everybody except me who are member of [ProjectName]\contributors group are not able to see Reports ( in Team Explorer, there is only Reports Folder, but it does not have any sub node or any of the reports under it ) for all of them. For them to be able to see reports, What group they need to belog to Thanks, Anu Hey Brian, They are seeing an empty page with just written Home on it, that Home is not clickable. Thanks, ...Show All
Windows Forms Inheriting TreeView and OnPaint
Has anybody successfully been able to inherit the TreeView control and do anything worthwhile I inherited it and it doesn't even call my overrides, specifically OnPaint. I have tried this on numerous machines with the windows 2000 and windows xp shell controls to no avail. Has anyone else successfully done this Paul Tyng My recomendation i ...Show All
.NET Development How can I make VS 2005 use .net 1.1 Framework?
How can I force VS 2005 to use the older .net frameworks I'm trying to write an application and make it as compatible as possible. Being stuck with using the .net 2.0 framework is going to force me to scrap my project. There is currently a workaround using msbuild to target the 1.1 Framework from within VS2005: http://blogs.msdn.com/jomo_fisher/archive/2005/04/22/410903.aspx and http://www.longhornblogs.com/robert/archive/2005/06/03/14156.aspx and http://www.hanselman.com/blog/BuildingNET11ProjectsUsingVisualStudio2005.aspx The feature is coming soon to be built in without having to do this wor ...Show All
Visual Studio Team System MSDN Academic Alliance
Will TFS be available for universities via the academic alliance program I couldn't find any page with any information on that. Let me also state my opinion on that: I think learning how to organise team development, manage a dev process etc is a key component of any CS education. So, I think you guys should do everything so CS faculties can provide a TFS for all their students so that they learn how to use it. Along that line I believe you should include the Team Suite in the academic alliance program instead of the pro version. I think it is so important to NOT have students use tools that are less professional than what they will use on ...Show All
.NET Development WebProxy Fails for https in IHttpHandler (*.ashx)
Hi, It seems WebProxy Fails to work when used with a "https" url in a IHttpHandler. you will get a timeout ! In a regular console application there is no problem with WebProxy . What is wrong here Derryck see example code : ---------------------------------------------------------------------------------------- using System; using System.Web; using System.Net; using System.IO; using System.Text; namespace ft_track { public class ft_track_handler: IHttpHandler { public bool IsReusable { get { return false; } } void process_my_post(HttpContext context) { try { HttpWebRequest req ...Show All
Smart Device Development How to test phone incoming call on wm5.0 smartphone Emulator using visual Studio 2005
Dear All, I am developing an application for smartphone using visual studio 2005.It includes phone incoming call notification.I am unable to test incoming call notification on Emulator as we cannot have multiple instances for an Emulator. Is there any possible way to test incoming call notification help me please, Thanks. See http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/callevents.asp for how to do this on 2003 devices. For Magneto, we'll be releasing a tool which does the same thing in a few months Sriram ...Show All
.NET Development Upload data in Excel file to DB
Dear all, I am using MS C# .NET in MS .NET Framework 1.1. I want to create a button in a interface that upload Excel records to an Oracle DB table. Do you any good sample of it Thank you. Also, I would like to know some points regarding it:- 1. How to get the last record in Excel file for looping 2. Do I need to get each cell in Excel file and put it into a dataset for validation If so, How to do it 3. If the validation is passed, how to upload those data to DB Thank you very much Regards Ron Hi, Actually, I have a excel file including three columns (let say "Stock code","Quant ...Show All
