visual-studio-2008

Global multidimensional array not being written to [vs c++]

I have a global multidimensional array, g_iAllData[MAX_LEN][MAX_WIDTH] being used in a Form. When I write to it in a function: g_iAllData[iRow][iColumn]= iByte_Count; I can see in a Watch Window that it's contents are not being changed. If I put the array in the function, it works fine. Is there something I'm missing? I am declaring ...

How to create multiple executables within a single project.

Is it possible to have more than one executable for a single project? My use case is the following: I got a solution with plenty of projects in it, divided by roles (Business Entity, UI, Data Access, etc.) and I would like to have a project for the shell / console applications. I know I can create one project per console application, I ...

How to expose a regular file folder (and its files) in VS 2008 Solution Explorer? Thx.

How to expose a regular file folder (and its files) in VS 2008 Solution Explorer? Thx. ...

Error message: 'OfType' is not a member of 'System.Text.....

Well the full error is Error 3 'OfType' is not a member of 'System.Text.RegularExpressions.MatchCollection' in the following lines of code, (curly braces in regex.Matches(input).OfType) For Each group As Object In regex.Matches(input).OfType(Of Match)().Select(Function(c) c.Value.ToLowerInvariant()).Where(Function(c) Not keywords.Con...

Isolation mode (registration free) COM setting in VC++ 2008

How do I create a reference to an isolation mode (registration free) COM DLL in a VC++ 2008 project? In a C# project it is as easy as toggling an Isolated property on a reference. How do I do the equivalent in a VC++ project? ...

extern problems with array of structures c++

I have the main .cpp file with this: #include "stdafx.h" #include "Form1.h" #include <iostream> ... #include <stdio.h> const int MAX_LEN = 1000; struct DataLine { char StartCode; int ByteCount; int Address; int RecType; int DBytes[16]; int Checksum; }; DataLine AllData[MAX_LEN]; Then I have a form.h with ...

I'm getting the error "Application" is ambiguous in the namespace 'microsoft.office.interop.excel'

I have a project which opens a simple Excel file and populates it. It was working fine until this morning, when it has suddenly started giving me the error above: 'Application' is ambiguous in the namespace 'Microsoft.Office.Interop.Excel'. I haven't changed any project references, or anything within the file itself. The references incl...

How to stop using DLL and statically link to a LIB?

I have a VB 20008 Express project which currently uses a DLL. I would rather distribute a single .EXE I used DLL2lib and converted it to a library, but as I haven't done this before, How can remove the DLL from my project? The Project menu has an "Add resource" option, but I can't find any way to remove it (it doesn't show up in Proj...

Unable to open cpp1.ii file while compiling CUDA project

I've been using CUDA for the past couple of months on a 64 bit windows 7 installation along with Visual Studio 2008. Recently i shifted to a 32 bit windows 7 installation and also updated my graphics card, which earlier was a 8600GTX and now is a GTX465. I've installed the relevant driver and the CUDA 3.1 toolkit, and am still using VS20...

Visual Studio 2008 SSRS Report Designer Preview Doesn't Work

I've designed my report and then when I click on the Preview tab, nothing appears and I get System.Runtime.InteropServices.COMException (0x80004005): Command "View.Output" is not available. at EnvDTE._DTE.ExecuteCommand(String CommandName, String CommandArgs) at Microsoft.ReportDesigner.Utils.ShowOutputWindow(IServiceProvider sp) ...

is it possible to change languages of visual studio 2008?

Hello all, I have a VS 2008 Professional en. Is it possible to change language into german, russian or other languages? thank and take care, ragims ...

How to turn on tooltips in Visual Studio

Hi How can I turn on tooltips for functions ? I mean if I want to call a function I have to insert proper parameters into that function. Normally Visual Studio shows a tooltip which shows hints about that function(parameters,descriptions etc). However somehow this tooltip doesn't show. How can I turn it on ? ...

visual studio 2008 - Build issues

I am trying to rebuild a project from the clearcase vob and i get the following error code : error PRJ0019 . Any help is very much appreciated .. thankyou ...

How to end up with a pointer to 0xCCCCCCCC

Hi, The program I'm working on crashes sometimes trying to read data at the address 0xCCCCCCCC. Google (and StackOverflow) being my friends I saw that it's the MSVC debug code for uninitialized stack variable. To understand where the problem can come from, I tried to reproduce this behavior: problem is I haven't been able to do it. Que...

Custom DefaultLocation for Application Folder Fails Install For Non-existent Drive

I'm developing a Setup and Deployment project for a .NET application in VS 2008. I've been asked to set the DefaultLocation property of the Application Folder to: e:\SomeFolderName\bin Our production systems have an e: drive. However, when I run the installer on a test system that does not have an e: drive, the installer fails with ...

Visual Studio 2008: How do I save all the breakpoints set?

I'm looking for a way to save all the breakpoints I've set for future reference. Is that possible somehow? Thanks! ...

Remove version number from reference (avoiding "Could not load file or assembly..." error)?

In my class library, I am referencing DLL's from my website's bin folder. Sometimes the DLL's in the bin folders get updated, then I get the error of: Could not load file or assembly 'MyAssembly.Sub, Version=3.7.2096.3, Culture=neutral, PublicKeyToken=dfeaee3f6978ac79' or one of its dependencies. The located assembly's manifest de...

Switching to web page designer in Visual Studio 2008 with nested master pages makes hard drive spin for minutes

I have an odd issue where when I switch to a web page designer in Visual Studio 2008 SP1 with nested master pages makes the hard drive spin for a very long time, a few minutes before I kill VS. The system has enough free memory so it doesn't seem to be a paging issue. Windows XP SP2. VS solution has been cleaned & rebuilt. ...

Combine Visual Studio deployment projects

I've got several complex deployment projects that I'd like to combine into a single project. All the deployment projects are in the same solution. I'm combining them to simplify the build and the installation process. The individual deployment projects are obsolete, and going forward I only want to use the combined deployment project. ...

WPF skin library that works in Visual Studio 2008 Designer

In our projects, we have views and controls that are in many different assemblies (upwards of 40 assemblies in a single solution with 100s of views). We would like to apply a skin to all views from a single skin assembly that we can swap out with a different skin assembly to apply a different skin (not necessarily at runtime, this could...