I've reconfigured the default Windows Mobile 6 Professional emulator to increase it's memory size and now I would like to deploy and debug my CF application on it.
The problem is that it is not possible to select this newly created emulator configuration from the Target Device drop-down in VS2008. If I select Windows Mobile 6 Professio...
For some reason the mouse has stopped working in my VS 2008 test tab.
It works fine everywhere else. The changes that I have made recently that it could be connected to are:
Installed VS 2010 Release Candidate
Installed EPI Server
Am running VS as Administrator due to EPI server requirements
Any Ideas?
...
If I have the following in an ASP.NET Web Form:
and I copy and paste that line in the same page, I usually get the following:
Obviously, nobody is going to name their controls in that way (if you don't want to name a textbox, simply don't asign an ID to it), and it's not nice having to change the ids of pasted controls. The same ha...
Can anybody tell me what is wrong with my web app based on following exception? I am getting this when I try to run this project from VS2008:
System.Security.SecurityException was unhandled
Message="Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, Publ...
So I have been running into all kinds of interesting problems in VisualStudio 2008 when running Unit Tests.
Such as, when running Visual Studio Unit Tests some tests are failing together but passing individually. This is happening because some class level variables in that test class is being reused in the Unit Tests.
Now normally I w...
I am writing a macro to save all open documents, launch MSBuild to build C# projects in parallel, and then run the solution using the debugger. Automating these steps in a reliable way will save my team a lot of time.
My problem is I can't get DTE.Debugger.Go(False) to work when the external build changes the output files.
Error
...
I am using StyleCop in VS2008. I get this error:
SA1638: The file attribute in the file header's copyright tag must contain the name of the file.
Here is my header.
// <copyright file="AssemblyInfo.cs" company="company">
// Copyright (c) company. All rights reserved.
// </copyright>
// <author>me</author>
// <email>[email protected]</email>
/...
I need to complete a very simple application. We want to archive some Sharepoint Lists at work to a SQL Server so that another application can run some analysis on them. However every tutorial I can find gives the Automagic "First connect by right clicking the references and selecting "Add web reference"...
I can't use that method b...
Hi!
I have written some classes, the back end of a project in C++ (win32 project) and then wanted to add a GUI to it. Visual C++ seemed to be a good solution but after having the GUI part done I couldn't integrate the plain C++ code. Does someone have any experience with that? I get 'unresolved externals' error. Apperantly the .cpp file...
I wish to have two classes, a server class and a client class. The server class should recieve the IP address and Port number of each new client and store them in a list. It should supply each of the clients with a list of connected clients and their IP addresses. The clients could then communicate with each other using TCP connection...
Hello,
If I have the following files, I get this error (c2593 in VC9).
If I un-comment the prototype in main.cpp, the error disappears. I need to maintain the same functionality while keeping the class out of main.cpp. How can I do that?
Thanks.
main.cpp:
#include "number.h"
//const Number operator + (const Number & lhs, const Numbe...
Hi. I have a cpp file that uses ibm cp437 and Visual C++ keeps reading it with windows-1252. How do I make Visual C++ use the right code page for the file?
...
I know there is one for .NET based services, even one for managed C++, but I don't see one for native unmanaged C++ Win32 services. Anyone know of any 3rd party templates?
...
How would I create a control like the example at this site as a User Control?
So, instead of doing this:
<ScrollViewer>
<StackPanel>
<!– Content –>
</StackPanel>
</ScrollViewer>
I could do this:
<ScrollableStackPanel>
<!– Content –>
</ScrollableStackPanel>
...
I have a solution created using visual studio 2008 named, "Solution", and i have two projects in that solution, project "A" and project "B". when i do a thing like below it shows fatal errors in the bottom. I have given in project A->properties->Additional include Directries as ../B
project B
B.h
#include <iostream>
using namespace s...
We have created customized installer using Visual studio 2008 installer and in BeforeInstall method we are calling a splash screen. The problem here is when we click on setup.exe to start the installation it takes almost 25 sec to show the splash screen. Can you please let me know if there is any way to reduce this time or any other alte...
I am trying to run a C#/ASP.NET program from VS 2008, but when I do I get the following exception:
System.Security.SecurityException was unhandled
Message="Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
...
When working with an ASP.Net application, when I rebuild the solution, I would like it to automatically refresh the current version thats running through the integrated server in the browser.
I have looked through post build commands and afterbuild targeting but I have not been successful so far. I would like to do this straight through...
Original Problem
In building our projects, I want the mercurial id of each repository to be embedded within the product(s) of that repository (the library, application or test application).
I find it makes it so much easier to debug an application being run by customers 8 timezones away if you know precisely what went into building the...
I have a set of Visual C++ 9 COM component projects dependent on each other.
ComponentA publishes its typelib into ComponentA.tlb. ComponentB imports ComponentA.tlb into ComponentB.idl and publishes ComponentB.tlb. Methods signatures in ComponentB.idl contain parameters of types defined in ComponentA.tlb. Both ComponentA and ComponentB ...