AnonymousI's Q&A profile
Visual C# Inheritance Bugs in Windows Forms
I'm using the Visual Studio 2005 to do WinForms development and have been repeatedly running into problems with inheritance. What happens is that sometimes when I override methods in a base class the override isn't called - but the base class method is called instead. I've verified repeatedly that the code is correct, the method signatures match, and the override should be called (polymorphically) rather than the base class method - and yet it calls the base method instead. I haven't seen in in none Form-based classes so far, but I've seen it several times in specialized Forms that I've created. In each case, the problem is the same. The base class method is invoked rather than the override method. It appears to be a bug in the compiler. N ...Show All
Visual C++ fatal error LNK1241: resource file foo.res already specified
I've been having random C++ incremental build issues that revolve around getting the error: fatal error LNK1241: resource file foo.res already specified This started after installing SP1 for VS 2003. This error happens on Debug builds, and only for incremental builds (not builds from scratch). I thought that the Service Pack 1 was the issue, so we uninstalled VS 2003 and reinstalled it without the service pack. However, I am still randomly getting the issue. Is it possible that some part of SP1 is still cached somewhere on the machine Has anybody else seen this issue I will try to put this in a loop and reproduce it, but it does appear to be quite random and I haven't had much luck reproducing it by hand so far. Any help is appreciated. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XBox 360 hard drive question for MS staff - semi off topic
With all the great new offerings out or coming soon for the 360: XBox Live Video Marketplace, XNA game creation, and the recently announced IPTV, the poor little 20GB hard drive's days look numbered. Is MS planning to release a larger hard drive for the 360 I'm pretty sure that many people (including myself) would be very interested in one. I don't want to replace my box either. I wish we could write to external USB hard drives and flash drives rather than using them read only. The more we can comfortably store, the more we might buy... ...Show All
Visual Studio Team System "All Files are up to date" - "Get Specific Version"
Hi, I try to get the latest version, but I get following message: "All Files are up to date" So I tried to get a specific version with the two options "Overwrite writeable files..." and "Force get of files versions..." but nothing changes... Then I tried to get the sources with tf get /all, but again nothing changes! Regards Simon Hi! I have now deleted the workspace, and recoverd it with a template. But the same problem again! I will try to set the new working folder without a template regards Simon ...Show All
Microsoft ISV Community Center Forums Outlook Forms
Hello Guys, I'm working with an Outlook form and I want to be able to add and remove recipients to the TO:, CC: and BCC from a vbscript code. Right now I know how to add but not how to remove it. This is my code, does anyone know how to remove a recipient I'm using a check box, if check box is true then add recipient, it false then remove it. Sub chkAGonzales_Click() Dim myRecipient Dim chkAGonzales Const olCC = 2 Set objPage = Item.GetInspector.ModifiedFormPages("OTSO Controls") Set chkAGonzales = objPage.Controls("chkAGonzales") If chkAGonzales.Value = True Then Set myRecipient = Item.Recipients.Add("Gonzales, Alex") myRecipient.Type = olCC myRecipient.Re ...Show All
Windows Forms multiline tab control
hi, i have to made a custom multirow tab control where the number of the visible tab rows should be selected by the user. when a new tab page is added, and the number of tab rows has to grow bigger than the maximum number of rows, then the updown control should appear, as in case of the single row tab, and should act the same, i.e. scrolling the tab header. my question is: is there a way of accessing the tabcontrol's header in order to customize it's behavior (i.e. when to show the updown control, what happens when the user press the arrow buttons in the updowncontrol, limit the number of visible rows, etc.). thank you, calin It would be much simpler to write your own control rather than t ...Show All
Visual Studio Express Editions Programming Sudoku
Well I just bought teh book Programming Sudoku, and I ran into a few problems. When I saw that you needed Visual Studio 2005 I was upset, but tehn I read on and found out it says C# shouldnt have a problem so im using Microsoft Visual C# Express Edition. Ive gotten pretty far in the book, and its in the Code section where i ran into a few problems! Heres what the bok says to do, Public Class Form1 '---dimension of each cell in the grid--- Const CellWidth As Integer = 32 Const cellHeight As Integer = 32 And thats where I hit the problems! See I wrote that and i get build errors! Heres my Code using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.D ...Show All
Visual Studio Express Editions Cannot open include file: 'd3d9.h': No such file or directory even after i downlaod SDK
Yes I downloaded the SDK and I still get this error even after I put it in the include files. I closed the program and went back in. Do I have to start the whole project over Thanks for the help and <windows.h> is still not working either. So if somebody could please help me thanks. :D. Try using the /I compiler switch to point to where the header is located. Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Placement of sys.conversation_endpoints and sys.transmission_queue
Is there any thought going into moving these two tables to a file group that we can control Putting this in Primary with the rest of my system tables is quite problematic, and hinders my ability to manage space usage on my files. Traditionally, we didn't have to consider a primary file group that could grow to large proportions, but now with these two tables it can. If a large volume of messages gets sent through and the system can't keep up, then these tables and my primary file group will grow sometimes enormously. You can submit this feedback here: http://connect.microsoft.com/SQLServer Rushi ...Show All
Microsoft ISV Community Center Forums Confidence Limits for the Mean
Hi; I need some code that will let me work out the upper and lower confidence limits for the mean without using the excel confidence function I think that when you understand how the formula behind calculating the confidence means / limits will eventually help you with finding the code that fits your solution / application the best. Therefore i've been searching online on how the formula is actually put together and found the following pages: http://onlinestatbook.com/chapter8/mean.html http://www.cyclismo.org/tutorial/R/confidence.html I hope that these will help with finding the solution which suits your application the best. ...Show All
Visual Studio Express Editions How do I disable resizing in applications?
I want to disable the ability to resize or maximize my applications. What code do I put in the program, and under what class (form load, etc.) Thanks To set a form as not resizeable set the BorderStyle ( FormBorderStyle ) to something appropriate: to display a non-resizeable form it would be set to FixedDialog . The 'resize' border on a form will not show, hinting that it isn't a resizable form: this is important for accessability reasons. ...Show All
Visual C# OnPaintBackground: Should you Dispose of the graphics object?
I have created a control that overrides its OnPaintBackground method, and paints a gradient two-color background similar to the title bars at the top of Windows XP windows. I call base.OnPaintBackground(e) at the beginning of the method so that the control can draw its normal background prior to drawing the gradient fill. The question I have is whether I should be calling dispose on the e.Graphics object at the end of the method call. I am afraid that I might be closing a graphics object that a derived object might need, or alternatively might be leaving open a graphics object that will be need to be used elsewhere in the application. Thanks for reading. Sorry if this is a rudimentary question. The code is below: protected o ...Show All
SQL Server Saving values of a variable
Hi all, As there is no support of check points at data flow component level, we are trying to implement this on our own. In the process of implementing we have to save values of certain user defined variables in to an xml file. To do this, we added a data flow task in the event handler OnTaskFailure. Now we want to save values of the variables in to an xml file in the data flow. Can you please suggest me how can we save values of variables in an event handler Cheers, Gopi Gopi, Since the data flows appear in the control flow as data flow tasks you can use the built-in checkpoints. You'll just need to consider how your data flow can be broken up into individual tasks which you can link toge ...Show All
Visual Studio Team System Moving Data to localized Foundation Server
Our group is using english TFS. Now is our Firm wants to install a new TFS (German version) for all developer groups. And our group need to move our Data (only WorkItems, no source code) to this new server. Is it possible to back our database and restore it on a new server Or can we export english WorkItems and re import them on german TFS Marking this as answered because it is answered in http://forums.microsoft.com/MSDN/showpost.aspx postid=596497&siteid=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What does creators club include right now?
I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.) for an annual subscription. Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." I signed up for a year because it sounds like quite a good package, however there seems to be no information provided on ...Show All
