Bill Gates II's Q&A profile
Visual Studio Suppress report regions
I am currently evaluating report viewer as a replacement for CR. So far I could reproduce almost everything I could do with CR, *except* for suppressing report regions when specific conditions are met. By suppressing I don't mean hiding, since this sinply leaves a blank region behind, which still occupies the original space. I need to avoid this, the last element before the suppressed region needs to immediately follow the element after the region without a gap. - Are there any ideas on how to achieve this Thanks for your help! Stefan i use entire containner (e.g. table, list, matrix, rectabgle) and set visiblility.Hidden to true. But when i display it remain whitespace in the area of rectangle. Ca ...Show All
Visual Basic Flickering Textboxes when focus is off screen
Flickering Textboxes when focus is off screen. I have got a user control with a picture, text and a button on it and I put them in a list on a splitter panel (to use the vertical scrollbar). Works perfect. . . BUT When I click the text area or move focus to a button on the usercontrol. . Then resize my Main Form it doesn't flicker. . . Once I use the scroll bar or resize past or on the Focused usercontrol it will make all the textboxes in every one of my Usercontrols FLICKER. . . I am thinking this is more of a bug than a feature but I was hoping someone might know of a work around for me . . . Yes it is still there when it's compiled (only drawn quicker). Thanks for any help -EDIT- I just tested and it only ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need to create a mesh from scratch
Hi Xnacers: I need to create a mesh the from scratch, not load a predefined mesh from an x file using the content manager. I have looked into the ModelMesh and I see that it has Vertex and Index buffers but there is no constructor defined. Is there a way to create a mesh without loading it from a file The code (MDX 2.0) I need to port to Xna is the following. I want to know if this is posible. The steps I used to create a in MDX 2.0 mesh where: //1)we create the mesh mesh = new Mesh (this.device , solidPrimitiveIndexList.Count , solidVertexList.Count , MeshFlags.IndexBufferManaged , PositionNormalTextured.Format); //2) set the vertex buffers using (Graphi ...Show All
Visual C# How do I code a sumation?
Hello, I know c# must have a sumation command in here somewhere. I am trying to code this Sumation I will use E for the sumation command. t E (C/t) / (1+r)^t t=x So I need the sumation for C at time t divided by 1+r to the t where t = x You may recognize this as the formula for NPV. It is outlines in wikipedia here. http://en.wikipedia.org/wiki/NPV Thanks for the help. The code construct looks something like this: double s = 0; double t = something; for ( i = 0; i < n; ++i ) { s += theNextTermInTheSeriesDependingOn(t); t = NextT(); } return s; ...Show All
Visual C++ ReadOnly property on vc++ 2005
Hi, im new in this forum and i dont speak english so please try to understand. i wanna add a readonly property to a c++ class in a vc++2005 project. so i did this public class someclass { private: int _x; public: property int x { int get() { return this->_x; } } } and when i try to compile says "Error 3 error C3903: 'someclass::x': does not have set or get method" so i think i need some word like "readonly" before "property" like in VB but i cant find the correct keyword, i was looking in inet, in the vs help and in this forums but cant find the answer. Thanks and sorry bout my bad english. Property syntax is used in managed c ...Show All
Windows Search Technologies desktop search
dear Sir ihave used wds on a variety of machine all with xp pro sp 1 &2; it boggles my mind that it works great on some machines and others it will not. for example. i will let it index some tif files( yes i use the ad on from if ilter). it tells me that i have 6000 files. but if i ask the search index to find my name in those files it tell me "0" result. obviously it should be in the thounsands since these faxes are addressed to me. i have also tried this converting the files to pdf, again the same situation. the index is not getting into the body of the msg to index it. It does work on those files that have been typed on Word or offce. is there an ocr program in wds or do i have to have some program to do this there ...Show All
Visual Studio 2008 (Pre-release) load xaml dynamically in to a parent object
let me explain my scenario. 1) i will have an xbap with Grid as child. What i need to do is pick up xaml files from another folder and display it in the Grid. For this purpose i use xamlReader to parse the objects of the stream. Further more i can load the xaml file if the file is present in the bin\debug folder if i try the same to pickup xaml files from some other folder i get SecurityPermission Exception. 2) I am migrating an existing aspx application to xbap. i need to know whether i will be possible to access URL query strings to be passed between xaml pages. 3) Can i use atlas along with WPF. You can load the xaml file and then create the xaml objects with XamlReader.Load and th ...Show All
Visual Studio Team System Pending changes in a flat list?
Hi, My manager asked me if there is some way to recursively view the all the files with pending changes in flat list. Right now when browsing the Source Control Explorer one can navigate to any folder and see the pending changes for the files. Is there some way that I can click on a folder and see all files below that folder that have changes pending or are checked out by someone, etc. This would be handy for someone to quickly find out what is being worked on as well as who is doing what. Cheers, Clint Hello, you can do the following things: use Pending Changes Window (View->Other Windows->Pending Changes) to see all pending changes in selected workspace (be sure that "filter by solution" is no ...Show All
Visual Studio Port placement manipulation with myPortShape.AbsoluteBounds
Hello - I am trying to write an application that will generate a .diagram file if one does not exist using some arbitrary set of rules. I can get all of my GeometryShape derived classes where I want them, but I am having trouble placing my PortShape derived classes on my GeometryShapes. Setting the AbsoluteBounds and Bounds properties on my PortShape do not behave as I expect. I would expect setting the AbsoluteBounds property on a port would place it at the location specified, relative to the Diagram. [i.e. a 1 by 1 PortShape at a location of (4.5, 5.5) on a GeometryShape located at (4, 5) would appear with half of the top of the port appearing off the top of the GeometryShape]. It appears to be placing it relative to the bott ...Show All
Visual C# abstract class vs interface in term of speed
Hi guys, I read every whare abstract class are faster then interface because interface require extra in direction. i want to know about how compiler deals with interface and abstract class. Thanks iExample.Test() and cExample.Test() both "Test" method having same code. Thanks Mahesh http://geekswithblogs.net/mahesh ...Show All
.NET Development Event Based Asynchronous Pattern
G'day folks, I have been reading through the MSDN documentation on Event Based Asychronous Pattern. There is an excellent example on titled "Multithreaded Programming with the Event Based Asynchronous Pattern": http://msdn2.microsoft.com/en-us/library/bz33kx67.aspx I have followed through the example and have one question, is it possible to add a Pause button that would simply temporarily suspend a async thread that is currently executing. After the sleep period wakeup and continue processing from the point it when to sleep. That is something I cant seem to work and would appreciate any feedback from those who have achieved this. thanks V Sounds like you're looking for an alternat ...Show All
SQL Server Cannot connect from SQL2005 Server to SQL2000 Server on our LAN
Hi. Probably a simple problem, but I just can't sort it. We have recently setup a new SQL2005 server (32 bit) on our LAN. We have several other standalone SQL2000 Servers on our LAN. When I click connect from the Management Interface in SQL2005, and search for database engines, I can see all our other SQL2000 Servers, except for one... which happens to be the one I need to get to. It simply doesn't appear in the "Network Severs" list. Have checked all network settings. Windows Firewall is completely disabled on our network, ports needed are open, user login has access rights which are the same for this server as all the other ones I can see and connect to. In fact, the SQL2005 server can see and talk to this SQL2000 serv ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A Simple 2D Map Editor
I've built a simple XNA 2D map editor for fun that mixes xna and winforms. It supports 20 layers, multiframe and animating textures, and has grid snap. It's very basic and small, intended mainly as a learning experience. Grab here: http://webpages.charter.net/kharza/WorldWalker.zip Enjoy! Kenneth This is a very helpful little tool. I think if you just worked out a few issues and added a few more small features people could make effective use of it. A few suggestions: -2D map editors typically snap to the tile size, so you should probably default to 32/32 rather than the current 1/1 -The default 1/1 scrolls speed doesn't seem to scroll at all -The first tile placed flickers endless ...Show All
Visual Studio Team System Getting a copy of the project on TFS that is not connected to TFS
Hi, We are working on a project that is on TFS. What i really often want is to get a copy of latest version of the project that has nothing to do with the TFS. Currently what i do is to create a copy from the local location to another drive. Then i remove the double arrow signed file and then start the project. On the dialog where it asks whether to remove the TFS bindings temporarily or permanently, i choose permanently. and start working. Before that i remove the Read Only of all the files. But what really happens is that even after all of the above, some Check Out Red checks appear before each file. And when i try to compile it, it asks to Save the project which i cancel for once or twice. Then a screen appears with Four o ...Show All
Visual Studio Express Editions Panels !
how to create panels inside a big panel and of the same size and in those panels i want to creat 2 labels and a checked box....... i want to create this using run time when i click the button... can anyone help... See if the following code helps you... It creates a new panel inside the "bigPanel" and then puts two control on newly created panel. Panel newPanel = new Panel (); newPanel.Dock = DockStyle .Fill; bigPanel.Controls.Add(newPanel); Label label = new Label (); newPanel.Controls.Add(label); CheckBox checkBox = new CheckBox (); checkBox.Location = new System.Drawing. Point (100, 100); newPanel.Controls.Add(checkBox); You can also look into your designer code file (*.Designer ...Show All
