where is this defined?
Attempting to disable BSTR caching: SetOaNoCache(); VC++ compiler build output: 'SetOaNoCache': identifier not found Don't want to use: OANOCACHE=1 Question: Where is SetOaNoCache defined - header file? ...
Attempting to disable BSTR caching: SetOaNoCache(); VC++ compiler build output: 'SetOaNoCache': identifier not found Don't want to use: OANOCACHE=1 Question: Where is SetOaNoCache defined - header file? ...
Consider the following line of code: things.Add(new Thing { ID = null, Name = "a thing" }); The whitespace formatting you see there is that which I get when I type the closing ;. Now, if I ask Visual Studio to reformat my code, or I type a closing } it gets reformatted: things.Add(new Thing{ID = null, Name = "a thing"}); I prefer ...
Does anyone know if there's a plugin for Visual Studio 2008 that makes it possible to open VS2005 solutions in a non-destructive way? What I'm thinking is that the converted project file is kept in memory rather than replacing the original on disk, and .Net framework 2.0 would be targeted by default? The current behavior requires a com...
We are using VSTS 2008 to perform some relatively simple web testing of a web application that we have under development. We have data sources defined to provide input data to the tests, and would like to perform our validations based on this data source also. The problem that I have is the VS GUI does not allow me to bind values in vali...
I have a list of type System.IO.FileInfo, and I would like to randomize the list. I thought I remember seeing something like list.randomize() a little while back but I cannot find where I may have seen that. My first foray into this yielded me with this function: Private Shared Sub GetRandom(ByVal oMax As Integer, ByRef currentVals As...
I have been using jQuery IntelliSense in VS2008 and it has been great. Recently I added a reference to jQuery UI and since then, the jQuery IntelliSense has went away. I found that once you reference another .js file in your document, the IntelliSense goes away. Any way to avoid this? ...
I've recently noticed some behaviour with the Visual Studio Designer (C#) that I don't understand and was wondering if someone could clarify... One some of my Windows Forms, the first line of the designer generated code reads; this.components = new System.ComponentModel.Container(); When this is the case, the dispose method, in that ...
Currently I have ReSharper installed to help me develop and edit code, and made a good layout for my Visual Studio (2008) over two screens. I have changed the settings of the text windows (mainly the output Window on the right) to have a black background and smaller text. I tried SlickEdit gadgets yesterday, but it doesn't perform very ...
At Microsoft I can download the Windows Symbol Packages for XP, Vista, Server, even Windows 7. My Problem is: how do I use these Symbols with Visual Studio? Where in VS 2008 can I add the downloaded and extracted symbols, so I can debug into Windows itself? What I want to achieve: I want to debug _beginthreadex/endthreadex, to see why/...
when loading up a solution in VS2008 I get: An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error. How can I find which document is causing the problem? ...
Hello, I am working with the vs 2008 editor. Is there a way to take a piece of text for example, highlight it and use shortcuts to quickly add markup. For example, lets say I have the text, I went to the store and I want to bold the line the store, I have to type <b>the store</b>. Is there a quicker and easier way to do this? Thanks...
A previous question showed a nice way of printing to a string. The answer involved va_copy: std::string format (const char *fmt, ...); { va_list ap; va_start (ap, fmt); std::string buf = vformat (fmt, ap); va_end (ap); return buf; } std::string vformat (const char *fmt, va_list ap) { // Allocate a buffer on the stack...
I just recently started a new personal project, with a goal of having it able to scale from the start. I got a suggestion for the structure, to create something like this: <solution> |-- project.client.sql.queries |-- project.admin.sql.queries |-- project.client.business.logic |-- project.admin.business.logic |-- project.client.web.ui...
I'm trying to decide what database system to use for my next project which will be using VS.NET 2008 and will likely have a bit of LINQ code in it. No LINQ support may be a dealbreaker for any database system. Is DB_LINQ mature enough to allow other DBMS' to stand on even footing with SQL Server? Or should I just not even look into other...
What are the *.FileListAbsolute.txt files for that Visual Studio generates? They keep cluttering up my searches. Such as when I search for *.csproj for adding projects to a .sln. Does Visual Studio use them? Is there any way to make it not generate them? I STFW'd but it's filled with results of people listing directories that happen to...
I'm having a weird problem in visual studio where I'll type a namespace/class/whatever, and intellisense will pop up as expected, but before I can highlight or read anything, it will disappear. If I ctrl-space or ctrl-j, then it will pop up again, but again it will disappear after less than a second. If I move real fast and start pushing...
Should I use VS 2008 refactoring support or buy ReSharper? What are some of really good things you can do using ReSharper that cannot be done using VS 2008 refactoring support? ...
Every once in a while I'll do something that causes strang behavior when pressing certain keys. 1)The single quote key (') will not type a character unless I press it twice, in which case it will print two backwards single quote characters (`). 2)The (backwards single quote?) key types a # character. 3)The angle bracket keys (< and >) ...
First of all, i am new to this topic, and after gathering a lot of background information i grew even more confused. I've got a few classes, all of them are serializable, some implement IXmlSerializable. The classes are tagged with [XmlRoot], [XmlAttribute] and so on in the appropriate places. What i am wondering about is how to create...
I have Visual Studio 2008 and I find myself constantly adding the same 3 or 4 using statements with every file I create.... Is there a way that I can define these somewhere in VS so every time I create a file this standard set of includes are added? ...