visual-studio-2008

Why would breakpoints in VS2008 stop working?

左心房为你撑大大i 提交于 2019-12-24 01:47:23
问题 I have a c# asp.net web app. Breakpoints in the database layer are no longer stopping execution but the breakpoints in the UI layer are still working okay. Can anyone hazard a guess why this might be happening? I've checked all the usual suspects (Debug build is on for all projects) and recompiled all projects in solution... 回答1: I would ensure that the UI layer is referencing the appropriate 'debug' .dll's. I'd also consider pressing CTRL+ALT+U ( Modules View ) when you're debugging to see

RDLC Page Footer not displaying visual studio 2008

大城市里の小女人 提交于 2019-12-24 01:45:20
问题 I have a project in which I have to use Visual Studio 2008, and I'm trying feverishly to add a Page Footer. It adds from the top menu in VS 2008 under "Reports" However, I cannot see it getting displayed. I have a Excel export link that rips through all the code rendering out the RDLC into Excel. I added a company logo image to the top as a Page Header, that works fine, but not sure why zero from text/images/static and dynamic text is not appearing in footer / bottom of excel page from the

Visual Studio Absolute Path to Source File

落花浮王杯 提交于 2019-12-24 01:39:36
问题 I have a source code file raven_sqlite.cpp which I use in different projects. I keep one copy of this file in a folder C:\Users\James\Documents\code\ravenset pointed to by the system environment variable $RAVENROOT . In this way I need only maintain one copy of the code, and all my projects can be sure to be using the same version. Here is how it looks in the Visual Studio properties view of the solution explorer Note how although the editable property is titled relative path the full path is

VS 2008 C++ VS_VERSION_INFO

和自甴很熟 提交于 2019-12-24 01:26:50
问题 I have the following code in my DLL rc file: VS_VERSION_INFO VERSIONINFO FILEVERSION 4,2,3,0 PRODUCTVERSION 4,2,3,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x4L FILETYPE 0x2L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "Comments", "Added Presenters disconnection" VALUE "CompanyName", "my comp" VALUE "FileDescription", "DLL for Connect" VALUE "FileVersion", "4, 2, 3, 0" VALUE "InternalName", "mydll" VALUE

Auto Include Files In A C# Project

荒凉一梦 提交于 2019-12-24 01:18:00
问题 This may not really sound hard to do but it is currently killing me. Currently i have a Visual Studio 2008 C# Project that i use in conjunction with a DAL generator , its nothing fancy at all besides generating files that i can use in the project to access the database. The problem i am having is that after the generator has run and the files are created they never show up in my project (new files , old existing files are fine). To add them i have to show hidden files (In visual studio) then

Why is event handling in native Visual C++ deprecated?

强颜欢笑 提交于 2019-12-24 01:09:42
问题 http://msdn.microsoft.com/en-us/library/ee2k0a7d.aspx Event handling is also supported for native C++ classes (C++ classes that do not implement COM objects), however, that support is deprecated and will be removed in a future release . Anyone knows why? Couldn't find any explanation for this statement. 回答1: It's totally non-standard kludge that probably has very little actual users. And I mean non-stndard kludge even in WinNT and Microsoft-private world. COM has much richer repertoire for

Creating new ASP.Net MVC project - Unit Test Dialog does not show up

前提是你 提交于 2019-12-24 01:05:02
问题 When I create a New Project of type ASP.Net MVC Web Application, I expect the dialog for unit test applications to show up, but it does not. I cannot find the Unit Test App among the product types I can create either. How do I set up my VS so that the dialog shows up? I have installed Visual Studio 2008, .Net Framework 3.5 SP1 and ASP.Net MVC Framework (Beta). 回答1: As @MrJavaGuy says, you need to install at least the Professional, not Express, version of VS2008. Alternatively, you can install

Webclient using download file to grab file from server - handling exceptions

我只是一个虾纸丫 提交于 2019-12-24 00:55:44
问题 I have a web service in which I am manipulating POST and GET methods to facilitate upload / download functionality for some files in a client/server style architecture. Basically the user is able to click a button to download a specific file, make some changes in the app, then click upload button to send it back. Problem I am having is with the download. Say the user expects 3 files 1.txt, 2.txt and 3.txt. Except 2.txt does not exist on the server. So I have code like (on server side): public

CWinApp::OpenDocumentFile creates a new window

久未见 提交于 2019-12-24 00:55:38
问题 Recently we moved our C++ project, which uses MFC, from VS2008 to VS2010. And there is a small issue: in our MDI interface, after we call a function CWinApp::OpenDocumentFile, the app not only opens the file, but also creates a new empty MDI window. If we change the toolset (Project properties -> General -> Platform toolset) back to v90 (VS2008), we do not experience this problem. Maybe someone saw the same issue and knows, what we are doing wrong? 回答1: Solved. maybe the explanation will help

Change in compiler, not the framework - Is a full cycle test needed?

女生的网名这么多〃 提交于 2019-12-24 00:50:44
问题 We've a long running project which is under development in VS 2008 and .NET Framework 3.5 . The software has gone through many test cycles. We're still adding features, fixing bugs etc. A full cycle test (testing every feature - 6 weeks of testing for one person) was also done many days ago. Now, when a new feature is added or some bugs are fixed, only relevant portion gets tested before new release. We're planning to gradually start using VS 2010 . The software will still run in .NET