visual-studio-2008

Add values to standard expressions list in Regular Expression Editor dialog in VS 2008

Hi. In the "Regular Expression Editor" dialog in VS 2008 ( or 2005 for this matter ) , there is a list of "standard expressions" like : "French phone number" , "French postal code" etc.. And of course there is an option to select a "Custom" and then enter your own regular expression. Well.. I want to add a predefined expressions to...

Changing Form Size in VS 2008

good morning all :) was wondering if anyone can tell me how come I cant get my windows form size to go to 1280x 768 in vs 2008? My resolution that I am working on is 1024x768..but the computer that I am going to be running this program on is a wide screen..1280x768. I try to change it in properties but it keeps defaulting back to 1036...

making graph/map of functions/methods calls in c# code (visual studio 2008)

I have some c# projects in visual studio 2008, and I want to get graph (map? table?) of all methods calls. I want it static, not runtime (like "call stack"); any function - who calls it, and how many times, etc. I can Find All References method after method, and copy each call to table or Graphviz file, but it will take few hours. Is th...

Visual Studio 2008: Setting the vertical separation to default in wpf designer

I favour the vertical separation over the horizontal separation in VS2008 wpf designer. But after deleting the .suo (fresh checkout, new project, etc.) this setting is gone. Is there a way to tell visual studio to default to the vertical separation instead of the horizontal for wpf designer ? I can not find anything in the "options". Did...

Can I have use silverlight 4.0 with the visual studio 2008 ?

Can I have use silverlight 4.0 with the visual studio 2008 ? ...

WPF inherited UserControl lost VS designer support

Hi ! I' written this UserControl: <my:MyUserControl x:Class="MyClass" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:my="clr-namespace:MyNameSpace.MyControls;assembly=MyAssembly"> </my:MyUserControl> pu...

Visual Basic Express 2008 Help

I have been given a task to: Develop a program where a child will be presented with picture of a fruit (one of five possible fruit) on the screen at the click of a start button. The child will then try to recognise the fruit and write its name in a specified place on the screen. On the click of a check button the name of the fruit writt...

Is it possible to control Visual Studio exception handling from the debugged code itself?

Dear ladies and sirs. I am wondering if it is possible to control the Visual Studio exception handling options from the code itself. For instance, I would like to turn off stopping on FCE for a certain piece of code, that generates many FCE, however, I would like it to be active for all the other code. Is it possible to do it from code?...

Figuring out what makes a C++ class abstract in VS2008

I'm using VS2008 to build a plain old C++ program (not C++/CLI). I have an abstract base class and a non-abstract derived class, and building this: Base* obj; obj = new Derived(); fails with the error "'Derived': cannot instantiate abstract class". (It may be worth noting, however, that if I hover over Base with the cursor, VS will po...

Run VS.NET 2008 Web Application With Non-Default Browser

I have Firefox set as my default browser, but I want to debug the ASP.NET Web Application with IE. Searching SO only shows replies to "Browse with ..." However, this doesn't start the debugger. How would I do this? I remember in an old Visual Studio setting the browser to start with the debugger, but I don't remember how - and where it i...

Accessing .vsprops (Property Sheets) via VS Automation and Extension

I am trying to access user macros that are defined in a .vsprops (Property Sheet) that is used by a Visual Studio 2008 project. I cannot find any documentation on accessing any information in a .vsprops file using VS automation and extension functionality (i.e., EnvDTE et al). Does anyone know if this is possible? ...

How can I change a connection string, or other app settings, at test time in Visual Studio 2008?

I need to test a class library project in VS. This project, itself, does not have a web.config file, but the classes do on the web server to which it's deployed. I access these like this: ConfigurationManager.ConnectionStrings["stringname"].ConnectionString; Can I adjust these strings while running unit tests in VS? Should I have cons...

Convert File System Website to IIS Website

We recently migrated from VS 2008 to VS 2010. The migration went fine, except for our web project. Before, in VS 2008, the site showed up as http://localhost/Website. Now, it appears as C:...\Website. It appears that when we did the migration, VS started to treat it as a file system website. I've tried removing the existing site and re-...

Best "For Pay" wpf controls

If this question has been asked then I applogize and I will join in voting to close it (or just delete it), but I could not find it being asked before. We are potentially embarking on making many of our apps using WPF. Most of our apps are normal business apps that will not need too much eye candy. Tasteful ui is nice, but I don't see...

how do you release code like a static library in windows

I had a question with regards doing an official release of code. Its my first time using VS2008 so bear with me. I have my header file that has the api's which grant them access to the lib. now there is a debug and a release version that is talked about. how do i give these to my client? do i need to give them both folders or just the...

Combobox writing to datagridview

hi all Want to know if anyone can tell me how I can get the selected combo box choices to automatically populate a datagrid. For example: On the left side of my user form in visual studio I have a couple of combo boxes. on the right side of the same user form I have a gridview with columns matching up to my comboxes. (combobox1 is na...

Store project reference paths in .csproj, not user file?

I altered a bunch of project files in our solution, to add a reference path to all of them. I didn't realize that Reference Paths are stored in the .user file for the project. Is there a way to store those in the .csproj file, so they can be checked into source control? ...

Visual Studio crashes when I view a JavaScript file

I start up an existing solution, click on a JavaScript file, the file opens up in the IDE for a few seconds and then visual studio disappears. This is consistent and reproducible. I saw this patch for KB958502 and installed it but it didn't seem to do anything. Any suggestions on how i can proceed as this is completely stopping my dev...

adding a dll to a VS 2008 Win32 application

Hi, I have created a project VC++ in VS 2008. I want to call a certain function in an external dll. How can I add the reference/resource [I am a java guy please forgive if I am using the wrong terms here] to my project so that I can call the functions in the dll. I have gone through several forums and yet have not found a clear solutio...

CIL and JVM Little endian to big endian in c# and java

Hello, I am using on the client C# where I am converting double values to byte array. I am using java on the server and I am using writeDouble and readDouble to convert double values to byte arrays. The problem is the double values from java at the end are not the double values at the begin giving to c# writeDouble in Java Converts...