visual-studio-2008

Custom Server Control that can be dragged into design view in Visual Studio

How do I setup a custom server control, so that it can be dragged into a design view in Visual Studio? I have create a separate ASP.NET Server Control project and a custom MailLink control, basically by copying the code from this MSDN article: How to: Use Custom ASP.NET Server Controls in Visual Studio. The control works fine, if I manu...

Javascript debugger issue in VS2008

I'm having a really annoying problem with debugging javascript with VS2008. If I simply press F5 (or choose 'start Debugging' from the Debug menu), the iexplore process is attached, but no breakpoints break in the scripts. The Script Documents tree doesn't even appear in the solution explorer. I already know: I can set a breakpoint i...

Is there a better way to view/interact with workitems in TFS?

I'm in the requirements/design phase of building an application. We're using VS 2008 and TFS. I have a bunch of scenarios, and related tasks. Some of the requirements have changed, and I would like to go through and see which tasks need to be changed/deleted. It's very difficult to view the overview of the system using any of the exi...

ClickOnce deployment for restricted users

From firsthand experience, it appears that ClickOnce only installs for the current user, and there is no option to install for all users. This is a problem because some users within the company need to use ClickOnce applications but do not have permissions to install applications (for security reasons). So far, the only solution we hav...

When using QT in VS2008, IntelliSense does not work properly

I use QT 4.4.2 in Visual Studio 2008. When I am writing code, IntelliSense seems to die - it does not show any methods or data members in QT objects such as QPushButton, does not see the QObject::connect static method, etc. Is it a typical situation or did I do something wrong while installing the library? ...

Progressbar in listbox?

I have a listbox that contains a bunch of file downloads, i want to add a progress bar to the current download to let the user know the progress of the download. I cannot figure out how to do this. ...

Help installing Visual Studio Tools for Office System

I have VS 2008 Standard and I'm trying to open a project that is a plug-in for Outlook, the project fails to load showing the message "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\Office Tools\Microsoft.VisualStudio.Tools.Office.Office2007.targets was not found". The Office Tools directory is missing yet I have installed the Offi...

Can I automate repetitive tasks such as writing properties with backing fields?

I constantly have to write classes in C# with properties that have backing fields so I can implement custom logic (e.g. if (m_x < 5) { // do something here }. I also constantly code events and their handlers quite often. This is all routine coding which everyone does daily and doesn't really think about. However, it is quite a drain on ...

Does VS 2008 SP1 support Property Editing for Silverlight 3?

I'm a Silverlight newbie. Just downloaded version 3.0 after the Mix announcement. I'm running VS 2008 SP1. When I select a design element in the preview pane or in XAML, the properties window is disabled and displays Property Editing Not Available I can open the solution in Blend and have no problems with it's property editor. ...

Visual Basic Power Packs problem!

Hi all, I include the power packs in my app, and now I encounter problems when I try to deploy it to some other Win-XP machines which do not have Visual Studio (2008), although I include its DLL inside the installation package. The DLL is "C:\Program Files\Common Files\Microsoft Shared\Visual Basic Power Packs\1.1\Microsoft.VisualBasic...

How can I databind a gridview to an arraylist in .NET?

How can I databind a gridview to an arraylist in .NET? I am using .NET 3.5 and Visual Studio 2008. ...

How can I stop Visual Studio 2008 from displaying a dialog if projects are missing?

I am calling DevEnv from NAnt and normally all is good. However we occasionally have the issue where a developer has added a new project and has checked in the solution file but forgotton to add the new project to source control. Not sure how, but it happens. In this situation Visual Studio puts up a dialog with an OK button saying t...

How to fix this JQuery intellisense in Visual Studio 2008 problem?

How can i solve this problem "Error updating JScript IntelliSense: D:\myProject\js\jquery-1.3.2.js: Object doesn't support this property or method @ 2139:1", i did all in this Visual Studio jscript intellisense error with jQuery 1.2.6? But no hope, should i edit something in my Visual studio options, or Visual studio has a problem? ...

Generic base class for WinForm UserControl

I created a generic base class for a WinForm UserControl: public partial class BaseUserControl<T> : UserControl { public virtual void MyMethod<T>() { // some base stuff here } } And a UserControl based on that: public partial class MyControl : BaseUserControl<SomeClass> { public override void MyMethod<SomeC...

Can't add resources to visual C# 2008 express??

I'm trying to add an image to the resource area of my application and not having very good luck. Is this broken in C# express? I've tried: Add image to project using 'Add->Existing Item'. I have marked it as 'content', 'resource', and 'embedded resource' and nothing works. here's the c# code: ResourceManager oResource = new Resourc...

Would ReadyBoost have an impact on Visual Studio 2008?

Has anyone seen a performance increase in Visual Studio 2008 by using ReadyBoost in Windows Vista? I have 4G of RAM and adding more will do nothing (I'm running Vista 32), so I'm investigating other options to speed up the responsiveness of the development environment and the build process. Upgrading to 64-bit Windows is not possible. ...

What happened to System.Web.Mvc.dll?

A colleague emailed me an example ASP.NET MVC project that won't build on my machine as it contains a reference to System.Web.Mvc.dll In the .csproj file: <Reference Include="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> I have VS2008 SP1 installed and can create new...

Web Installer in VS2008

How can I configure my virtual directory to have Windows Integrated Security checked and Anonymous checked through installer. How can I assign my newly created Virtual directory to an specied appPool which is already created on IIS6.0? Any code snippets and how to perform these action thru maybe a Custom Actions Editor/ any web sites ...

Visual Studio - Markup syntax highlighting inside script[type:txt/html]

Does anyone know how or if its possible for Visual Studio 2008 to highlight the html syntax inside a script block of type "text/html" just like any other markup on an aspx/html page. I'm using the script block to house my templates for client-side templating. ...

Visual Studio 2008 Deprecated method

I used to get warning message when I use deprecated methods in c#/vb.net. Now the compiler never warns me about it. I even created a new solution and project and still the same. Is there a visual studio setting that causes the compiler to suppress warning messages? ...