I have a C++ console application that I want to deploy using a vs2008 setup project. When I create the setup project and add the output from my console app, the setup project detects that it needs MSVCP90.dll and MSVCR90.dll. When I build the project, those two dlls are included in the .msi file as expected.
When I download and launch t...
I am running an web application with Visual studio 2008 with administrator mode in Vista. It runs fine when the port is set to other than 80. But it gives an error like WebDev.Webserver.exe has stopped working. I have turned of IIS default website so no other application should be using 80 port.
What can be the reason and how to find ou...
I've added x64 configuration to my C++ project to compile 64-bit version of my app. Everything looks fine, but compiler gives the following warning:
`cl : Command line warning D9002 : ignoring unknown option '/arch:SSE2'`
Is there SSE2 optimization really not available for 64-bit projects?
...
Hi All,
Is there any way to find ILDASm.exe from VS 2008? I know the location "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin"....but i want it through vs08.
Thanks.
...
I don't know if the is even remotely possible, but just now I have some code in my application that when I come to build/publish I would like Visual Studio to say "Hey this is fine locally but I won't let you publish until you change this!"
I know about conditional compiling i.e.
#IF CONFIG="Debug" THen
'do debug stuff
#ELSE
'do...
We have VS.Net solution with 20 projects in it.
Occasionaly, in VS.NET, when we try to build/debug our solution, we get following error:
Unknown build error, 'Exception of type 'System.OutOfMemoryException' was thrown
Only way to "fix" this issue is to reopen Visual Studio and then solution build goes well, but again after some time O...
When you edit a simple page in the design view you can add an event on most components by simply doubleclicking the relevant event in the design view, which does the binding and generates the function declaration in the codebehind for you.
In larger projects where the pages are complex, the design vew can be extremely slow. Is there a w...
I have converted a mixed mode MFC application from VS2005 to VS2008. It is compiling OK but when starting the application I get an assert in afxwin1.inl because afxCurrentResourceHandle = NULL.
This is before MyCWinApp::InitInstance is called. The call stack is
mfc90d.dll->AfxWinInit (with HINSTANCE = NULL)
myapp.exe!InternalDllMain
my...
I'm seeing a lot of weird escaped characters typically
in my web.config appearing. Has anyone ever seen them? what causes them? and is it safe to leave in the web.config?
...
Hi! I have a question about the way the delete key works in Visual Studio 2008 (w/ Resharper).
If I put the cursor on the end of a line and press delete, the line is concatenated with the next line. However, the cursor has now moved to the end of the new concatenated line (as if End was pressed also), instead of remaining at the same co...
I have an RDLC with multiple tables and for each table, I have a toggle TextBox Item that hides the corresponding table from the report. It works perfectly, however, I don't want these text boxes to be visible in the printed/exported reports. They are really meant for disabling content in the report and not as content themselves. Is ther...
I have an image button that is created on rowcreated manually in code.
Dim deletecshr As New ImageButton
deletecshr.ImageUrl = "\images\bttnDeletemini.gif"
deletecshr.ToolTip = "This Will Delete All Cashiers"
deletecshr.ID = "deletecshr"
In gridveiw_rowdatabound I have the following:
Dim deletecshr As ImageButton = Direct...
I'm working with C# and I was hoping to find some tools akin to those I'm used to in Ruby and Ruby on Rails for detecting code smells. I'm referring to things like Roodi, Flay, Flog, Reek, Rcov, and Saikuro. It would be nice if the tool(s) integrated with Visual Studio 2008.
I have ReSharper and it's nice for alerting me when I'm not ...
Background: We have a TFS server setup where me manage our source code and track work items and bugs. We also have CC.Net setup to help us do CI (mostly just build and run unit tests). We use .net framework 3.5 and VS 2008
I am familiar with MSBuild and use it in our current project to accomplish many pre-deployment and deployment tasks...
I'm looking for a tool to annotate code in Visual Studio. By which I mean this: I'm debugging and see a line of code I want to make a note about. So I right-click (or use a keyboard shortcut, or whatever) and am able to type in my note about the code. It stays with that line, but doesn't become part of the code file itself. (Thus I'...
I'm creating an IE extension (using VS2008, C++) that needs to react to scrollbar events in IE. I'm using BHO for that and I have access to IWebBrowser2 element, IHTMLDocument2 element and HWND of the parent window. I can't figure out how to access the scrollbars. I have seen codes that allows me to handle the scrollbar once I have acces...
In VisualStudio, when you drag and drop a table or an individual column from a data connection in server explorer, a gridview is created.
What I want to be able to do is drag and drop the columns to make a quick and dirty detail form to display an individual record. Is this possible in any way?
An even better way to do this would be v...
I added a folder to the Code Snippets Manager, opened the Parent.snippet file for use as a template, edited it as below, and saved it to my "XML Snippets" folder.
Now, whenever I try to use a snippet, the editor inserts a comment (<!-- -->) instead of the snippet contents... FOR ANY snippet, the VS2008 original snippets, my snippet - do...
Hello everyone,
I found when doing CPU intensive operations, for example, when I start a Windows Media Encoder to record full screen, all mouse operations on other applications especially double-click are not very responsive.
I am looking for programming solutions to improve the mouse responsive. The only solution I could think of is t...
I'm tring to run build of C# solution on vs2008 and discovered that pre-build events for projects containing in the solution were not executed. What can be reason of such behavior ?
...