visual-studio

Installing SQL Server Express 2008 side-by-side with VS2008 and SQL Server Express 2005

Is it possible to install SQL Server Express 2008 when I have VS2008, SQL Server Express 2005 and SSMS 2005 Express installed? Furthermore, is it possible from VS2008 to assign SQL S.E. 2005 to one project and for another project assign SQL S.E. 2008 to be used? I am working on a project where we use SQL S.E. 2005, but I am following s...

Stress Testing in Visual Studio

Visual Studio 2008 has a test type called a Load Test. It looks like I can just drop a collection of other tests into it, give it a test profile (say, 50 users constantly hitting the program), a running time, and let it run. What isn't clear to me, is how to actually setup the tests it consumes. I need to launch a instance of the pr...

Namespace not found, though added .dll

I have an ASP.NET 3.5 web application. I added the a class library project, that have class as clsOperation, this class have 3 methods. I build this class. Add .dll to my web application as reference.Biult my website. but while I am trying to add a header in the code behind (using my namespace) the class's namespace is not appearing in i...

C# publish with visual studio dependance of dependance

Hello, My project1 references project2. In project2 I added some dll as link. However when I publish the project, the dll are not in the resulting folder. Is it possible to do this or I am doom to add the dll directly to the project1. ...

Internet Explorer error

I am programming in Microsoft Visual Studio 2008 (ASP.NET, c#). When I am debugging, after a couple of clicks or actions, Internet Explorer raises an error: "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." I use IE7, I uninstalled it, but it also raises an error on IE6. When I use Moz...

Failure to recurse

I have written a recursive function. For some reason it just won't call itself after it has run through for the first time. It just takes the next item from the loop without going down deeper. I am using Visual Studio 10, and am lacking sleep. public IEnumerable<string> GeneratePath(int depth) { int presentDepth = depth; char c...

Visual Source Safe(VSS) can not work !!

I m working on Microsoft Visual Stdio 2005. I am working on ASP.NET. I added project to VSS. I found this project correctly, but other user can't access this. show this error message. and this web project cannot working in vss ...

How to prevent project files appearing in Visual Studio MRU?

I'd love to know whether and how the Visual Studio IDE can be prevented from adding project files to the Recent Projects MRU when adding an existing project to a solution. I know it's a bit trivial, but it's a PITA that when populating a new solution with several projects most/all of the MRU's useful solution list is replaced. ...

edit ListView from C++ clr

Hi, I am facing some prob in managed C++, I can fill my ListView , but I am unable to edit specific row at later time I can fill like listView1->View = View::Details; listView1->Columns->Add("S.no",...... ListViewItem^ itmp = gcnew System::Windows::Forms::ListViewItem("100"); ListViewSubItem^ itms1 = gcnew ListViewSubItem(itmp, "12...

How do you make a user control property of type collection<string> editable/setable in visual studio designer

Hi, I have a custom user control (a webcontrol in this case) that has a property of type Collection public class example : public System.Web.UI.UserControl { public Collection<string> ThisIsTheCollection { get; set; } } I would like to be able to edit this property in designer when I add this control to a webform. It does show up...

Skip the .xsd when searching

We use the built in table adapter wizard in VS2005 to build a portion of our app, resulting in an enormous .xsd file being generated. It's never interesting to have this .xsd included when searching through code, so I would like to be able to skip it when using Quick Find. Is this possible? ...

Export Visual Studio test results in some document / report format?

It is possible to export/print Visual Studio test results in some document format, maybe including test details? Thanks ...

Visual Studio 2008 Macro for Building does not block thread

Hello, I am trying to write a macro for Building my application, kicking off an external tool, and ataching the debugger to that external tool. Everything is working except for the building. It builds, but it is not blocking the thread so the external tool gets kicked off before it can finish. Is there a way I can run ExecuteCommand an...

Create Installers for Add-ins using Visual Studio?

I need help building a customized Installer using visual studio 2008 to install Office 2007 (add-in) tool bars that I have made. How can I create installers for Add-ins I've made? ...

Uninstalling the VS2010 extension without the Extension Manager

Hi all! Is there any way to uninstall VS2010 extension correctly without the Extension Manager? I couldn't find any special command line arguments for .vsix file and think that just deleting all the files from Visual Studio's special place is not a right solution. Thanks, Kirill. ...

jQuery ASP.NET MVC - $.post() to a different URL path in different environments

Consider the need to $.post() to a slightly different URL structure in the Visual Studio Dev environment vs. deployed IIS Production or Test environment. When deployed to the Test server, the app is running under a Virtual Directory in IIS. The URL will be something like: Deployed URL: http://myServer/myApplication/Area/Controller/Ac...

Oracle Home for Visual Studio

Okay. Forgive me, but I'm going to vent a little here. Visual Studio doesn't recognize my TNSnames for oracle so I can't connect to my database. I believe the problem is that I have multiple homes on my machine, one for me (In C:/app/{UserName}/product/11.1.0) and one general one which was already installed on my machine (In C:/oracle/pr...

C++ writing a modify_if function

Hi, I have a hw question which confuses me on what i have to do. The question is below: The idea is to design a generic function called Modify_If that will take an input x (passed by reference), and two functors f1 and f2. The function Modify_If will use functor f1 to determine whether x obeys a certain condition. If it does, Modify_if...

Serving VisualSVN

I am having hard time connecting to my visualsvn repository from computers outside of my home network So far I only tried replacing my computer name with my computer ip in the repository url but this does not work; https://MY-PC/svn/ProjectTrunk Can you point me the steps I need to ensure I can serve the repository to outside computer...

Is it possible to compile .NET 1.1 in Visual Studio 2008?

I have an ASP.NET 1.1 website and was recently upgraded to Visual Studio 2008. It looks like after compiling my projects into .dll's, that they are not working and from what I've gathered, it seems that it's due to VS2k8 not being able to target .NET 1.1. I still have Visual Studio 2003 installed, so I can compile my projects with that, ...