I have a project in Visual Studio. I need to deploy some 3rd party files along with my code. Typically I would put this files in a "Resources" directory and set the Build Action on each file to "Content" and the Copy To Output Directory to "Copy if newer".
Is there anyway I can set these directives at the folder level. The current pr...
I am using Asp.net 3.5, C#, Visual Studio 2008. Ok, so I admit I am being really lazy here, but I know there's got to be a way to do this.
I have 2 identical listviews - listview1 and listview2. There is a checkbox in column 1 of both listviews, and a button on the page.
I would like to copy the rows that are checked in listview1 to l...
I have a problem compiling the following code:
#include <stdio.h>
#include <limits.h>
int main () {
printf("short: [%d,%d]\n",SHRT_MIN,SHRT_MAX);
printf("int: [%d, %d]\n",INT_MIN, INT_MAX);
printf("long: [%d, %d]\n",LONG_MIN,LONG_MAX);
int aa=017;
printf("%d\n",aa);
return 0;
}
Error message is:
1>c:\tic\ex1\e...
I would like to know if there is a DOS-Command in WinXP to create shortcuts (to an executable). I'm looking for DOS-Command if it is available, not a batch or script file (I'm only finding batch files and vbscipts when I search online).
Just to give you a background on what i'm doing, I would like Visual Studio 2005 to create a short...
Does MSVC automatically optimize computation on dual core architecture?
void Func()
{
Computation1();
Computation2();
}
If given the 2 computation with no relations in a function, does the visual studio
compiler automatically optimize the computation and allocate them to different cores?
...
How can I skip common classes in VS 2008 debugger when stepping in?
For example, I do not want debugger to step into any of the std:: classes.
How can I achieve that?
I've found ways of doing this in VS 2005 and earlier, but not 2008
...
I’ve been trialing the current version of Microsoft Visual Studio 2010 Beta and have come across a strange problem. When I try to compile any project, I get the error message “The operation could not be completed”, with no further information.
This happens both with C#, C++ and VB.NET projects and regardless of whether the project is an...
I have web service on server! This service is calling from the clients applications!
Now how i can get user name and computer name of clients that using this service, for example if application from Clint1 calling this service i want to get computer name and user name of Clint1?
Many thanks!
...
Hello .. I am interested to learn Schematron .. Please suggest me a tutorial to practice (I am expecting a complete tutorial where I can develop my skills,,
well. I already know the basics of DTD, XSD and XSLT ..) ..
I have tried using Zvon tutorials and Schematron.com,
And also ... I have been struggling to find the schematron-edito...
C++ win32 application (not MFC), whose GUI comprises just one dialog box from the resource file [WinMain() calls DialogBox()]. This works fine.
However, adding any "common controls" (listview, tab control, etc) to the dialog and they don't appear when the program is run. Normal controls (textbox, button, radiobox etc) are displayed, j...
I'm looking for information about support for using ClearCase in Visual Studio 2010, I'm writing up an evaluation of VS 2010 and need some info on SCS other than TFS and SVN and was wondering if there is a plugin being developed for ClearCase and VS 2010?
...
This is really strange and I can't seem to figure out why it won't work.
I have a C# dll that is a add on for another program, the main program is not mine or a .Net app so I am starting it with Start external program in the debugging tab and and passing my program as a command line and the program starts and loads my add on however my ...
Since installing Visual Studio, I often get this kind of error messages when apps crash instead of the regular ones:
How can I disable this? I've already uninstalled Visual Studio.
...
Hi there,
We are creating a C# wrapper around a unmanaged DLL. The unmanaged DLL comes in both a 32 and 64bit versions. We keep the managed wrapper in its own project so that we can build it as a separate component and reuse it across solutions.
However this leads to some problems. Since the unmanaged DLL has the same name for both t...
Use case:
-Visual Studio is open
-Master branch is clean (confirmed with git status)
-Checkout clean feature branch (confirmed with git status)
-Make changes in feature branch using visual studio IDE
-Commit Changes in feature branch
-git status check, everything commited to feature branch
-Checkout Master branch
PROBLEM: M...
I have a large project which I am replacing 2 parts of with better open source alternatives. The open source libraries are pretty big but they are stable and unchanging so including the source in my VS project directly seems pointless to me - its more to load, more to compile etc. I would much rather just build the 2 open source projects...
Let me start by saying I'm aware there are better version control systems than VSS, and also aware that a "web project" instead of a "web site" may be a better approach. Unfortunately, neither of those suggestions help solve my problem.
Basically, I have a series of AjaxControlToolkit.dll or AjaxControlToolkit.resource.dll files in my ...
I have 2 projects in my solution
A Windows service
Its Setup project
I need that my ProjectInstaller : System.Configuration.Install.Installer's method called OnAfterInstall to get the ProductName from the Setup Project. How do I do that?
...
I can enter via web http://localhost:8080/tfs/web with any user, from remote or local, but when I try to enter via Teamprise or VSTS2010 I get that error that my credentials are correct but I dont have the persmissions, why? I have tryed with Admin account and user Account too...
TF31003: Your user account does not
have permission ...
Inside the constructor of a Form when I am stepping through my code, a method declared in the very same form is called. Before I can step inside the method, I get a System.IO.FileNotFoundException with message "The specified module could not be found. (Exception from HRESULT: 0x8007007E)". The member method I try to enter is declared u...