visual-studio-2008

Creating Reports using VS 2008

How do I create a report (RDL file) using VS 2008. I created one and it created a rdlc file which I cannot publish it to reporting server. I do not want to convert rdlc file to a rdl file. ...

Swap attributes in tags using Visual Studio 2008 RegEx

How to swap attributes ID and runat in all tags in my Visual Studio 2008 solution? Was <asp:Label ID="Label1" runat="server" /> became <asp:Label runat="server" ID="Label1" /> ...

AnkhSVN not pulling in files created by another user in the same solution in VS 2008?

I have a VS sln with about 5 projects that I created along with the majority of the files in each project. I commit changes to SVN via Ankh and it's just peachy. Another developer just started and he can retrieve the files via VS and can also commit to the repository (I aded him as a full control user), but I can't retrieve them via Ank...

VS2008 WinForm property color picker dialog has changed

I have just upgraded to a machine running Windows 7-64bit. Now in VS2008, when I go to set the BackColor property of a control on a WinForm, the usual color picker (Custom/Web/System) has been replaced with just a simple dropdown list containing the names of the System and Web colors. Is this just a quirk in my installation, or does th...

Is it possible to change backround color of editor and autocomplete tooltips in Visual Studio?

I changed color scheme for Visual Studio, setting a background color to black. Also I use Visual Assis to enhance color syntax. Now code looks great, but autocompletion list and editor tooltip are shown on the default white background. WIth new color scheme it looks awful. In Completion list and Editor tooltip I can't change enything e...

Why can't i add Bin Folder in an asp.net MVC web application?

I am developing a web application using asp.net MVC... RightClick->Add->Add ASP.Net folder-> there is no bin folder... I am using asp.net MVC 1.0 with visual studio 2008 sp1... Any suggestion... I find a bin folder in my root folder,but not in the solution explorer.. ...

Best practice to manage SVN with a solution with multiple projects involved

Before I start, the following is based on knowledge gained through usage of TortoiseSVN 1.6.x and ASP.NET web projects with Visual Studio 2008 as example. Case Study Say, in a happy day scenario, a typical subversion repository structure can be somewhere similar to: /trunk /Solution1 /ProjectA /ProjectB /Pr...

Exception on try??

Hello. I have this problem which I really cannot understand. I am getting info from a WebClient which misbehaves and returns an empty response. This is another issue which I hope to solve soon, but the real problem is the following. Here is my code: private void client_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e) { ...

Embed VSTS unit tests in standalone application

In visual studio there is the so called 'test view' that provides an overview of all unit tests within the current solution/project. I wonder if it is possible to embed this view into a standalone application. The idea is to have a standalone application that lets you run special integration tests on a staging system. Any ideas? ...

Cannot install add-in for outlook 2007?

I'll explain here what I have done and I will be really grateful if someone helps me. I've seen there are some posts about this problem, but I want to know if I made some mistakes. I developed add-in for Outlook 2007 (.NET Framework 3.5) using VS2008 and C#. When I finished, in Solution Explorer, right-click on "Solution(my project)" an...

List javascript tasks in Visual Studio Task list

Hello. Is there a way to configure Visual Studio 2008 to display TODO comments in .js files or script-tags in the task list? Now only todo comments from the C# code is displayed. Thanks Endre ...

How to set the path of cl.exe in the .vcproj file

Hi, How do i set in the .vcproj file which cl.exe will be invoked to compile the .cpp files in the project? i could not find any such property in the documentation. i know i could set the 'Path' environment variable and then start devenv.exe with the /USEENV switch, but that is now what i really want to do. I prefer to have the path of...

Empty/static project in Visual Studio that can import a folder structure of data files

This seemed like an easy enough task and back in the Visual Studio 6 times, I could just drag a folder to a project and the folder would be imported. I didn't need this in the past years, but now I'm really looking for a way to import a static directory structure, much the same way it works when you just drag a folder on an ASP.NET Web S...

vshost.exe crashes on start or open of windows form project

Visual Studio 2008 has been running well for quite awhile now. I've used it for web, console, windows form, WPF, WCF, and class library projects. All has worked, until today. Now, whenever I try to start a new windows form project (regardless of .NET version), it crashes with the message, vshost.exe has encountered a problem and...

Common files in output directories in a C# program

My VS2008 solution has the following setup. Program1 Program2 Common.dll (used and referenced by both Program1 and Program2) In debug mode I like to set my output directory to Program Files\Productname, because some code will get the exe path for various reasons. My problem is that Program1 when compiled, will give an error that it ...

datetime picker for ASP.NET 3.5 webforms

Is there a free for commercial use date and time picker in ASP.NET webforms? Right now I am using the AJAX calender extender with Visual studio 2008, but have nothing for time picker. I want a control that is free and has no license to it. I know that there are JavaScript controls but was wanting to stick with ASP.NET webforms controls...

C# .net framework2.0 how to dynamically assign methods to an event

VS2008, C#, .NET FRAMEWORK2.0 I want this: click button1, webbrowser1._DocumentCompleted() event revokes doA(); click button2, it revokes doB(); click button3, it revokes doC(). I know how to do it using JAVA and I guess C# has this mechanism too. Could anyone give me some idea or better, show me some example? ...

Sql Server Compact 2005 on Visual Studio 2008

I'm working on a Windows Forms application that interacts with a Sql Compact database file created by SQL Server 2005. This application was originally developed in Visual Studio 2005 but was recently converted to a Visual Studio 2008 solution. In regards to Sql Compact, we made sure the references were all still set to the assemblies t...

Problem placing ContentPlaceHolder within <script> tags.

I have this in an ASP.Net Master Page: <script language="javascript" type="text/javascript"> <asp:ContentPlaceHolder ID="scriptContentHolder" runat="server"></asp:ContentPlaceHolder> </script> But when I try to view the content page in design mode it tells me there is an error in the associated Master page because "script...

How do I unhide Debug -> Attach to Process in Visual Studio 2008?

I'm using Visual Studio 2008 Professional at work. Recently, I got a new workstation. Someone else installed all the software for me. For some reason, I do not see the option "Attach to Process" on the debug menu. I looked in the options, but I don't see an option that seems like it should hide it. How do I make the option "Attach t...