visual-studio

Visual Studio: how does VS decide to build a release or debug exe

Hi, I just created a new project configuration. I named it 'Blah' So no 'debug' in it. Now how does Visual Studio know when to compile a debug file or a release file. is this merely defined by the DEBUG constant? Or am I wrong? :) Thanks I'm using C#, with Visual Studio 2008. Thank you for your answers. I read that I need to d...

Whats the best visual page designer for .NET web applications?

Im currently working on the GUI for an ASP.NET MVC application using Visual Studio 2005. The visual webpage designer (for the views) is awful. Any input on what other people use would be most appreciated! ...

Color scheme: Smooth Dark

As requested by James McNellis I exported my Visual Studio color scheme and posted it here. It is basically the default Visual Studio color scheme with a dark background and slightly modified colors. Visual Studio 2010 Download: http://www.file-upload.net/download-2588083/Smooth-Dark.vssettings.html Installation: Select Tools > I...

How can I embed images within my application and use them in HTML control?

Is there any way I can embed the images within my exe (as resource?) and use it in generated HTML ? Here are the requirements: A. I want to show dynamic HTML content (e.g. using webBrowser control, VS 2008, VB .Net, winForm desktop application) B. I want to generate the HTML on-the-fly using XML and XSL (file1.xml or file2.xml transfo...

How to install wiimote library in Visual C# Express Edition

I am very new to Visual C# and can't figure out how to install the wiimote library. Can someone tell me how to do so. ...

What is the best way to test a mobile website in Visual Studio 2010?

Does anyone have a good solution for testing mobile websites in Visual Studio 2010? In VS 2008 I used to be able to start up a mobile emulator. That functionality seems to be gone in 2010. ...

Can I configure the compiler in Visual Studio to give warnings / errors for all non-localized strings?

I would like the compiler to detect all non-localized strings in my solution. This means any string in an .aspx or .cs file that doesn't come from a resource file. ...

Dll resources in resource editor: Where do they come from?

Hi, I have a small C++ dll which was written in Visual Studio (of course). In the solution code, I have a resource file that includes only version information. The strange dact is, that when I frag the compiled dll to Visual Studio, it opens a resource viewer with bitmaps, dialogs and a string table - where do all of them come from?? ...

How do I effectively use psscor2 with Visual Studio 2008 to remote debug into a running process?

I am able remote debug into a process that is running both native and managed code on a VM from my host machine. Also, on the VM I have been using the psscor2 extension with windbg to analyze the .net heaps. I find my self jumping back and forth between Visual Studio 2008 in my host and WinDbg in the VM while attempting to locate and f...

Help with interesting VS2010 and SQL2008 bug

Hey, I'm using Visual Studio 2010 to create a webpage. I'm calling some tables from SQL Server 2008. Here is where I'm confused... The code runs fine with no errors. The pages work except I'm missing my rows in my 3rd column from the table. Everything else shows up. Ive checked to make sure the names are matching everywhere and that ...

Enable debugging in Design mode in VS

Is there any way to enable debugging from within the Windows Forms Designer in Visual Studio (any version, up to and including 2010)? What I mean is, say I have some custom user control, and this control has certain validation that it performs when I set a particular property. I'd like to be able to set a breakpoint somewhere within tha...

check compiler version in visual studio 2008

Hello, Im writing application in c++ and after try to run built (in debug mode) application on another machine I had error (The application has failed to start because its side-by-side configuration is incorect). I realised that there are missed DLLs from windows\WinSxS\ But I dont really know which folder contains what I really need ...

SQL table relationship not showing up in visual studio

Hey, I made several tables and relationships using SQL server manager. I then imported them to visual studio and it all appeared in the correct form, except one of the relationships did not appear. I have checked everything I could think of and it is the exact same as the other relationships. If you know anything I can check, I would app...

Upgrading from VS2008 Pro to VS2010 Pro without MSDN

Hi I'm looking to upgrade from Visual Studio 2008 Pro to Visual Studio 2010 Pro without MSDN. On the MSDN US site there's pricing for Upgrade from Standard for $299. On the UK MSDN site however, the only options are to buy with MSDN for £484.99. Obviously a big difference in price there! I can't find any info as to what qualifies for ...

VS 2010 Debugger: Any way to search an object for a particular value?

I am trying to search the "this" object in an ASP.NET MVC 2 for a string value. In a view, I set the partial view input tag prefix and am trying to figure out how to reference it in the partial view itself. For example: Html.EditorFor(m => m, "templateName", "fieldPrefix"); In the partial view, I would like to search the "this" obje...

How do you print and export when using Dundas charts in VB or C#

I'm using Dundas Chart Profession within my VB program to generate a chart based on my data. Right now I have my charts opening fine but I am unsure how to add the functionality to let the user choose to print (and export) the chart once the program is running. ...

How do you export an report while using ActiveReports

I'm using Active Reports within my VB program to generate a report based on my data. Right now I have the report opening fine and it is allowing the user to print, copy, find, etc. I am unsure how to add the functionality to let the user choose to export the chart once the program is running. I've been looking at many tutorials but the...

Delete merge history in a branch in TFS

Suppose I have a main branch and a dev branch. Suppose I merge some stuff from dev into main. I check in the merge Now I decide "whoops, the dev branch wasn't really ready for me to merge into main yet." I want to tell TFS: remove that change set from main and forget that the merge ever happened. Rolling back the changeset is ea...

Is it possible to interact with a console while running a windows desktop application?

I know that you can create a separate console application, however, I am in the final stages of testing and my application does not have an interface. Is there a way to simply open a console and interact with that inside the desktop application? This would be in a test method. (I am using C#, in Visual Studio 2008). Thanks, badPanda ...

Extending Visual Studio with a Custom Designer

How do I create a custom Visual Studio 2008 UI designer for a C# file? For example, when you double click on a DataSet in the Solution Explorer, a UI screen appears that allows you to edit the DataSet, even though it is defined in XML/code (which you can right click and "View Code"). Usually this code is separated from user code in som...