visual-studio-2008

Change Text in Visual Studio using Regular Expressions

Hi, As you might know,Visual Studio's Find and Replace feature allows us to use Regular Expression but I don't know how to change something like this : Math.round((document.getElementById('selectedproductPrixdock').value*document.getElementById('addxdock').value)*100)/100 to this one : (Math.round((document.getElementById('selectedp...

WinForm Inheritance designer settings are copied to derived form.

I am experiencing some annoying behavior with Visual Studio .NET 2008. We have created a base form, and a base grid derived from Infragistics UltraGrid. In the base form, we have set some properties like colors, font size, etc. 1. We create a new Windows Form, (i.e. DerivedForm) 2. We change the inheritance to BaseForm, by simply addin...

Visual Studio - Splitting so that Design mode is on top

VS2008 seems to have a new feature that allows one to split a website into the source code and design aspects on the same page. This feature seems great, however it defaults to having the design part on the bottom half of the screen and the code part on the top half. Unfortunately, my brain doesn't work this way and it ends up being ...

Does Visual Studio 2008 have something like Delphi's structure view?

I use Delphi 2007 in my daily work and have now start to look at VS2008 and C#. One confusing thing compared to Delphi is the design editor in VS. Here is the Form Designer in Delphi As you see on the left I have a hierarchy of components. Some of them like TPanel and TGroupbox can contain other components. It is very easy to change ...

Best Way of Determining that Website is Being run in Visual Studio

In my code behind I'd like to be able to tell that I'm running my web site project in Visual Studio (either Debug or Release). I was considering testing for "localhost" but that's not perfect because we could be testing it locally on the server. Any ideas? ...

Changing the Default "Copy to Output Directory" Setting for Text Files

Does anyone know if there is a way to change a file type's default "Copy to Output Directory" setting in Visual Studio 2008? I often add text files to my projects. They could be anything from readme files, or some usage information, or test files actually used by the app at runtime. But I've never ever added a text file where I did no...

Intellisense not showing anything I write

I am using Visual C# 2008 express. I'm also running Windows 7. I created a simple form, but Intellisense doesn't show anything I wrote. I write: private RadioButton rbtn_sortLocation; And then when I write rbtn,Intellisense pops up, but it doesn't show rbtn_sortLocation. But after writing out a whole line, it doesn't complain about a...

Is there any way to install EF4 on VS2008 SP1?

After googling, I have only found only this sad forum question. Is it true I can't install EF4 on VS 2008 SP1? And if I can, how to do it - just install .NET 4 beta 2? ...

I want to make a panel have a thick border. Can I set this somehow?

I want to make a panel have a thick border. Can I set this somehow? PS, I am using C#. VS 2008. ...

Going from Visual Studio 2008 to Visual Studio 2010 Express Editions

I use C# and asp.net in visual studio 2008 standard. I just found out that there is no Visual studio 2010 standard. I can't really afford Visual studio 2010 Pro. So what am I going to lose when (if) I start using C# 2010 express web dev 2010 express ...

How do I set the target platform for an ASP.NET Website

I have a website project that needs to load a 32 bit DLL, and I am developing the site on Windows 7 64 bit. Because of this, one of the 32 bit dlls is failing to load. Normally in a desktop application project I can go to project settings, however I am unable to locate the setting. I am using Visual Studio 2008 ...

Why does Visual Studio only allow one link per file in a project?

I would like to have a file in several different projects of a solution, however, Visual Studio only allows one link per solution to the file. Is there a way around this? What is the issue of having several soft links to a single file within a VS project? Update: I have added the link as described from the comments below, it seems that...

How to use DLL library file in a C++ project?

I have a C++ project and a DLL library made using C#. Is it possible to add it to the C++ project and use its methods? I am using Visual Studio 2008 ...

WinForms TreeView.Sorted Property and VS 2008 Object Browser

I can't see the above property neither in the object browser nor in intellisense for TreeView, why is this? I can set in my code though, it and the project builds successfully. When I gight click it and select 'go to definition' it is shown like a public bool property. Is this normal, or have I messed something up? ...

IntelliSense doesn't work in VS 2008

Can anyone help me figure out why IntelliSense doesn't work in VS 2008? ...

Problem opening MVC project in Visual Studio 2008

I was given an MVC project, but I can't open it. Visual Studio says 'project type is not supported'. I have Visual Studio 2008 (maybe professional) + mvc last version (2 beta). What must I do? ...

WPF form in Visual Studio Add-in Project

Hi All, I am building a visual Studio 2008 add-in. That Add-in needs a UI for user inputs. I was planning to use WPF for that UI. But i am not able to find a way to make that working. Is there any way to have a WPF form in Visual-studio add-in project? regards, Pavan ...

starting 64 Bit Windows Application Development

I intend to start writing a 64 Bit Scientific Computing Application (signal processing) for Windows using Microsoft Visual Studio 2008. What should I have ready as far as a development platform is concerned? How would it be different from 32 Bit development? What could be the porting issues for a 32 Bit version that I already have (ok -...

How can I changle language of build errors in VS 2008?

Hi, I recently got a new workstation where I'm using Visual Studio 2008 Professional for mainly C# development. At my previous workstation all build errors were presented in english, which I strongly prefer. However, at this new workstation all build errors (and exceptions) are in my native language. I find this very annoying. Do anyone...

Why does 'unspecified_bool' for classes which have intrinsic conversions to their wrappered type fail?

I have recently read the safe bool idiom article. I had seen this technique used a few times, but had never understood quite why it works, or exactly why it was necessary (probably like many, I get the gist of it: simply using operator bool () const allowed some implicit type conversion shenanigans, but the details were for me always a ...