visual-studio-2008

Why doesn't cl.exe generate any output when I call it from Perl?

I'm having a weird problem with running cl.exe that has me stumped. In a large VS2008 solution consisting of C/C++ projects, I have one project that runs some scripts to do some extra processing. The project consists of a pre-build event, which calls a Perl script (ActiveState Perl is on the machine). This Perl script then calls cl.ex...

Encoding of copied file in MsBuild

Hi all: I currently have a set of files which will get copied during build using MsBuild's copy task. The files were initially set to ANSI format. However the copied files turned into UTF-8 format. This caused some major problems with my build process, as I was expecting the copied files to still be in ANSI format. I want the copied...

Why do I get this error in a WebServices project?

I have a ClickOnce app that accesses a bunch of web services. On the client, I have one project that wraps all the web services. In the Properties for that project, if Build/Generate Serialization Assembly is Auto (which is the default), then everything works fine. I set the option to On, it compiles fine, then during runtime I get ...

Visual Studio Hangs in WPF Design View - ".NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A2E0F92) (0)"

I've encountered an issue where Visual Studio hangs in WPF design view. I've read through similar posts and I believe my issue is similar, but different. The errors I see in Windows Event Viewer are below. Hanging application devenv.exe, version 9.0.30729.1, hang module hungapp, version 0.0.0.0, hang address 0x00000000. .N...

Debugging C++ virtual multiple inheritance in Visual Studio 2008 watch window

I'm having trouble debugging a project in Visual Studio C++ 2008 with pointers to objects that have virtual multiple inheritance. I'm unable to examine the fields in the derived class, if the pointer is a type of a base. A simple test case I made: class A { public: A() { a = 3; }; virtual ~A() {} int a; }; ...

ModalPopupExtender: Dragging dialog box results in 'scrollleft is null or not an object' error

I am using the ModalPopupExtender control to display a modal popup dialog when a button is click. The problem is that dragging the dialog results in an 'scrollleft is null or not an object' error. Here's a video demo ..and here is ALL the code: If possible, I'd like to resolve this problem w/o resorting to modifying the AjaxToolkit s...

Listboxes, scrolling in sync

Hi Everyone, I have 2 listboxes, same size, next to each other. Basically I am using them to represent linked items...Similar to having 2 columns and a number of rows in excel, with say, first name in one and last name in the other. I am wondering if I could make it so that when one listbox is scrolled, the other listbox scrolls in syn...

png files are not showing.

HI, All of a sudden today png files of my web application are not showing up in the browser. I am using Visual Studio 2008. The files are not even opening in the vs editor. When i double click on the icons in the vs editor it is saying "Cannot load file. Unknown bitmap format." But so many days those were there and was working fine...

VB or C# for SQL Server - Just learning SQL Server (going from Access)

I am just getting into SQL Server, and I have some experience with MS Access an Visual Basic (well VB within Access anyway). So I am trying to acquire materials (books, etc) to learn how to program sql server, and I am wondering if I should go the C# route instead of visual basic for sql server?? not super familiar with c# (though i am ...

Connection to EXcel in C SHARP

how to connect c sharp with excel...by using some Interop services ...

why i get this error: Unsafe code may only appear if compiling with /unsafe

hi why i get this error: Unsafe code may only appear if compiling with /unsafe ? i work in C# Visual-studio 2008 programming on WinCE thank's ...

Visual Studio Debugger skips over breakpoints

My Visual Studio 2008 IDE is behaving in a very bizarre fashion while debugging a unit test: I have a breakpoint and when I hit it and then try to step with F10 the test concludes. If I Set breakpoints on every line inside the method being tested I will end up at a random one, not the next one on the following line. I have cleaned and re...

Visual Studio 2008 InvalidArgument error when saving a dataset?

Hi, I am using Visual Studio 2008 .Net Framework 3.5 SP1 and get the following error when I save (ctrl-s) a dataset .xsd file within the VS IDE: InvalidArgument=Value of '-2147483648' is not valid for 'RowPosition' Is this somethng anyone has come across? The way I have fixed this in the past is to remove the DataTable and Table...

visual studio 2008 webdev server set default documents

Hi, I'd like to set a list of default documents for the VS 2008 webdev server. eg, If I have a folder called "test" with a file "index.htm" in that folder, when I browse to: "http://localhost:1234/test/", I get a 404, instead of index.htm being loaded. I have seen you can configure these documents for IIS 7 within web.config : <sy...

Visual Studio 2008 Release Installer packaging debug binaries

I've been maintaining a Windows forms application written in C# for some time now used in our company, and every now and again when I'm putting a new release out, the release build of the installer that I generate packages up a debug version of the class library that is part of the project. I've specified the release version of the prim...

Conditional Attribute

A quick C# question, I would like to know that in my project > Properties > Build, there is a check "Define DEBUG constant", so if I check that and then do this, [Conditional(DEBUG)] public static void Foo() { Console.WriteLine("Executed Foo"); } See it's not "DEBUG" its the DEBUG constant. So will this be okay? Or do I have to ...

Debugging with VS2008 will not work after changing Hostname

I am currently using Visual Studio 2008 on XP Pro SP3. Developing against http://localhost/ everything including debugging works fine. I need a second website on my machine. IIS 5.1 only allows one website at a time so I used the JetStat XP Pro IIS Admin tool to create a second website. This runs by stopping the Default website and st...

TFS Authentication from another Domain

Hello, I need to have access to TFS from another domain. The problem is the following: TFS --> domain A (main company domain) Visual Studio --> domain B (development domain) Domain A does not allow a trust between the 2. Another solution would be to configure external authentication on TFS but it seems to require SSL an I don't...

VS2008 IDE Error List not populating until build or debug

My Error List is not populating if I code something that should be a compiler error. When I go to run the program I finally see the build errors in the Error List. If I fix the code, the errors do not disappear from the Error List until I run again. I can't find the option driving this behaviour. It only does this when I'm working in ...

visual studio 2008 asp.net project templates missing

My desktop management team have just installed visual studio 2008 and there is no pluggins for asp.net .. is this missed out while they installed visual studio? can this to be installed again?? ...