Scott_H's Q&A profile
Visual C++ VS2005 - stl map iterator - Compiler oddity when migrating to VC8
When compiling: std::map<int,int>::iterator it = 0; // compiler error in RELEASE build, OK in DEBUG while std::vector<int>::iterator it = 0; // compiler error in any build. same problem for const_iterator. I understand that '= 0', should be removed anyway, just that there should be consistent compiler errors. Using release version of VS2005 here. Version 8.0.50727.42 Just an addition note: ...Show All
Visual Studio Team System Installing MSF for CMMI guidance in VSTS
Newbie question .... I've installed VSTS but can't find how to bring up the MSF for CMMI template for a project. When I create a new project, I'm not offered the option of selecting a Methodology Template. What do I need to do to make this happen Can anyone help From Visual Studio you must connect to the Team Foundation Server under the tools menu. Then from the Team Explorer window you can create new Tea ...Show All
Visual Studio Team System Column Headers of Show Fields table in 'Detailed Description and History' tab should be in bold
Hi there, In bug WorkItem form when I Click ' Show Fields', it expands with table which has Field/New Value/Old Value Columns. I think it should have been in bold to be able to differentiate from column header and other rows . Thanks, Anu ...Show All
Windows Forms Icon colors not looking correct
I compiled an application using a few icons. I have changed the actual colors of the icons and now I can't get the program to use the new icons. Does anyone know how to fix this I finally got the images to work. For ...Show All
Windows Forms Setting header style of columns in datagrid
Hi All I want to get header style of header of column in DataGrid (WIN Form), and use this style in every row in some specific column I used this code below. It already change the colours of every row in one column, but cells from this columns seems to be flat, and it is not exaclty the same as in original header of column. public class DataGridColoredTextBoxColumn : DataGridTextBoxColumn { private int _column; public ...Show All
Visual C# Equivalent C# statement
Hi, Could any one tell me what would be the C# equivalent for the following Delphi/Pascal statement: IF ((a in [0,1,2]) or (b in [5..6])) THEN BEGIN END; When VS2005 comes out, it still won't have proper sets - BUT Peter Golde, (formerly a Lead Designer for the C# language) has designed a proper library of generic collections for it - and it includes a Set. See http://www.wintellect.com/po ...Show All
Windows Forms Adding a combobox to the statusbar ...
I'd like to add a combobox to the statusbar at the bottom of my application. However, with one exception: I'd like the drop-down portion of the combobox to drop-up! In other words the selection list (containing e.g. "Connected", "Offline" ...Show All
Windows Forms Nested Queries/Datasets in Visual Studio 2005
I am trying to create some queries or datasets that can be used in other queryies/datasets in my application. The reason being is that there are some calcs which will be used for various purposes and don't want to have to repeat these for every different view of the data I need. It can be done easily in Access and SQL Server but I can't work out how to do it in VS 2005. I can create a dataset which can have different views of the source data, bu ...Show All
.NET Development Change Priority on the current thread
I'm new to threading in .net - I want to be able to change the priority of the current thread in a .net 2005 DLL so it can run a long process such as a data load. I would also be ok with launching another thread but I didnt know how to pass parameters through to it from the msdn examples. The caller can be (a) web services (b) a vb6 program run from scheduled tasks or manually (c) ASP or ASPX from IIS Here's what I've written. All ...Show All
Windows Forms null value member in a combobox
hello, I have a combobox bound to a parent table. By default, my combobox shows all parent rows but i would like to be able to choose null parent id. For example, my form is modifying an order. In that form i have a combobox in wich&n ...Show All
Visual Studio remote debugging vs.net2003 webapp - "unable to attach to the process"
I am getting the error message "Unable to attach tot he rocess. The debugger is not properly installed. Run setup ro install or repair the debugger." I installed everything from the VS.NET setup app and it still says this. Any ideas Are the remote debugger components installed on the remote machine Habib Heydarian (habibh@microsoft.com) Program Manager Visual Studio Debugger ...Show All
Visual Studio Crystal Reports Field View
Hi I am using VS 2005 beta2.When creating a crystal report you have a Field Explorer for for the current DB tables that u are working with. Welll for some unknown reason i can enable mine or just will not show... the Field view options stays greyed out all the time and i have everything to get VS2005 beta2 to show me this Field View so that i can drag and drop fields on to my report. Please help me here. I've tried reinstalling VS... help! ...Show All
Visual Studio Issue With Crystal On Server
I am getting the following Error What could be wrong.It is very urgent.Pls help Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found ...Show All
SQL Server Connecting to SQL Server 2005
Hi all, I have Windows XP SP2 and SQL Server 2005 CTP installed on my machine. I am trying to connect to the database in a ASP.net application but no matter how much i try i get the following error message : System.Data.SqlClient.SQLException:SQL Server does not exist or Access denied I have tried to fix the problmm by checking in all the online blogs and trying out whatever is being suggested , still no luck!!! Would appreciate if anybo ...Show All
.NET Development SSL X509Store
I have created a certificate with makecert.exe -sr LocalMachine -ss MY -a sha1 -n CN=test -sky exchange -pe cert.cer makecert.exe import the cert into the certification store. But i delete the cert in the certification store because i would add the cert to the store with my server app. Here is the code, all works fine but Server.AuthenticateAsServer(cert) don't work... Private cert As New X509Certificate2("C:\cert.cer ...Show All
