visual-studio

#region functionality in SSMS 2008

Using Sql Server 2008, is there any functionality similar to #region in Visual Studio? I'm aware that nodes appear to allow collapsing of SQL segments, but as far as I know, this is based on the syntax of the SQL statement. While that is close to what I'm after, I'm wondering if there is a way to define a section of code, regardless ...

Visual Studio 2010 Ultimate Web Performance Test and Load Test Virtual User Accounts

I need to Load Test a website. It uses Crowd Authentication for users to authenticate against. I have created a Visual Studio 2010 Test Project and created a web performance test that signs in using the username and password I used when I recorded the test. I have attached an access database with a table called Users in it that I have b...

Creating msi in vs08 - few questions

I am creating an MSI from inside visual studio 2008. This is what I am doing: (With the project I am creating this for open in Visual Studio) right click Add new project Setup and Deployment > Setup Project Give it a name Right click Application Folder > Add > Project Output: Primary Output Question: does this contain all I need to ru...

Visual studio deploy application custom action

;Hello I am trying the deploy an application with visual studio and I have a problem with custom actions. I would like to launch a .exe during the installation, and it does not work. I have addded the .exe to the MSI and in the custom action view, I added the file .. pretty simple. I cant see how it cannot work. I tried to do the same wi...

C++ shift from Unix to Visual Studio in Windows

Hi Everybody, I am a professional working for a software firm.In my past company basically i was working on C & C++ on unix.Now i suddenly shifted to C++ on Windows and i feel like i am in a completely different world.Basically i am working on a very big application which was totally written in C++.To keep it simple ,i dont have the so...

Why are some references missed when running my application?

I have the following project structure using a Domain Model, StructureMap and Fluent NHibernate: The problem I'm having is that Fluent NHibernate requires all of the following to be the bin directory of the website for it to work at runtime: Antlr3.Runtime.dll * Castle.Core.dll Castle.DynamicProxy2.dll FluentNHibernate.dl...

WIA interop deployment through VS ClickOnce

I have an application that allows me to scan images on my development PC which works successfully. It uses the Microsoft Windows Image Acquisition COM ActiveX dll. I am running VS2008 on Windows 7 64 bit. I am having problems trying to deploy the Interop dll using ClickOnce. This component is referenced through the VS project in the no...

Loading Visual Studio solution into programmatic instance

I have an F# program that creates an instance of Visual Studio: let vsTy = Type.GetTypeFromProgID("VisualStudio.DTE.10.0") in let dte2 = Activator.CreateInstance(vsTy,true) :?> EnvDTE80.DTE2 in ... That works well; I can probe all kinds of info about the running instance of Visual Studio. But I can't determine how to load a s...

How to parameterize date value if the eWorld.Ui Date control is used.

In my Coded UI Test script code for date is generated like, // Click '/images/calendar.gif' image Mouse.Click(uIImagescalendargifImage, new Point(9, 6)); // Click '26' link Mouse.Click(uIItem26Hyperlink, new Point(5, 6)); I want to parameterized date. Here it takes x,y co-ordinate. How can I pass val...

how can i uncheck DevExpress Gridview 's checkbox ?

how can i uncheck DevExpress Gridview 's checkbox ? i have a gridview with checkboxes. i need to uncheck all gridview Checkbox. How can i do that? ...

Resource (RESX) files messed up

I had a resource file named Localize.resx, which contains English strings. I copied and pasted it inside the same folder(App_GlobalResources), VS created a copy, I renamed the copy to Localize.sl.resx and the original to Localize.en.resx. Now everything in codebehind files (Localize.en.designer.cs) is gone. Deleting the designer file and...

Program.vshost.exe Error Preventing Running Program

I've been moving files around from my debug folder in an attempt to open the executable for my program from a different location. This seemed to have screwed things up, and I'd like to know how to fix them. The exact error reads as follows: "Visual Studio could not copy a support file to this location:\Program.vshost.exe'. Please ver...

What are some useful shortcut keys in Visual Studio?

Similar Post: Hidden Features of Visual Studio (2005-2008)? What are some shortcut keys you know of that make programming faster, easier, or all around more enjoyable? ...

VS2010 Setup Project

Hi guys, I am currently writing an app for Outlook(Outlook social connector) and I have no idea how to make the installer program. Can anyone give me a somewhat detailed description of what to do? Here is the only thing I have found on the web about what I need to do.. but of course it's not very detailed at all: http://msdn.microsoft.co...

Only Search for Text Within XAML Files using Visual Studio 2010

Many times I find that I want to search my entire Visual Studio project for a text string, but I only want to search the XAML files in the project and not the code-behind (.cs) files. Does anyone know if there is a way to do this in Visual Studio or if there is an add-in I can download to accomplish this? Thanks. ...

Is there any way to create a blank solution (.sln) file first and then add projects?

Visual studio has always annoyed me because (to my knowledge) you cannot create a solution first and then add new/existing projects to it. The only way I know how to create a solution is to create a project and specify the solution name for it. So, is there any way to start with a blank solution (.sln) in visual studio (any version)? ...

Has anyone eval'd or dev'd database apps with RadVolution Designer?

I've been looking at this database app development tool which is integrated with Visual Studio and would like to hear from you if you have any comments about it, evaluated or developed database apps with this tool. The tools website is: www.developguidance.com ...

When Does Visual Studio 6 Catch Structured Exceptions?

This is mostly curiosity, but I've been reading about the history of Visual Studio catching SEH exceptions in a C++ try-catch construct. I keep running across the assertion that older version Visual Studio with the /GX flag enabled would "somtimes" catch structured Win32 exceptions in a C++ catch block. Under what circumstances will Vi...

Is there anything like Eclipse Perspective in Visual Studio?

Hello, I was wondering if there's anything like Eclipse Perspectives in Visual Studio (2008 or 2010). For those unfamiliar with Eclipse, here's a definition of Perspectives: A perspective is a visual container for a set of views and editors (parts). These parts exist wholly within the perspective and are not shared. A per...

How big is performance decrease of compiling when there are not necessary USINGs?

Hi, I'm just curious if unnecessary USINGs in my code slows down compiling of Visual Studio solution. Over time there are new and new usings in my code because of changes in code when some features are added, reimplemented and sometimes removed. Should I even care about the number of USINGs? How can I remove unnecessary USINGs? Thanks...