I've got the following setup. RectangleT class defined in a header file in a library. Attempted to use the class in my main application. When linking I get an error for every function I try to call - except constructor and the GetLeft/GetTop/GetRight/GetBottom - BUT - I do get the error when calling GetWidth / GetHeight.
Here's the code...
We have three servers for each mode:
Development
Testing
Production
Each one of them has different settings for connecting to the database, different base paths for resource accessing etc.
How do I create different debug and release modes for each of those server types and how do I force them to use a different configuration file?
...
Hello,
I am using Visual Studio 2008. Is it possible to perform automatic build of a solution whereby you are able to change the resource file/other files for the project to take the values into?
For example, expiry date. Each time I need a new expiry date, I will have to open up the solution, open the relevant source file, modify the ...
This could be a trivial question for many
I am working in VStudio 2008 -
The find and replace window is hidden behind code window. If I press hotkeys CTRL+F I am able to search but still the find window is not visible
How do I bring the find and replace window to the foreground?
...
if i try to write below codes : error return to me: The query results cannot be enumerated more than once
public void StartTransaction()
{
using (var stockMovementCtx = new StockMovementCtxDataContext())
using (var scope = new TransactionScope())
{
var stockMovementItems = f...
I have a t-sql query written with this sample help.
SELECT t.gName AS 'Product'
, isnull(SUM(CASE WHEN t.Col = 1 THEN t.Quantity END),0) AS '180ml'
, isnull(SUM(CASE WHEN t.Col = 2 THEN t.Quantity END),0) AS '375ml'
, isnull(SUM(CASE WHEN t.Col = 3 THEN t.Quantity END),0) AS '500ml'
, isnull(SUM(CASE WHEN t.Col = 4 THEN t.Quantity END)...
Look at the following UPDATED scenario (sorry that I fooled you with the un updated version - hope it will be clearer now) - it may seem simple to some people, and hopefully it is!
Explanation: Every row is a Request. Allocated is the number of people requested to an activity, total is the total amount of people for this country availab...
Hi All,
I need to add a bit map image to a radio button in MFC . i have no idea on how to do it
can any one tell me how to do it.
...
Can anyone sugggest good references/guides for getting started with nunit and visual studio 2008. (Apart from the Nunit documentation itself!). I specifically want to set up a test project in vs 2008.
...
if writing below codes: Error returns.i do like advise : http://stackoverflow.com/questions/794364/how-do-i-use-transactionscope-in-c
But only error change:The partner transaction manager has disabled its support for remote/network transactions Exception from HRESULT: 0x8004D025
i am using windows server 2003.
using (var stockMov...
Yesterday Thomas helped me a lot by providing exactly the query I wanted. And now I need a variant of it, and hopes someone can help me out.
I want it to output only one row, namely a max value - but it has to build on the algorithm in the following query:
WITH Calendar AS (SELECT CAST(@StartDate AS datetime) AS Date
...
Rather a simple question, this one - but I've no experience with VS macros, and therefore my confusion.
I've copied this macro for line duplication to a new macro project, in a new module. The macro works; if I start it from within a macro editor my line will be duplicated. However, I don't see how I can get it to appear in the Tools/Op...
I've been switching back and forth between Visual Studio and Eclipse and I got used to couple things in Eclipse:
CTRL+1 to autocast variable
CTRL+o to filter memebers in class and autojump
CTRL+3 to get list of all commands
Do you guys have any suggestion how I could get similar functionality in Visual Studio? Any add-in?
...
So I am trying to build an 32 bit application in 64.
I am linking to all 64 bit libraries, and I have recompiled everything we used for 64 bit.
I am getting weird errors now.
I have seen some similar errors over the net but nothing useful in those topics.
Any idea what could be wrong that causes this behavior?
warning C4091: 'typedef ...
What option (where it is located in VS2008 menu) is need to be switched on in order VS2008 compile and build solution before launch (native C++ project)?
Thanks.
...
I want to add one of those dockable windows panes, such as the solution explorer in visual studio 2008 to my project, are they in fact called dockable tool, or shims? And where do I find it because obviously its not in the default list?
...
In my test list, my ordered test appears and runs, but each individual test that composes the ordered list is run a second time outside the list if I run all the tests.
What is the point of the ordered list if it's going to run them nondeterministically as well? Am I missing something?
...
Ok, Here's the skinny
I have a smallish Visual Studio 2008 web application that I'm attempting to set up a Web Deployment Project with.
If I skip attempting to build the Deployment Project, the application builds successfully.
If I build the Deployment Project, I get the following error:
Error 208: It is an error to use a
secti...
Hi,
I want to use a tab control and have the tabs displayed on the left, as opposed to at the top. I have set the alignment to the left and the tabs are displayed there. However, how do I get the text to be displayed on the tab, vertically? I have looked at the msdn and it gives an example of a left aligned tab control but the tab la...
I have upgraded two old (VS 2003/2005) projects to Visual Studio 2008. One is a web service project, and the other is a web application that references the first one. They were running on XP developer boxes and Server 2003. I'm trying to get them to run on my Windows 7 box with IIS 7.
When I try to add a reference to the locally runn...