Satpal's Q&A profile
Visual Studio Team System % Time in GC counter getting "stuck"
Been running some load tests and I've noticed that every once in awhile, the "% Time in GC" performance counter from the web server gets "stuck". What I mean by this is you can see the counter tracking normally, but then at a ceretain point, it pegs at a certain value (typically around 40%) and every reading after that comes back with the same value. Tracking from perfmon confirms that the counter is not staying at that level. Anyone see anything like this Matt When this happens again, can you please try two things to help us narrow down where the problem may lie: 1. Run perfmon again, making sure to run ...Show All
Windows Forms lasso selectable grid
Hi, I am looking for some sort of control or method where there is a 12 cell X 8 cell grid whose cells can be selected individually and a "lasso" select capability whereby several cells can be selected. When selected the cells would take on a certain value that has been specified in a drop down. This grid would then be ...Show All
Visual Studio Tools for Office Can we use outlook object with Exchange
Hi I need to access calendar data from the exchange server's public folder. is it possible to retrive these data using outlook object if i map the exchange server's public forlder to outlook. Kalpesh Hello mr. Paradava, yes. If you want to have the data offline available you have to add the public folder to favorites folder. ...Show All
Visual Studio 2008 (Pre-release) Binding ComboBox and then filter base on that comboBox!!!!
Dear Avalon Team, I am working base on verson 1 month of Avalon. there are two comboBox the frist hold master data and second filter data to following but when I add new a item into master comboBox( All data for both of comboBox are dataset) then second comboBox filter data at new Item of master selected show up a bug {"An item with the same key has already been added."} and comboBox Object reference not set to an instance of an object. my code: /// <summary> /// Get list of phone number which filter by phone typeID /// </summary> /// <param name="typeID"> phone typ ...Show All
Visual Studio Express Editions Error Message...please help
I'm getting this error message when trying to build my program. I've looked in this forum for similar problems....tried those, but am still getting the same message. Would someone please shed a little light on what the problem might be and how to fix it Here's the error message: ------ Rebuild All started: Project: blackjackbet, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'blackjackbet', configuration 'Debug|Win32' Compiling... Project : error PRJ0003 : Error spawning 'cl.exe'. Project : warning PRJ0018 : The following environment variables were not found: $(LIB) blackjackbet - 1 error( ...Show All
Visual Studio .NET Framework 2.0 Installation
Hi, i have recently downloaded Microsoft .NET Framework 2.0 from the Microsoft's website. Now first i tried to install on my home PC, it had windows 2000 SP4, bu the installtion gives the error: Extracting file failed: It is most likely caused by low memory (low disk space for swaping file) or corrupted Cabinet file. Now i then trried to install it on another system running Windows XP SP2 but it gives the same error. I don't have any previous versions of .NET Framework installed on the system with Windows 2000 bu i have .NET Framework on Windows XP SP2 system. Either way i am getting the error. I tried extracting files and then i ...Show All
Visual Studio 2008 (Pre-release) Assembly attribute missing
My program is OK in Nov. CTP. But, there are Assembly error in Jan, 2006 CTP. My compiler is VS Professional 2005. Here are some code: < Mapping XmlNamespace="uc" ClrNamespace="UnitConversion" > <Window x:Class="UnitConversion.Window1" xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 " xmlns:x=" http://schemas.microsoft.com/winfx/xaml/2005 " Title="Converter" xmlns:uc="uc" > <Window.Resources> <uc:Class1 x:Key="..." /> <uc:Class2 x:Key="..."> </Window.Resources> ... Error: Error 1 A ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled it.. and it didnt show a problem then I reinstalled the update and it showed up as a problem in the Windoctor again... any ideas as to what is wrong with this update Im sure its a simpl ...Show All
Windows Forms Creating Toolbars similiar to MS Office
hello, I need to create Toolbar in Windows Forms which has the functionality of Toolbar in MS Office. I do not want to use any third party controls.. Can anybody help me Shabari Try http://www.divil.co.uk The components there are free for use in freeware programs. And they aren't expensive either for commercial applications. I can really recommend this  ...Show All
.NET Development Capture Mouse
!Hello! I have a Windows Service and i would like to know how can i capture mouse movements in the screen, without a form or process launched. I readed that Framework not allow to capture this... i tried with windowshoooks and dont get nothing How can i solve this problem Thks Pavleras I believe you cannot do this but hear me out... Windows Service has nothing to do with the visual effects of the environment, a Windows Service is a process in the background that runs to do "technical" stuff that users should really not know about, such as logging events to the event log, or doing some other pr ...Show All
Visual C++ Differences between operator overload in C++/CLI and in native C++
Hi all, I would like to fully understand the differences between the two ways of overloading operators. I've read that CLI provides the ability to overload operator as static members, and that friend function are not allowed with C++/CLI. But what exacly are the advantages in choosing to overload operator with the CLI method. How will it be better (or not) to define overload operator as static members. Thanks for your help, Best regards, Nico The reason for allowing operators to be defined as static methods in C++/CLI is that the CLR does not really support free (global) functions or as you have pointed out ...Show All
Visual Studio Further problems installing August CTP Professional Edition
After successfully installing re-installing MDAC 2.8 from the August CTP and rebooting my system, the re-install of the .net framework 2.0 completely failed with errors practically on every line, a report was sent to Microsoft when I clicked the send report button, and the attempt to install the August CTP Professional edition completely ended with those errors. For these CTPs is one supposed to completely un-install the Beta 2 base versions first I did not think so but maybe I am wrong. So much for August CTP on my system. I can try to un-install the Professional edition completely and then install the August CTP, but I do not know if this ...Show All
Smart Device Development CCommandbar and AppendMenu with PPC2003 app in VS2005
Hi I'm porting my PPC2003 application to VS2005. I've managed to make it compile, but my dynamic menus no longer work. The menu I'm updating was in a CCeCommandbar when compiled in eVC4++, but in VS2005 I'm using CCommandbar. What I do is use AppendMenu to add items to my menu. I do a printout of the items in the menu after appending them, so I know they are there, but they never become visible. I've tried DrawMenubar but it doesn't make a difference. I found that "On WM 5.0" code worked. The other item that I am having a problem with is dynamically disabling toolbar buttons on a CCommandB ...Show All
Windows Forms Excel (latebinding with c#) and Instanciation
hello again I'm just wondering about 2 parts inside Excel-Export: 1. Dim excelApp As Excel.Application ... 'Some other lines excelApp = New Excel.Application() How is it possible to instanciate an interface In the intellisense I see, that Application is an interface ( ) - In my opinion, it should be Dim excelApp As Excel.Application excelApp = New Excel.Applicat ...Show All
Visual Studio Tools for Office C# and VSTO: disabling modification or addition of new style (in Word)
Hi, Is there a way to prevent a user from adding new or modifying existing text styles in MS Word 2003 That is, they can only work with the styles that the document already has. Thank you, -Nick Hi Nick, You can do this by Select the Tools | Protect. In the task pane that appears, one of the options is limit the formatting choices. Hope this helps Darryn Lavery (MSFT) ...Show All
