visual-studio-2008

Visual Studio 2008 Create Word 2007 Template Project Crashes

I've got this weird crashing happening when creating a C# Word 2007 Template Project in Visual Studio 2008. The IDE tells me that it's creating the project (it does create the solution and C# vsproj as well as the dotx and cs files). Then the IDE just crashes - no errors, messages, etc. When I try devenv /SafeMode it still doesn't work. ...

How do I load ascx pages faster in visual studio 2008?

One of my (my team's) biggest peeves with VS2008 is the slow speed in which ascx load. It could take up to a couple minutes to do something as simple as a text or style change simply because of the time it takes to load an ascx page into the visual studio text editor. Half the time I'm tempted to check out the file, edit it in notepad, t...

two static libraries

Hi, I am currently providing a static library using vs2008. I am in the process of building my static library. However, since I am using another static library is there a way that i package this as a single static library. The reason here is that they will be calling functions in my library that depend on that other static library (.li...

Dealing with unwanted port numbers on localhost when debugging in Visual Studio

So when I'm trying to debug a project in Visual Studio, I'll often have 1 or more services that I need to call. These services are separate projects and I'll launch them in separate instances of VS. ASP dev server kindly launches them with temporary port numbers attached. This would be fine except for my programs are looking for an IP wi...

Check if a Windows application is installed on local machine from Asp.net?

We have a certain application installed on a single machine. I would like to enable/disable a button based on the existence of this application. Is there a way to check for its existence from asp.net? the app is currently on an XP machine, but want to code for Win7 as well. VS2008 3.51. Asp.net ...

Different behavior between IE6 and Firefox for HTML Tables?

I'm doing the first bit of web-page development I've done in years, in VS2008, using VB.net. I have a fairly simple layout, which is using several nested tables. IE6 displays the layout just fine, but Firefox for some reason shows the whole thing in a small panel at the top of the page, with a scrollbar. Can anyone suggest something basi...

Is possible to make mt.exe embed manifest files correctly in Visual Studio 2008?

I found that mt.exe fails to correctly create and embed manifest files into executables when run inside a VCPROJ. For example the same executable load well on Windows 7 but failed to load on Windows XP. The manifest was embedded and correct. The place where it fails is inside crtlib.c: if (!(*pfnFindActCtxSectionStringW)(0, NULL, ACT...

Visual Studio project build as an executable AND a DLL

In Visual Studio 2008 project properties, Application tab, I can set the Output type to Windows Application, Console Application, or Class Library. I have a project that I want to build as a stand-alone tool (console app) and be available to a couple other tools I'm working on as a class library. The VS GUI only lets me choose one or th...

Outlook 2003 View Control with C#

I want to embed a custom c# windows form (or WPF) user control into an outlook view. I am using Outlook 2003 and Visual Studio 2008. I did download an example for Outlook 2007 here: http://blogs.msdn.com/e2eblog/archive/2008/01/09/outlook-folder-homepage-hosting-wpf-activex-and-windows-forms-controls.aspx and also here: http://msdn.m...

visual studio 2008 HTML designer group objects and move

using visual studio 2008 Asp.net HTML Designer Howdy, Silly question but im using the HTML desinger in vs2008 to produce a ASP.net webform page, and i cant seem to find a way to select/group multiple controls with the mouse and move them all about the page in one group to keep them all aligned. I can select multiple controls with cntr...

Why is my ServiceOperation method missing from my WCF Data Services client proxy code?

I have a simple WCF Data Services service and I want to expose a Service Operation as follows: [System.ServiceModel.ServiceBehavior(IncludeExceptionDetailInFaults = true)] public class ProductDataService : DataService<ProductRepository> { // This method is called only once to initialize service-wide policies. public static void ...

Why do my debugger randomly jump out of debug mode?

Hi, I'm experiencing a very annoying behaviour with the debugger in Visual Studio 2008 Professional. I'm debugging a ASP.NET web application, and when stepping through the code the debugger randomly "jumps out" of debug mode, but without the debugger stopping. So when I'm stepping through my code like this: step over, step over, ste...

Subscribe through API .net C#

I have to submit subscription data to another website. I have got documentation on how to use this API however i'm not 100% sure of how to set this up. I do have all the information needed, like username / passwords etc. This is the API documentation: https://www.apiemail.net/api/documentation/?SID=4 How would my request / post / wha...

Using Cases to change background colour | Visual Studio 2008

I really need help working with cases, I'm only learning it so far, but just can't get a drop down menu to work that would change the background of a Textbox. Private Sub cbColours_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbColours.SelectedIndexChanged Select Case colours Case...

Design view not working in Web Projects in Visual Studio 2008

When I try to edit an ASPX file with the Design View it freezes for a moment and does nothing, not even an error message. Looking through menus I've seen some strange things: If I go to Tools->Options->HTML Designer it gives me no options on the right panel, just a "Error loading property page" message. When I try to open a file using ...

About the leading newline in Visual Studio solution files.

Sometimes, for unknown reasons, VS 2008 creates solution files led by a newline. Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 [...] This happened on various machines, and I have no idea why this is. A Google search did not yield any useful results. Now, why do I worry about this? Because I can't ...

Visual Studio C++ multi-project solution

I have created an C++ solution in VS2008. The first project contains the model. The second projects is the view. The problem is that i don't get make references to my model classes defined in the first project. The message error is : Error 1 fatal error C1083: Cannot open include file: 'utils/GeradorSistematicoDeAlturaDoPlanoDeCort...

What's the Best Way to Navigate Silverlight XAML in Visual Studio 2008?

When editing Silverlight XAML in Visual Studio 2008, the Document Outline panel is not supported by Microsoft. 1) Any helpful tip for navigating a deep XAML markup hierarchy without the benefit of the Document Outline tool? 2) Is this supported in Visual Studio 2010? ...

Trouble running setup package after Publishing in Visual Studio 2008

I've got a small winform application that I've written that is running fine in the IDE. It builds with no errors or warnings. It's not using any third party controls. I'm coding in C# in Visual Studio 2008. When I Build --> Publish the application, everything seems to work fine. However, when I go and attempt to install the applicat...

"There were build errors. Would you like to continue and run the last successful build?" not showing in Visual Studio 2008

Hi, Not a massive problem but something that has been bugging the life out of me... One of my colleagues was trying out some code on my machine and got the "There were build errors. Would you like to continue and run the last successful build?" pop-up when the build failed on Visual Studio. He clicked on the "don't show this again" che...