visual-studio-2008

Is intellisense not working properly in VS 2008?

I've got trouble getting Intellisense to work in ASP.NET source view. For example, I register the Telerik RadControls DLL with a tag prefix, as it says in the samples: <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> But when typing <telerik: no intellisense appears. Also, after adding a coupl...

Prefast with Visual studio 2008.

Is there any way to enable Prefast in Visual Studio 2008 Professional addition? I am trying to compile native c++ code. I have tried following things, Downloaded Windows SDK Set compiler's Bin / Include / Lib paths to the SDK. Added additional option for c/c++ compilation (/Analyze:WX-) I believe these steps should have set the app...

When a user control has Browsable false on public property, why does designer set it to null when added to a form?

I have a user control that has a few public properties, one is an object where I set [Browseable(false)]. When I add this control in Visual Studio's designer the generated code sets this object to null. public class Foo : System.Windows.Forms.UserControl { [Browsable(false)] public object Bar { get; set; } [Browsable(true)]...

How to edit and continue in Visual Web Developer 2008 Express Edition and ASP.NET MVC?

I've enabled Enable Edit and Continue on the Web Properties page and it's also enabled in my configuration, yet Visual Web Developer 2008 Express Edition refuses to allow me to edit source files of an ASP.NET MVC project. I can edit the aspx file with no problem though. Any ideas what's wrong or what's missing? ...

In Visual Studio, can I disable signing my application when in debug?

In Visual Studio's Project Properties -> Signing tab, I have signed my project with a code-signing certificate. On my team, however, I'm the only one with the code-signing certificate, even though we're in a multiple-developer environment. When the other developers try to "Start Debugging", they get the following message: "cannot find t...

VS2008 MSTest command line program hanging when loading unit test assembly

Within Visual Studio 2008 SP1, you can create a unit test project which uses MSTest as the test runner. I've been writing tests now at work that test unmanaged C++ MFC from the managed MSTest project, and it's been quite an interesting ride. There seems to be a difference between using the IDE's test runner versus using the command lin...

Why do I need an *.obj file when statically linking?

I'm not sure why is this. I'm distributing a static *.lib across multiple projects, but this static lib generates many *.obj files. Seems like I need to distribute also those *.obj files with the *.lib. Otherwise, I get this error: 1>LINK : fatal error LNK1181: cannot open input file 'nsglCore.obj' Why is this? Is there a way to inclu...

How to activate/deactivate checklist items dynamically according to checked items?

Hey guys, I have a checkboxlist wich contains a list of services loaded from a database table... Each of these services can only be executed alone or with some other specific services. Like, If I select "Transfer Property" i cannot select "Register" at the same time... I have a table which contains the relationships between Services and...

Finding Process ID of my IE session for debugging in VS 2008?

Hi Just switched over from eclipse to vs 2008 for debugging javascript, i feel more at home as i use vs 2008 for c# and when i come to "attach to process" i see 3 iexplorer processes and 2 of them with "script", I only have 1 IE window open.. How can i identify which process ID i need to use? Anyone know? Thanks ...

spawning cmd.exe error in vs2008

Hi i have create a simple vc++ console application and try to print "Hello World".i am using windows server2003 machine when i try to build this proj i got the error as Error: spawning cmd.exe how to resolve this one Thanks in advance. ...

Error Connecting to Undo Manager of Source File XYZ

I've been getting an error recently while debugging an ASP.NET application in Visual Studio 2008: 'Error connecting to undo manager of source file XYZ' Any idea how I can get rid of the error? ...

Change assembly name based on configuration (Visual Studio 2005/2008)

Is it possible to change the assembly name based on the project configuration? I have tried conditional pragmas on the assemblyinfo.cs file, but that only changes the assembly attributes, not the name itself. ...

Visual Studio 2008 SP1 Not allowing to add website datasources

Hi all. I have a project with two reports (master.rdlc & detail.rdlc) wich both uses datasets to fill data. So far so good. They work ok, or used to work ok. For some reason, they lost the references to the datasets and the datasets are not showing in the Website Data Sources window so I'm unable to work with them. Also in the window W...

Where do I put classes when using Web Application project type of Visual Studio .NET instead of Website? (ASP.NET)

I have plenty experience creating ASP.NET Websites in the Visual Studio. But there is an alternative way to do the same thing that is through Web Applications, which have slightly different file structure. Since I created my first Web Application I couldn't use classes (.cs files) in the App_Code folder anymore, they were not seen by th...

Visual SourceSafe 2005 integrated with VS2008 - missing checkin prompt for comment

I have been using Visual Studio integrated with Source Safe for years, when I checkin a file from the Solution Explorer in VS2008 I am not prompted for a comment when I previously I was prompted. To add a comment now, I go to the pending checkin view and add a comment that way. My guess at some point I must have accidentally changed some...

WPF ComboBox...how to set the .Text property?

Is there a way to set the .Text property of the Wpf ComboBox control directly? My combobox is bound to a List collection, but when I try to set .Text property in the DropDownClosed event, it totally ignores it. ...

What version of Crystal Reports is distributed with VS2008?

I'm trying to figure out what version of Crystal Reports I have. It's the one that comes in Visual Studio 2008. Does anyone know what it is or how can I check? ...

How to list Context/Apartments for COM Object?

I am using the vs2008 debbuger for a c++ project that uses COM objects of a .NET assembly. I am getting a 'DisconnectedContext' message from the managed debbuging assistant, but i can't figure out which of the pointer is holding a reference to a bad COM object. Is it possible to keep track of the appartment/context in a thread with visu...

How can I convert an Access Report to a Crystal Report?

I have Access 2003, and Crystal Reports 10 (the one that comes with VS2008 Pro). How can I convert the access reports into Crystal Reports? It doesn't have to be perfect, just anything to lessen the load on me. ...

Apply property setting to all like controls in Project in Visual Studio

Lets say I have multiple DataGrids throughout my winform app and I want to set the BackColor on ALL of them to Purple in Visual Studio. What is the fastest way of setting a Property for multiple items NOT located on the same Form? Thanks! ...