BobishKindaGuy's Q&A profile
Windows Forms TreeView scrolling up
I have a TreeView control that when expanded is way too big to fit on one screen vertically. I have coded drag drop stuff which works absolutely fine except for one small flaw. If I am dragging a node downwards, the TreeView scrolls down when I get to the bottom of its area to bring the stuff below into view. If I need to drag a node upwards then the same thing doesn't happen. This means that my users can't drop a node onto one which was above t ...Show All
Visual Studio Refactor Encapsulate field repeatedly
Hi. I have an object with more the 100 fields. I wonder if there is a method to automate the process of encapsulating those fields. I'm just too lazy to do "Right-Click -> Refactor -> Encapsulate Field" for 100 times if i select all the fields and do "Encapsulate" then only last selected field is encapsulated. Any suggestions on this Thanks. Hi, This is not supported in the shipped co ...Show All
Windows Forms deploy .NET winforms control through webpage
I built an upload component in winforms similar to the msn spaces component with the difference that it is also used for streaming media. Now I see the msn people are able to deploy this without a separate download. I cannot figure ...Show All
Visual C++ informing managed class from native methods
Hi, Am I trying to inform a managed class from a native class method, I am using a library and it provide me some methods for callbacks and I want to also inform managed class when I received a callback. Is there any way to do this // managed class interface class C { public: virtual void ManagedInformMe() = 0; }; ref class D : C { public: virtual void ManagedInformMe() { // I Informed } ...Show All
SQL Server Cube Deploys, but without cube-dimension changes
Scenario: I've built an SSAS 2005 (Std Ed.) UDM cube using a complex shared dimension, plus other simpler dimensions, on a highly-relational source DB using VS in (default) Project mode. Apparently erroneously, I had believed that if a cube successfully deploys, then all of it's dimensions succeeded in their processing as part of the cube deployment. However, I've just noticed that the data values from series of added attributes to the complex d ...Show All
.NET Development custom xml output with web service
I have a web service that is returning single value. It's working fine, however, I'd like to do two things: (1) add to the output so that multiple columns are returned from the SQL query the web service performs and (2) return the output so that the xml tags are what I want them to be instead of < string xmlns ="..."</string>. Basically, I'd like for the output to be something like: <mydata ...> <c ...Show All
Visual Studio Team System File-->Source Control-->Add Files to Source Control - How to enable?
I am trying to add non-VS 2005 files to the source control system in TFS Beta 3. How/When should Add Files to Source Control from the File menu be enabled Thanks Scott If Solution Explorer has focus, I believe the Add to Source control menu is tied to whatever's active in Solution Explorer (but I'm not 100% certain). If you bring up Source Control Explorer (View/Other Windows/Source Control Explorer), the ...Show All
Visual Studio 2008 (Pre-release) Passthrough of ASP.NET identity to WCF service layer.
I have a WCF service hosted in IIS, and an ASP.NET application that consumes it. I need to provide user-based security at both the application and service level, and so I'm trying to propogate the ASP.NET user through to the WCF service. I need to be able to do this for both Windows and Web-Forms authenticated users, but I figured Windows would be the easier win to start with. My binding is currently wsHttpBinding, and I've tried both Transpo ...Show All
Smart Device Development PPC device problem w/ VS2005 application
hello all, i have a program that i upgraded from eVC to VS2005 using the eVC++ upgrade wizard add on. i was able to successfully upgrade the application (or at least i think i did), and it compiled correctly in VS2005. when i transferred the app over to the PPC device (running PPC magneto) and tried to run it, i get the following error message: "The file 'app name' cannot be opened. either it is not signed with a trusted certificate, ...Show All
Visual Studio Team System "Normalize strings to uppercase" rule
One of the new rules in 1.32 is the "Normalize strings to uppercase" which tells me to "replace the call to String.ToLower(CultureInfo.InvariantCulture) with String.ToUpper(CultureInfo.InvariantCulture)". I am missing the point of this new rule - why is a conversion to uppercase any more accurate than a conversion to lowercase when using the invariant culture Guy This would be an extremely difficult anal ...Show All
Visual C++ Problem overloading and using ostream operator << for my own classes
I have several problems to declare, define, and use the following operator in many .cpp files : std::ostream & operator << (std::ostream &, const MyClassA &); I succeed to declare and define this operator for my class MyClassA, defined in MyClassA.cpp. I declared my class as following : // MyClassA.h class MyClassA; std::ostream & operator << (std::ostream &, c ...Show All
Visual C++ Exposing the Methods from a dll to be used in other applications....
Hello Everyone, I have a code which is made using .NET clr library.....I need to expose some functions from there to use in some other project, according to me I'm exposing in the .dll but when I use it as a refrence I dont see anything in the other project... Thats what exactly I'm doing....there are two scenarios related with this: If I do .... public ref class Z : public something { public : void TestMethod() } And ...Show All
Software Development for Windows Vista Welcome to the Microsoft Vista Presentation and UI Development forum!
Thanks for dropping by! We're here to listen to any comments and answer any questions you might have concerning Presentation and UI in Windows Vista. Note that this is a software development forum, so the focus is on issues related to writing programs to take advantage of Windows Vista. You can discuss your issues related to installing Windows Vista in the microsoft.public.longhornhelp newsgroup . If you wish to report a Windows Vista bug, doub ...Show All
Visual Studio Team System Can not disconnect from TFS Server in explorer window
When i started a connection (Studio 2005) the first time after the upgrade to TFS Beta 3 Refresh no login was prompted when connected to the FTS server. I was loged on as administrator. I can not find a way to disconnect from the server and login as another user (myself). When I disconnect I receive an error saying Value can not be null. Parameter name : uriString OK I did that! I have uninstall ...Show All
.NET Development How to make Debug.Assert work?
I remember it works long before, but it never works now. I have defined DEBUG symbol, build in Debug configuration, turn on "break when any Exception throw" option, but the Debug.Assert never assert even the condition is false. I am using Whidbey Beta2. Is there anything wrong in my settings Thanks! I think I got the same problem: - Debug.Assert() does not work in a specific c# class library; - It works correctly in other class librar ...Show All
