visual-studio-2008

Including Resources in Debug Build

I've finished development of my application and it contains three images in different PictureBoxes. I've added them to the application by using the drop down option on the PicureBox itself, browsing to the image i made which is stored in the folder "above" the solution folder. If i was to copy the solution folder (Which will not includ...

Visual Studio 2008 Class not in Class Wizard

I just added a new MFC class in a VS2008 project and it isn't showing up in the two bars at the top of the editor (just shows Global Scope) and I can't get at the messages and events class wizard stuff. Is there some way to rebuild the class wizard information so that I don't have to continue adding events and message handlers manually?...

Visual Studio 2008: Can't connect to known good TFS 2010

A freshly installed TFS 2010 is at http://serverX:8080/tfs. A Windows 7 developer machine with VS 2008 Pro SP1 and the VS2008 Team Explorer (no SP). The TFS 2008 Service Pack 1 didn't work for me - "None of the products that are addressed by this software update are installed on this computer." The developer machine is able to browse ...

Cygwin in Visual Studio

I'm trying to port an old program I wrote for class from KDev in Ubuntu to Windows Visual Studio 2008 using Cygwin as a personal learning exercise. I have the include path configured to include C:\cygwin\usr\include but it doesn't read the .h files properly. Namely I'm curious as to how one would go about using unix sockets.h functional...

Dialog doesn't display properly because of a loop after using .Show() method in C#

I am sorry if it seems like I am posting the same question. The problem is similar but I find out more and more about the problem each time. So thanks in advance for all the help. Its much appreciated. :D I want to show a form/dialog given a certain condition while inside of a loop. My problem is I have created this segment of code in m...

Void Dataset, why?

Hi everyone, got a problem here. Hope you can help :D The software I'm creating manage simple movies information, this form in particoular should edit the data of a given movie. Through the code below, a form is populated with the data gathered from the DB. ("cinema" is a Dataset gloablly declared). public short popolaModificaFilm(stri...

Can I see what is referencing an object while debugging?

Is it possible, while debugging a Silverlight app, to view all current references to an object? I know that WPF developers have the ability to use the SOS.dll, but that cannot be loaded in the VS2008 IDE while debugging a Silverlight app. I've tried it, but the load command gives me the error: .load C:\Program Files\Microsoft Silve...

Debugging ASP.NET with IIS

I've set up debugging in Visual Studio 2008 to IIS instead of the built in server so I can run url rewriting while developing (using IIRF). It took a while to get to work (changing permissions, reinstalling the .NET framework) but it was working. I turned off my machine, and now that it's back on the debugger won't start. I'm using Pa...

visual studio 2008 open file in same instance

i have this issue where I'll have a solution open in vs.net, but then i'll need to open some random *.cs or web.config file or something such as thru tortoise/subversion for comparison. If I just double click the file or tell SVN to open it, windows opens a WHOLE other instance of visual studio. Is there a way to get it to just open th...

Visual Studio 2008 WPF Project error "project type is not supported"

I'm running Windows 7 x64 with Visual Studio 2008 (SP1). Yesterday I came across an issue when creating WPF projects. I don't know if I've created any other WPF projects since I installed Win7. First of all, in the Create Project dialog, the project type says "csWPFApplication" which is weird enough and I never noticed before. When I...

MSBuild taking forever to check timestamps when started from VS

I have a MSBuild file that uses item batching to send a bunch of files into a task. The target uses a vector of items for input and output. When I run msbuild from the command line (I run make which then blindly calls msbuild), msbuild checks timestamps almost instantly and skips task execution (nothing to build). When I call make from...

Application locks up when it should get a runtime error during debug

I develop windows applications in VB.NET using Visual Studio 2008. Recently I reloaded my pc and moved from XP to Windows 7 64 bit. Now when I am debugging, when I should get a runtime error, the executable instead locks up when it should bring up the code with the line that it crashed on like you'd expect in debug. This doesn't happen ...

Project Explorer Windows keeps losing focus when not pinned

This not related to code, but the editor itself. It didnt seem to fit on super-user so I am trying it here. I have Visual Studio 2008 running on Win 7. I usually undock all my windows for maximum real-estate on screen and I have noticed an annoying behaviour which I cant track down. If I have the project explorer window set to "swing-o...

How do i get visual studio 2008 to create a class for my MFC dialog resource?

I used to use VC 6 a while back and there was a simple to use "wizard" that would create a class out of a dialog created in the GUI editor. I am using 2008 professional and there seems to be no way to generate this. I can try to make it based on a template of previous projects, but it seems to me that is missing. Where did they bury...

Can' t do ClickOnce Deployment properly

hi friends, I want to deploy(ClickOnce Deployment) my web application which is developed in visual studio 2008. But i'm not seeing the options correctly when i try to deploy, options are disabled when i opened properties tab. i have refereed the below url. http://www.edumax.com/c-sharp-basics-clickonce-deployment.html but nothing se...

Using resources in C# and Visual Studio 2008

I've recently found the resx resources feature of C#/VS2008. However, I have trouble finding information about what they are normally used for. For example, I want to have a "static string" defined somewhere in my project, such as a CSS class that should be used in certain circumstances. Is it a good idea to define that string as a reso...

Install order for SQL Server 2005 developer and VS 2008 on Windows 7

I always seem to battle with this so on my new Windows 7 dev PC build, I thought I'd try and get it right! Do you install VS 2008 first and then SQL Server 2005 developer or the other way around? And for either way, are there any special options/settings that have to be enabled/disabled? I've just take an Acronis image of my PC, config...

Creating Data Source for Entity Data Model

I am trying use MySql and Entity Framework, using Connector/Net 6.1 with this as a reference: http://dev.mysql.com/doc/refman/5.4/en/connector-net-tutorials-entity-framework-winform-data-source.html However my project is WebApplication instead of WinForms. I have sucessfully created entities, but I am not able to cerate Data Source fo...

C# Unit Test Generation

I know it is possible for VS 2008 to generate unit test code to test C# classes, but I cannot find the right sequence of mouse clicks to generate the code. Any help? ...

Visual Studio 2008 SP1 30" Monitor

Visual Studio 2008 SP1 runs really slow on my 30" Monitor, is anyone else having this issue or have a fix for this? What I mean by runs slow, is when I scroll or start typing something, it takes a little while for it to respond. When I put it on my smaller monitor (24" or smaller) it works perfect. Thanks for your help! ...