visual-studio-2008

difference between visual studio 2008 and visual studio 2010

筅森魡賤 提交于 2019-12-11 11:50:05
问题 I want to know what is the main difference between vs2008 and vs2010.. means I want to know what is the new functionality added in vs2010. 回答1: Well, there's always Microsoft's page about the new features of VS 2010. But you can get a more distilled user perspective describing new features that specific developers really like. There are a number of blog posts about it as well. 回答2: If you plan to code a lot with threads, definitely go with 2010. It has great advancements on the profiler and

Add prerequisites/dependencies to VS2008's Setup Project options?

旧巷老猫 提交于 2019-12-11 11:49:16
问题 VS2008's Setup Projects have a handful of built-in prerequisites (e.g. .NETfx version, VSTO, PowerPacks) which you can simply check off to have the bootstrapper ensure they are installed. But what about other dependencies you might want to add, like the SQL Native Client (only available as an MSI, not as merge modules) or the ODBC Data Provider for .NET? Is there a way I can add these dependencies to a Windows Installer Setup Project? EDIT: M$ has provided a couple newer bootstrapper packages

how can I populate data table with values from a database

旧时模样 提交于 2019-12-11 11:47:17
问题 I wanted to populate data table with the value taken from the database. I want to use Select condition with the values taken from textbox.. I have written the following code in C#, please tell me whether it is a right approach. It is showing exception about connection string.. but I wanted to know whether my approach is correct or not.. please do comment. public partial class searchsale : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1

Visual Studio 2008 release build not decorating DLL exports

百般思念 提交于 2019-12-11 11:39:39
问题 I'm building a C++ DLL in Visual Studio 2008 to be used by a C application written in Borland C++ Builder 6. My debug DLL build exports methods decorated with an underscore. However in my release DLL build the methods are not decorated causing linker errors in C++ Builder. (See below for output for dumpbin.exe for both build types) I've checked the compiler options for both debug and release configuration and cannot see anything that might be causing this problem. I've managed it get around

Unresolved external symbol errors without #pragma comment lib command

风流意气都作罢 提交于 2019-12-11 11:28:00
问题 I added a project to my VS2008 solution and set a dependency to this newly added project in my startup project via the project settings window. The problem was that I had unresolved external symbol errors all over the place, but once I wrote the line #pragma comment (lib, "path_to/my_lib.lib") inside the file using the functions of my library, everything worked just fine. Specifically, I added that line right after my include #include "path_to/my_lib.h" #pragma comment (lib, "path_to/my_lib

Compiling Qt 5.3.2 + VS2008 + SDK7.1 error SHARDAPPIDINFOLINK

99封情书 提交于 2019-12-11 11:03:28
问题 When compile Qt 5.3.2 + VS2008 + SDK7.1 I got these error: qwinfunctions_p.cpp qwintaskbarbutton.cpp qwintaskbarprogress.cpp windowsguidsdefs.cpp qwinjumplist.cpp qwinjumplistcategory.cpp qwinjumplistitem.cpp qwineventfilter.cpp qwinthumbnailtoolbar.cpp C:\Program Files\Microsoft SDKs\Windows\v7.1\include\shlobj.h(2947) : error C2011: 'SHARDAPPIDINFOLINK' : nueva definición del tipo 'struct' c:\qt\5.3.2\qtwinextras\src\winextras\winshobjidl_p.h(228) : vea la declaración de 'SHARDAPPIDINFOLINK

Change the background colour of the Visual Studio Forms Designer?

北城以北 提交于 2019-12-11 10:56:54
问题 Is it possible to change the background colour of the Visual Studio Windows Forms Designer? Doesn't appear to be listed in either the Fonts and Colors , nor the Windows Forms Designer sections of Tools > Options 回答1: The designer's background color is hooked to the system's window background color, which you can change from the Control Panel. source 来源: https://stackoverflow.com/questions/6346130/change-the-background-colour-of-the-visual-studio-forms-designer

What does the 'Rebuild All' setting do?

风格不统一 提交于 2019-12-11 10:46:33
问题 In visual studio, there is an option to "Rebuild All" from the build menu, what exactly does it do? 回答1: It cleans every project in your solution and rebuilds all projects. 回答2: It does rebuilds everything from scratch, but sometimes you need to use clean to clear some old files that stack into the build environment... I don't know why (yet) but experiences shows sometime a clean is necessary even using rebuild all.. 回答3: It ignores all dependencies between projects, and rebuilds every

SQL QUERY showing Between Dates as specific dates + Data belonging to each date!

不想你离开。 提交于 2019-12-11 10:39:59
问题 This is how a table is presented SELECT RequestsID, Country, Activity, [People needed (each day)], [Start date], [End date] FROM dbo.Requests There will be a lot of requests, and I would like to sum up the "People needed" per day (!), not as Between Start- and End date. Also I would like to group by country, and have the possibility to set between which dates I want to get data. Some days might be empty regarding needed people (0), but the Date should be presented anyway. Note that there can

MS VS 2008 and C99

烈酒焚心 提交于 2019-12-11 10:37:05
问题 I read with interest the post "How universally is C99 supported ?". One of the comments therein points that Microsoft doesn't support C99. But the comment symbol // works with VS 2008 and this symbol is in C99. I have two questions: To what extent VS 2008 support C99? Is it ok in the same code to mix C89 and C99 syntax together? So if I write my code in C89 and then place a comment //. This means that I have mixed-coding. So what does the compiler do in such a case? Check my code first with