visual-studio-2008

Running Visual Studio 2008 in XP from Windows 7

Is is possible to run Visual Studio 2008 installed on my Windows XP partition from Windows 7 without reinstalling it on Windows 7? ...

Debugging feature activation in SharePoint 2007

I have a SharePoint feature that is activated under 'Site Collection Features' that is having some issues being activated. I've activated it through the stsadm as well as the SharePoint UI, both unsuccessful. The feature toggles from deactivated to activated, but the result that should be there is not. The result is some pages that shoul...

.NET's license compiler (LC.EXE) seems to ignore the contents of licenses.licx on one machine, but not on the other. Why?

Background info: I've set up a very simple .NET solution in VS2008 that contains just enough code to display an ActiveReports report in a preview window. The ActiveReports component uses the licenses.licx mechanism to decide whether it has been properly licensed or not. If it finds no valid license key, it will display a prominent messag...

Is the remote debugger from VS2010 compatible with VS2008?

Is the remote debugger from VS2010 compatible with VS2008? That is, can connect from visual studio 2008 to a machine running the remote debugger installed by VS 2010 ...

Is there a way through the Visual Studio IDE to move buttons between ToolStrips?

I have multiple ToolStrips with buttons on my form. I'd like to move some buttons from one ToolStrip to another. However, the Visual Studio IDE is not allowing me to drag the buttons off of a ToolStrip. I could go and edit the designer file for the form, but I try to avoid that as much as possible. So is there some way to do this through...

Embed application compilation time stamp

Is there an easy way to configure in a build process to write in the time stamp of the build to be displayed in the application to have something like "This page was last updated: 06/26/2010" ...

Is there a faster way to remove un-referenced controls from a Form's designer file?

I started looking into the designer file of one of my Forms and noticed that a lot of the old controls I thought I had deleted are still being instantiated but are not actually used on the form. Is there any easy way to clean up these controls from the designer file that are not being used? Right now I've printed out a list of all the p...

.net c# datagridview populating with non database data/setup

Hi, I have never used the datagridview in any other scenario other than one where it is populating by a database so suddenly my mind goes blank... I have 10 tubes, each with 8 vertical positions within it, so I have a 10 by 8 grid basically. Each has of those slots has (or not) an image in a folder. How do I get a datagridview to ref...

error LNK2001: unresolved external symbol

I am receiving this error >GXRenderManager.obj : error LNK2001: unresolved external symbol "private: static class GXRenderer * GXRenderManager::renderDevice" (?renderDevice@GXRenderManager@@0PAVGXRenderer@@A) The following is my code... GXDX.h class GXDX: public GXRenderer { public: void Render(); void StartUp(); }; GXGL....

Microsoft expressions ... How its different from visual studio ?

I just heard Microsoft Expressions studio from my project manager and he told me to explore on it and find out if we can do development faster using it as compared to vs2008, I started downloading trial version and started googling about it, but I couldn't find answers to following questions Why Microsoft came out with new IDE when the...

Customize a custom menu in Visual Studio 2008

I recently installed Platform builder 7 by Microsoft. It is a plug-in for VS2008. The plug-in adds the following menu: I want to remove several items from this menu and I would also like to add some button from it to a toolbar. The problem is that when I do customize I only get "advanced command placeholder" shortcut for the whole bunc...

Is it possible to manipulate the format on a DataGridView that is bound to a Data Source?

I´m using SQL Server 2005 and Visual Studio 2008, C#. In the data source (the SQL Server data table) I use the date format mm/dd/yyyy, however, in a forms overview (DataGridView) users would like to see a completely other format, with year, week number and day number of week (yyww,d). I´ve created an algorithm for this transformation, b...

R6034: An application has made an attempt to load the C runtime library incorrectly.

I am getting this R6034 error when running program that I just updated (and cleaned) from VS2003 -> VS2008. To be more exact: "R6034: An application has made an attempt to load the C runtime library incorrectly." It seems to happed almost at the same place all the time when running. I have no really idea why but I tried some su...

How do I manipulate the format on a DataGridView that is bound to a Data Source?

I´m using SQL Server 2005 and Visual Studio 2008, C#. In the data source (the SQL Server data table) I use the DateTime format mm/dd/yyyy, however, in a forms overview (DataGridView) users would like to see a completely other format, with year, week number and day number of week (yyww,d) which is in string format. I´ve created an algori...

error C2504: 'BASECLASS' : base class undefined

I checked out a post similar to this but the linkage was different the issue was never resolved. The problem with mine is that for some reason the linker is expecting there to be a definition for the base class, but the base class is just a interface. Below is the error in it's entirety c:\users\numerical25\desktop\intro todirectx\godfi...

VSS causing crash in VS 2008

We use Visual Studio 2008, with visual source safe v8. Lately, I seem to be getting a lot more crashes than usual, mainly when viewing history (comparing, etc.). I have taken a screencapture of the series of dialog boxes that will always appear, leading up to the crash: http://img529.imageshack.us/img529/1360/msvscrash.jpg Does anyone ...

DataGridView: can you add an unbound column to a Data Bound grid?

I´m using Visual Studio 2008, C# DataGridView: can you add an unbound column to a Data Bound grid? It seems pretty simple, just select the properties ("DataGridView Tasks box") for the data bound DataGridView, and select Add unbound column. However, when in runtime there will be a System.FormatException - which I can understand, as I d...

How to create named pipe acsessible Only on your machin? (VS08 C++)

Hello, I have created a program that write video stream to a named pipe on windows, using Visual Studio C++ 2008 . how to be sequre that no one exept programms on this computer can acsess this pipe? npipe = CreateNamedPipe("\\\\.\\pipe\\TestChannel", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES , 1024...

How can i do re coding without assign null value?

How can i do below without assign null value "Tex=null"? static void Main(string[] args) { FileInfo f = new FileInfo("C:/temp/Arungg.txt"); StreamWriter Tex; Tex = null; if (!f.Exists) { f.CreateText(); } else { ...

how to avoid header coupling

I am trying to address this issues because I can not seem to find a good resource online that does so. I do not fully understand the issue cause I never got it resolved so I will try to describe it as best as possible. Awhile ago I had an issue where headers were being ignored because "They were called once already and therefore when ...