I create a new Win32 Console App as an empty project
I am running Windows 7 64bit with Visual Studio 2008 C++. I am trying to get the sample code from the bottom of this article to build: http://www.ddj.com/architect/207200659
I add CUDA Build Rule v2.3.0 to the project's custom build rules. It is the only thing with a checkbox in th...
I've created a UserControl with the following public property:
[Browsable(true)]
public string Text
{
get { return pnlLookupTable.GroupingText; }
set { pnlLookupTable.GroupingText = value; }
}
pnlLookupTable is, as you may have guessed, a Panel control. I can change the value of the Text property in the Properties window and ...
How can I skip common classes in VS 2008 debugger when stepping in?
For example, I do not want debugger to step into any of the std:: classes.
How can I achieve that?
I've found ways of doing this in VS 2005 and earlier, but not 2008
...
As we all know MS added JavaScript formatting to VS 2008 SP1. But unfortunately it fails on this code:
var viewport = new Ext.Viewport({
layout: "border",
items: [{
region: "center",
contentEl: "center"
}, {
region: "south",
contentEl: "s...
There is a bar at the top of source edit windows in Visual studio with two combo boxes listing types and members. Is there any shortcut to open the second combo from keyboard? I used before Visual Assist X, it had a replacement for this bar with nasty shortcuts and search functionality. This is only thing I'm missing after migrating to R...
Hello,
I am relatively new to unit testing and was attempting to add some code coverage to my unit tests. Yet i can't find the code coverage tab in Visual Studio 2008 in the localtestrun.testrunconfig, is there any missing Add-in or tool?
Thanks,
DMS
...
Is this really the only way to get the correct address for an instance function:
typedef CBitmap * (CDC::* SelectObjectBitmap)(CBitmap*);
SelectObjectBitmap pmf = (SelectObjectBitmap)&CDC::SelectObject;
First, one has to create a typedef, and then one has to use that to force the compiler to select the correct overloaded method when t...
How in TFS do you check-in a file over the server version (no matter what).
I see the option to Compare, Resolve, and revert local to the latest server version.
Where is the copy over server version option?
...
There is any form to change the menu color when the mouse is over it in designing time in visual studio 2008?
Or at least change all the menu items at the same time in execution time
I'm using windows forms
...
I'd like to set the builds name in Visual Studio to something like that:
MyApp_{VERSION}_x32.exe
Under project settings I can define the Output file name "Release\MyApp.exe"
Any ideas?
...
I have a mixed MVC and Web Forms environment that works just fine in VS2008 when I debug. However when I deploy the code to my staging environment I have issues.
Basically I'm using an old school URL Rewrite module for the old Web Forms app, so I have to run the App Pool in Classic Mode for the old URL Rewriter to work. However, when I ...
Hi all, first question ever on this site.
I've been having a real stubborn problem using Visual Studio 2008 and I'm hoping someone has figured this out before.
I have 2 libraries and 1 project that use strongly typed datasets (MSSQL backend) that I generated using the "Configure DataSet with Wizard" option on in Data Sources. I've had...
I'd like to know how "delayed commit" functionality works on CI servers that are not integrated with the source control repositories. Conceptually, the process works like follows:
Check in code changes
CI server builds the changes
If the build passes, the code is committed to source control repository
If the build fails, the code is...
Hi all:
I'm doing a lot of work in Javascript with Visual Studio .Net 2008. It would be nice to have some sort of plugin to do auto completion for Javascript (a bit like ctrl space and a list of options come up in Java/C# etc).
Is there such plugin/tool out there?
Thanks.
...
I have the following code:
public int Method(MyEnum myEnum)
{
switch (myEnum)
{
case MyEnum.Value1: return 1;
case MyEnum.Value2: return 2;
case MyEnum.Value3: return 3;
}
}
public enum MyEnum
{
Value1,
Value2,
Value3
}
And I get the error: "Not all code paths return a value". I...
Hello,
I need to configure my project in cruise-control so that when it gets the source code from SourceSafe, it also gets the code for another project from SourceSafe. Is this possible?
I need this because I am trying to configure cruise control to build a solution which contains multiple projects from different SourceSafe locations. ...
My question is pretty simple but I just couldn't find the setting to change this. I am using Visual Studio 2008 as my SQL stored procedure editor. After I switched to Window 7, the SQL style in VS2008 changed and is now all over the place compare with the styles I used to have in Window XP VS2008. It shouldn't be the Operating System pro...
I have tried adding <Message> elements to tasks in a VS project file, in order to debug the build process. However, the elements have no effect on the text that is written to the VS output window.
Is there a way to write messages to the VS output window, by adding markup to the project being built?
...
(X-posted to silverlight forums)
Created a Silverlight class library in Visual Studio 2008. Open it in Blend 3 so that I can edit the visual elements using a nice wysiwyg editor rather than hand hacking the xaml.
The library builds in both Blend and VS2008. Apps built using the library build in both, and run properly.
Whenever I...
I have a address.rdlc file. In designer, I drag class AddressData fields from local assembly in datasource to the report designer.
Then I have code to get data for this report like:
public override void PopulateReportDataSources(ReportDataSourceCollection dataSources)
{
List<AddressData> addressData = AddressData.GetAddressByID(62398...