visual-studio-2008

iis7 css is only applied to cassini server

If I run my site on IIS7.5 it renders exactly the same html as cassini server on VS2008: <div class="toplistitem"> <p> Text presented on web page. </p> </div> with the following css class: .toplistitem { background-color:rgb(230,230,230); border-top:1px solid rgb(200,200,200); border-left:1px solid rgb(200,200,200); border-right...

Visual Studio Designer not happy with my TabControl, anything I can do? (.NET / C#)

Hello, I have a class that extends TabControl, basically to have one with the tabs down the left hand side instead of along the top. To do I have set it to be custom drawn. The problem is when this is put onto a form via the designer, it easily makes the designer loose track of itself and just give up and display nothing. To fix it I h...

Visual Studio 2008 debugging problem

When I set up a breakpoint, it works, but when I try to step to next line of code, it leaves the debug mode (as though I clicked continue button). ...

Docking Tabbed Pane position in VS2008 with MFC Feature Pack 1

Use naming from http://msdn.microsoft.com/en-us/library/cc309030.aspx When I docking CPaneDialog with another CDockablePane the Tabbed Pane position is always at bottom of dock area, How to set Tabbed Pane position to top of dock area like normal tabbed control? ...

Visual Studio 2008 locks custom MSBuild Task assemblies

I'm developing a custom MSBuild task that builds an ORM layer, and using it in a project. I'm being hampered by Visual Studio's behaviour of holding onto MSBuild task DLLs and not letting go. I'd like to organize my solution like this; My Solution | +- (1) ORM Layer Custom Task Project | | | +- BuildOrmLayerTask.cs // here's...

VC++2008 project always "out of date"

In one Solution, I have two VC++ projects. Project A has linker inputs that are .obj files compiled by project B. Visual Studio (2008) always tells me that project A is "out of date," and prompts me to ask if I want to rebuild it, every time I want to run/debug/build/etc. Even immediately after building the entire Solution: I do a suc...

VsAddin or T4 for code generation (VS 2008)

I have build an Addin for code generation (C#, VS 08) for our team. The addin creates a new menu entry if i click on a file in the solution explorer. There i can choose a destination test project where the 2 files are generated to. For the code generation process i need informations from the selected item in the solution explorer (like...

Is it possible to add data files to a ClickOnce project despite warning MSB3178?

Is it possible to add data files to a ClickOnce project despite warning MSB3178? Hello everyone: I am trying to deploy a C++/CLI application “App_real.exe” using ClickOnce Deployment under MSVS 2008. To do that, I have a C# launcher application “App_deploy.cs” that simply starts “App_real.exe”, as described in that blog. When I build ...

Getting started with creating a report with Crystal Reports 2008 for winform in Visual Studio 2008?

Can you please tell me how to integrate the CR 2008 into VS 2008 Team System as currently VS doen't give me the option to create Crystal reports using a template!!! Please guide me... The data on which the reports are to be based are in SQL Server 2000. ...

Add nothing selected as default in a .net comboBox

Hi, I am working in C# with Visual Studio 2008. I am trying to create a comboBox for a simple search form in a windows application. What I want to do is have a comboBox with some options from a table in my database so I bound a table to it and selected the columns to display. What I want to do is add a default blank value(to represent ...

More resource confusion

I have a project that has a bunch of images in the project tree. One of the images has the BuildAction set to Content, but Copy to Output Directory is set to None. What exactly happens to this resource? Does it get compiled into the EXE? From what I understand about resources - nothing should happen to it; having this image in project...

Programmatically Add a Reference to a Visual Studio Project

I want to programmatically add references to Visual Studio projects. This is for creating an add in tool to Visual Studio. What I want to do is use an API of some sort. What I don't want to deal with is just editing the XML of the project file (.csproj, .vbproj). Is there any knowledge out there on how to do this? I couldn't find anythi...

Forcing Focus for Desktop Applications built in .NET

I have a production application that I always want to force focus on. Sometimes the users will accidentally click off the form and the blue focused window will turn gray. I have a timer that fires every 30 seconds and I want to programatically give focus back to the form so that it goes from gray back to blue with focus. I've tried using...

How do you bind a collection of items to a list box of checkboxes?

Sorry for the vague description, I can't think of a better way to put it. Let's say that my ViewModel has a property as follows: public List<MyClass> SubSystems { get; set; } and the SubSystems class: public class SubSystem { public string Name { get; set; } public bool IsSelected { get; set; } } In the view, I'd like to ...

Run White UI Tests using Hudson CI

I have Hudson CI installed on a linux vm and a slave on windows 7 vm. I have a project running on the slave and it has some unit tests using the Project White Automated UI testing framework. All of those tests involve launching the application first in order to perform tasks like clicking on a button. Problem Hudson builds the proje...

Debugging VB6 in VS2008 with non-VB6 objects

Hi there, I have an exe in Csharp that references a C++ dll and a VB6 dll. I can successfully step into the C++ from the Csharp in Visual Studio 2008 when I open the corresponding files. I achieved the same ability to step into the VB6 from the Csharp by generating a pdb file along with the VB6 dll. The only issue I have is that when ...

C++ 5 dimensional vector ?

I am trying to make a 5 dimensional vector and I can’t seem to get it to work. I know if I need to write a 3 dimensional vector, I could write it in the following way: vector< vector< vector<string> > > block(27, vector< vector<string> > (27, vector<string>(27))); Then I call it: block[x][y][z] = “hello”; I wrote the 5 dimensional v...

canot open window.h file in afxv_w32 already set the path through though tool option

our sytem has two window c-xp and d-window 7 i am copy file window.h and afxv_w32.h in d:user\fortune\document and also set tool optin path but this error cant solve please give me solution of immediatly what will we do either reinstall window 7 and visual studio or give me a answer immediatly window version problem is solved d:\users\f...

change solution file to a different folder

Hello, How do I change the folder of my existing sln file? It's right now inside one of my project's folder if I cut the sln file and paste it in the root folder,it doesn't load any of my projects Thanks ...

How to change an attribute of a public variable from outside the class

Sorry about the title, I don't think I could explain it right: This is a simplified example class, this is working ok. (I also have a Save() method) public class busItem { public Item vItem; public busItem(int pItem_Id) { DBDataContext db = new DBDataContext(); Item vItemQue...