visual-studio-2005

VS2005 Compilation Problem with Settings

I am trying to integrate PJNSMTPCONNECTION CLASSES in my project; they say that those classes do not use MFC. My project is with the setting like MT, and using standard library linking. When I try to compile, I am getting CSTRING not defined and fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <win...

Providing custom database functionality to custom asp.net membership provider

Hello friends, I am creating custom membership provider for my asp.net application. I have also created a separate class "DBConnect" that provides database functionality such as Executing SQL statement, Executing SPs, Executing SPs or Query and returning SqlDataReader and so on... I have created instance of DBConnect class within Ses...

installing visual studio 2005 after 2008 already installed

I have a machine with VS 2008/Sql 2008 already installed. I now need to install an instance of vs 2005/Sql 2005 for two reasons. The main reason is for reporting Services 2005. All of the report servers are sql 2005. Now to create a SSRS compatible with 2005 do I just need to install Sql Server 2005 and work with it in VS 2008 or do...

Clean way to display/hide a bunch of buttons based on a ComboBox selection

I'm writing a standalone application in VB.NET using Visual Studio 2005. I want to display/hide a bunch of Buttons based on the selected value of a ComboBox. Each selection would have a different set of Buttons to display, and I'd like to have them arranged in a nice grid. Driving a TabControl with the ComboBox value would be the kind...

Visual Studio 2005: sharing C++ project files between Professional and Team Editions

We are considering switching from VS2005 Professional Edition to the VS2005 Team Edition to be able to benefit from the better tools available in the latter version. Subsequently we would have teams of developers working on the same C++ project and solution files both from the Professional and from the Team Editions. Those files will be ...

How to dispose off custom object from within custom membership provider

I have created my custom MembershipProvider. I have used an instance of the class DBConnect within this provider to handle database functions. Please look at the code below: public class SGIMembershipProvider : MembershipProvider { #region "[ Property Variables ]" private int newPasswordLength = 8; private string connectionS...

VS 2005 Class Diagram View format

Hi, I have generated class diagram by gight clicking and selecting generate class diagram usign VS 2005. There are nearly 300 class in my project . The class diagram that i have created is not in expanded view. I have to manually expand the class diagrams to view the members. Is there any way to expand the classdiagrams that are created...

Does TFS 2010 support Visual Studio 2003 and 2005 connections?

I have been unable to locate any information on compatibility with Visual Studio 2003 or 2005. I currently have TFS 2010 working correctly with Visual Studio 2008, but we have some developers with Visual Studio 2003 and 2005 instances. ...

Why does the VS2005 debugger not report "base." values properly? (was "Why is this if statement failing?")

I'm working on an existing class that is two steps derived from System.Windows.Forms.Combo box. The class overrides the Text property thus: public override string Text { get { return this.AccessibilityObject.Value; } set { if (base.Text != value) { ...

Binding formview with profile in asp.net

Hello friends, I want to display and update user profile using FormView control. But I dont know exactly how to do this. I am using custom providers for Roles, Membership and Profile. Everything is working fine. Can anybody provide solution? Thanks for sharing your valuable time. ...

Updating vc6 code to vs2005 - missing two DLLs.

I have compiled and built my VC6 application code in vs2005, but while running I am getting an error saying could not load the DLL. Once I check this with dependency walker I found that ieshims.dll and wer.dll are missing. I searched for those dll's but I could not fine them. How do I resolve this problem? ...

Object initializers not working in List<T>.

List<Car> oUpdateCar = new List<Car>(); oUpdateCar.Add(new Car()); oUpdateCar[0].name = "Color"; oUpdateCar[0].value = "red"; oUpdateCar.Add(new Car()); oUpdateCar[1].name = "Speed"; oUpdateCar[1].value = "200"; The above code is working but i want to initialize it when i create...

List iterator not dereferencable?

Hi All I get the error "list iterator not dereferencable" when using the following code: bool done = false; while (!_list_of_messages.empty() && !done) { // request the next message to create a frame // DEBUG ERROR WHEN NEXT LINE IS EXECUTED: Counted_message_reader reader = *(_list_of_messages.begin()); if (reader.has_m...

upgrading from visual studio 2005 to visual studio 2008

I have upgraded one of my projects in c# from visual studio 2005 to visual studio 2008 and and generated DLL .But the size of DLL after upgadring visual studio is 6kb which was 16 kb before upgrade. Why the size has reduced?? Will this give any issue?? I have one more question what is the difference b/w bin and obj folders?? which giv...

Need to show pages without logging in (asp.net)

Hello friends, I am using <authentication mode="Forms" > <forms loginUrl="login.aspx" name=".ASPXFORMSAUTH" /> </authentication> Every thing works fine except that, there are some pages like About Us, Contact Us, Privacy Policy etc, which do not need to login to view them. In my case i need to login to view all pages. I wan...

Accented character regex

I'm trying to create a regex that will look for french words whether a user specifies the accented characters or not. So if the the user has searched for "déclaré" but types in declare instead I would like to be able to match the text still. I'm having difficulty making this more dynamic so that it can be matched on any french word... ...

How to set which version of the VC++ runtime Visual Studio 2005 targets

I have an application that contains a VC++ project (along with C# projects). Previously, (i.e. during the last year or so) when a build has been done, Visual Studio 2005 appears to be targeting the VC++ runtime version 8.0.50727.762. At least, that is what the Assembly.dll.intermediate.manifest file is telling me: <?xml version='1.0' en...

testing for one item in dictionary<k,v>

Hey All, I'm using VS 2005 fx2.0. If I know my Dictionary contains only 1 item how do I get to it? Thanks, rod ...

Visual Studio Setup and Deployment - D Drive

I'm creating a VS2005 setup and deployment installer and I need to create some folders in the D: drive since the customer has a partitioned their hard-drive. I've created some folders in the filesystem view and hard-coded the 'DefaultLocation' parameter to point to the D: drive. Now my question is, is it possible to put a 'Condition'...

Visual Studio "go to header file" not working with hpp files

The very handy right click menu option "Go To Header File" in Visual Studio 2005 doesn't seem to work if my header file is an .hpp file for that module; I've deleted/rebuilt the intellisense file but it still doesn't want to know. Is there a setting or something somewhere to do this? ...