visual-studio

Web service cannot write to Event Log when called by anonymous user

SUMMARY: How to configure a web service such that writing to the Event Log is always possible (regardless of caller)? DETAILS: I have a web service which writes an entry to the Application Log. I established the event source for this by means of a little console application and I think I understand that part of things. When I test this ...

Visual Studio 2008 - speed up Add Reference

Is there any way to speed up the Add Reference dialog? For example, has anyone found any way to open it by default in the Recent or Browse tabs (which is what I use 90% of the time), to avoid the other tabs' slowness? All I have found is this blog post where a lot of people complain about this issue, but no solutions... Note that this ...

Visual studio web server iis6 or iis7?

When I run my asp.net mvc site in visual studio 2008 is it running iis7 or iis6 Internally? Also does mvc require iis7 (is intended for?) ...

How to build and run a data-generating tool in a Visual Studio build?

My main project builds some software that requires a data file ('image' below). This image is generated by another program that I can build in another project. I would like to automate all this in one Visual Studio (2008) solution. In summary I have the following dependencies: software.exe should only be run if image exists software.e...

Problem in saving aspx file with encoding

Hi, I am developing a web application in Arabic. For that I convert existing pages in English to Arabic and save the file with encoding. But when I restarted Visual Studio all the arabic characters are changed to '?'. What might have caused this? Any help will be appreciated. Thanks ...

Should I get Visual Studio 2008 or skip it for 2010 beta?

I have been running Visual Studio 2005 on a Windows 2003 Server VM for the last few years and I just got a Visual Studio Professional with MSDN Professional subscription ($300 off!). I plan to setup a Windows 2008 Server VM to do my primary development on and I was wondering whether I should get Visual Studio 2008, or because I've never...

Collaborating with someone using older version of Visual Studio

Does anyone have experience collaborating with someone using a different version of Visual Studio? If I upgrade to VS 2008 or 2010, how hard will it be to work with someone using VS 2005? I realize that I'll have to target .NET 2.0 or whatever in the projects we will share, but I'm more interested in how to deal with project/solution f...

Is it usual for ASPX files to take 5-10 seconds to save?

Using Visual Studio 2008 with Resharper, is it usual for ASPX files to take a long time to save? I usually find that it takes up to about 10 seconds on an average PC (18 months old). What is it doing? ...

Visual Studio C++ - unresolved symbol __environ

Hi, I'm using VS 2008 and compile my application with Multi-threaded Debug (/MTd). At link time I receive the following error: error LNK2001: unresolved external symbol __environ Where the symbol is defined? Thanks Dima ...

Can I define custom "surround with" templates in Visual Studio 2008?

Can I define custom "surround with" templates in Visual Studio 2008? ...

Is there any good tutorial on building an activex control using visual studio?

Hi, I need to develop an ActiveX control that can read CD's and USB drives. Is there a good tutorial on developing sucha a control in visual studio using C#? ...

What happend to the visual XSD editor in to the Visual Studio 2008?

Visual Studio 2005 has an excellent visual XSD editor: In VS 2008 I cannot find it anymore ... ...

Visual Studio DSL Tools and Server Explorer

Is it possible to enable users to drag and drop a Table from the Visual Studio Server Explorer onto my own DSL Diagram? I can drop custom Domain Classes I have created but want to make use of the build in funcationality. I am working in Visual Studio 2010. ...

When Debugging an ASP.NET Application, How to End Debug Session when Firefox Closes?

Still looking for solution please help I do agree with all of you but the thing is that happened with ie cant be with any other browser I am looking for some settings/option so that it will kill the process as soon as the firefox window is closed origional message Hi all, I am going to set Mozila fire fox as my default web browser to...

C# tutorial to write gadgets

How can I write gadgets for the Windows 7 desktop using C# and Visual Studio 2008? I'm looking for tutorials and resources on that topic. ...

(Setup & Deployment) Create a folder & rename destination folder

Hi all, I've been using Visual Studio's Setup & Deployment Project to create an installer for a windows service and what i need is to create a folder within the application folder when the installer is run. How would i go about doing this? I tried adding a folder to the Application Folder in the File System on Target Machine bar, but th...

Open a VS 2005 Solution File (.sln) into memory

I would like to open into memory an existing .sln file. Example of a non-working method: private Solution2 OpenSolution(string filePath) { Solution2 sln; sln.Open(filePath); return sln; } If I have an instance of Solution2 then i can call the method Open; but how can i get an instance of Solution2? My goal is then to get...

Looking for a tool to auto-enlarge all of our dialog resources

So far my Gooling and searching around here haven't come up with anything of the sort. There are translation tools aplenty - we even have a license for Alchemy Catalyst 5.0. But what I want is a tool that will take an .rc file and grow all of the dialogs by a certain percentage - say 20%. That way the English will be a little more spa...

Visual Studio: Warn on Missing XML Documentation for Private and Internal Members

I am using Visual Studio 2005 (VS.8.0) and I am looking to enforce the requirement that all class members, not just the public ones, be documented. While trivial to setup Visual Studio to generate warnings when public, protected, or internal protected members are not documented, I am looking for a way to have the private and internal mem...

Visual Studio Debugger - Automatic Variable Assignment

I am working on a multi-developer project and the application being developed is launcher through a launcher application which passes parameters such as the user logged in, their location, etc. Right now when I debug the application I set a breakpoint on the code that parses the input parameters and I assign the username variable my user...