visual-studio-2005

How to load Font from file on a RDLC report?

In Visual Studio 2005, how can I load a font from a file and use it on a RDLC report? I know how to load a font from a file thanks to this question, but i'm not able to use it in a RDLC report. ...

Visual Studio plugin to allow opening 2005 solutions with 2008?

Does anyone know if there's a plugin for Visual Studio 2008 that makes it possible to open VS2005 solutions in a non-destructive way? What I'm thinking is that the converted project file is kept in memory rather than replacing the original on disk, and .Net framework 2.0 would be targeted by default? The current behavior requires a com...

Visual Studio Search Issue.

I have a problem in VS2005. When I try to search files with the regular expressions option I just get an error message stating Unknown argument for ':' operator. Complete Regular Expression required in search string. The pattern that i'm trying to use is valid, and works in other text editors it is: <asp:textbox.+?(type="text"|size...

Visual C++ Data Breakpoints on Floating Points Codes Changing

Hello. Are there possibility to set breakpoint (as i see Data Breakpoint) in VS 2005(C++) on Floating Point codes(ST0-ST7) changing? For example on changing of value ST7 with condition ST7==INF. Thanks a lot. ...

Why does the Visual Studio IDE sometimes initialize the "this.components object: and other times not?

I've recently noticed some behaviour with the Visual Studio Designer (C#) that I don't understand and was wondering if someone could clarify... One some of my Windows Forms, the first line of the designer generated code reads; this.components = new System.ComponentModel.Container(); When this is the case, the dispose method, in that ...

How to prevent a user from having multiple instances of the Same Web application

I'm wondering if it is possible to determine if a user already has a web browser open to the web application I'm working on. It seems that they can open several instances of the same web app and click on buttons to read information that they have used before to enter into an input screen that they're currently working on. What happens t...

Conditional compilation with automated builds in Visual Studio

Here's what I'm trying to do: A single build script That script builds two executables from the same Visual Studio project. The first compiled .exe has a small amount of code disabled. The other compiled .exe has everything enabled. I've been reading up on conditional compilation and that takes care of my needs as far as enabling/dis...

Successful Visual Studio C# build does not create assembly

Hi there, I am using Visual Studio 2005, .NET 2.0 I am not really sure yet under what circumstances it happens, but here is the scenario: I have a solution with a project structure like this: A library project Foo, a library project Bar which references Foo, and a library project Quux which references Foo and Bar. Compiling fails with...

Does Visual Studio Professional come with SQL Server Developer (not Express) edition?

A co-worker and I are disagreeing on this. He thinks we have licenses for SQL Developer because we purchased VS 2005 Professional. It's been a while since I've installed it but I don't recall that being part of the installation whatsoever. It's always been a separate install and license. Been to the MS VS site and can't find anything...

How can I get an overridden Text property of my user control to show up in the form designer in VS2005?

I have a user control with the following code in it. [System.ComponentModel.Category("Appearance")] public override string Text { ... } private int myVar; [System.ComponentModel.Category("Appearance")] public int MyProperty { ... } MyProperty shows up in the property grid when the control is inserted in a form, but Text does not. Ho...

Why does ASP.NET show this error?

I have installed Visual Studio .NET 2005. But when I am trying to execute an asp.net application then I am getting the following error: Unable to open the Web 'http://localhost/adiii'. Could not find a Web server at 'localhost' on port 80. Please check to make sure that the Web server name is valid and your proxy settings are set c...

Bootstrapper: How to compile the application and prerequisite in single .msi package?

I am creating an .msi package for the application which has a prerequisite for installation. I am using the Visual Studio 2005 Bootstrapper for this task. To this end, I did the following: Located the folder C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ and created a folder for my prerequisite (made it same s...

Why does Consolas in Visual Studio look bold?

I have tried installing the Consolas font pack so that I can use it with VS 2005. For some reason it looks a lot bolder than Wikipedia's and Jeff Atwood's examples. I read something about anti-aliasing and I am trying that now. Any ideas on how to get it too look thin and sleak? EDIT: Sorry found out. It has something to do with ClearTy...

Visual Studio Debugging- I just want to step through my program!

I just want to step through my program with Visual Studio 2005, but when I try to copy what my teacher (kinda) showed me, I start stepping through some other files that spontaneously appear in my window. They're called random things like "xstring" and "ios" and I'm really frustrated. Please, how do I step through my code? ...

Difference in dll loading between debug and release modes

Using Visual Studio 2005. Here's an interesting one. To reproduce, create new solution with windows application and class library. In class library, define class like this : public class SomeClassInDLL { public string DoSomething() { return DateTime.Now.ToString(); } } Get the windows app to reference the class library. Add a...

VS 2005 cannot view Sybase SPROCs?

Hi, Im using the VS2005 Table Adapter query wizard to design my datasets. However, I cannot see any SPROCS on my sybase database when selecting ' use existing stored procedure ' In the drop down supplied by the wizard it allows me to see all the functions that are in Sybase but not the SPROCS. Im logging also as DBA purely to see if ...

Appbase being set to nothing at runtime

I have a difficult to reproduce error on about three user installs out of 20. This is a .net Windows application, 2005 in VB.Net running on XP. After opening up a window, we get an error: Could not load file or assembly 'Infragistics2.Win.UltraWinChart.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' o...

Tips and tricks for VS2005 specifically for C# developers

Hello, Let's get the duplication allegation out of the way. I saw couple of variations of this question, notably, link. However, it doesn't address issue specific to C# developers. I want to collect a list most used/powerful/cool tricks--tips in VS from people who are using C# under visual studio 2005 (it's ok to mention for 2008 as w...

Member Variable Pointers in 64 bit environment

I've discovered while trying to use a luaBind-style class binding system that passing pointers to member variables doesn't seem to work right when compiling as a 64 bit app. Specifically: class Foo { int a; int b; }; With the above class getting &Foo::b in 32 bit will return (as expected) 0x00000004. The same call in 64 bit re...

VS2005 C++ broken vtables

Hi, I'm currently working on a quite big (and old, sigh) code base, recently upgraded to VS2005 (SP1). Me and my team are changing/updating/replacing modules in this code as we go but we have occasionally been running into problems where the vtables seems broken. I am no expert on vtables but these sure seems to be broken. The errors ma...