visual-studio-2008

does memcpy params have to be of the same type ?

I was reading that memcpy takes the number of bytes from a source location and adds it to a destination location. Does this mean that memcpy could possibly change datatype entirely ?? memcpy(DoubleOne, CharTwo, strlen(CharTwo)); considering that both values are empty still. ...

Exit code 3 (not my return value, looking for source)

Greetings, my program exits with the code 3. No error messages, no exceptions, and the exit is not initiated by my code. The problem occurs when I am trying to read extremely long integer values from a text file (the text file is present and correctly opened, with successful prior reading). I am using very large amounts of memory (...

Visual Studio 2008 Explicit Reference Error

I have a project which references a dll in the same solution (called "Common"). Common has two types of errors with the same names but different namespaces i.e. Common.Login.UserDeleted Common.Imaging.UserDeleted When I type UserDeleted visual studio recognizes both of these and asks for which it is ("ambiguous reference"). I right-cli...

GUI to include a .prop file in a VS 2010 project?

Visual Studio 2010 has no longer uses .vsprops files and instead uses .props files. To include a .vsprops file in a Visual Studio 2008 project, one could right-click the project icon in the Solution Explorer panel, choose Properties, go to the Configuration Properties | General section, and modify the Inherited Project Property Sheets p...

Problems with Continuous Integration (CI) in TFS during Build Automation?

Hi all, I am using TFS 2008 and Visual Studio and my boss has instructed me to implement Build Automation for Development and Release builds for a web Project. I am a total newbie in Build Automation. There are multiple developers working on the project on different machines using Visual Studio 2008 team System. Source is already be...

How to find all Classes implemeting IDisposable?

I am working on a large project, and one of my tasks is to remove possible memory leaks. In my code, I have noticed several IDisposable items not being disposed of, and have fixed that. However, that leads me to a more basic question, how do I find all classes used in my project that implement IDisposable? (Not custom-created classes but...

Is it safe to install VC++ 6.0 after Visual Studio 2008?

When I built this new PC I didn't install VC++ 6.0 as I didn't think I'd ever need it again. However, I've just discovered I need to rebuild a really old application. It doesn't compile under VS 2008 (which isn't surprising since it hasn't been touched in 7 years) and as my C++ skills are a little rusty I don't have the time to try and ...

Breakpoints are ignored when debugging in Visual Studio 2008 on 64-bit system

I'm trying to debug an ASP.NET web application in this environment: Windows Server Standard 2008 SP2 x64 Single-core CPU 4GB RAM Visual Studio 2008 with Remote Debugger SP1 .NET 3.5 Web Application running in IIS in 64-bit mode The code I am trying to debug is a simple event handler with some basic sequential code. What I observe is ...

asp.net web deployment

i have successful created asp.net web deployment project under visual studio 2008 and everything works fine. However there is a new requirement from my user where they want to browse the location to install the web application instead of using the default install location. Is there anyway to achieve this ? or do i need to use some thir...

What's the fastest way to test a code snippet in Visual Studio 2008?

My common scenario: I have a web app and a test project in the same solution. Maybe I'm missing something, but I can't test methods/snippets from the Immediate Window regardless of which project. MSDN alleges you can't use syntax like ?TestMethod123(args) from the Immediate Window while in web type project. So, why can't I throw a met...

does such a c++ tool exist? [I dont know what to call it]

Hello, I am going through the process of trying to figure out how a library of code works. I would like some sort of tool that would analyze the program that I run off of the library and tells me what functions are called in what order by each thread. Does such a tool exist? What google terms would I use to find such a program? Note: ...

Can the Visual Studio "Web Setup Project" deployment project create FTP sites?

I'm kind of hoping the answer will be "No, it will only create a single Web Site, and not an FTP Site", since I'm half way through writing some WMI code to create the FTP site. ...

Visual Studio Packaging: Another version of this product is already installed

Hi All, I have a msi created for a project which uses C# & Jscript. version-1.0 is currently public. I want to release a bug-fixed version v-1.0.1 of this package but while testing it, I am getting "Another version of this product is already installed Installation of this version cannot continue.To configure or remove the existing vers...

VB2008 Resolution-based resizing

Hi, Usually I am a web developer so this is probably a very novice question. I recently made an app in VB2008, but I developed it in a huge reso (1920x1200). The person that will be using it still uses 800x600 reso. Is there any simple way I can resize the entire interface to fit any resolution? I didn't really think about it at all whi...

Hello world/Console Project in Visual Studio 2008 64 bit

So I am trying to run console 64 bit Hello World program. I have Windows 7 Enterprise x64 bit version. I have installed Visual Studio 2008 and have added all of components needed for 64 bit. I want to create simple console application. It turns out to be a problem. I have simple standard hello world project. I have created it using...

Using "run as" with Visual Studio debugger

Is there any way to use the "Run As" option in Windows XP in conjunction with Visual Studio's debugger, to debug an issue that occurs in my application only when certain users are logged in? I have ran the application from my machine using "run as" to pretend to be the user in question, and I got the same error as they did. I would like...

Difference between User Control and Custom Control Library

I'm working on creating a date/time user control in WPF using C# 2008. My first user control. I'm also using Matthew MacDonald's book, "Pro WPF in C# 2008". In that book he strongly recommended creating a user control using the WPF Custom Control Library project template; so I followed his suggestion. I've finished writing the code w...

Visual Studio 2008: No Intellisense in web.config

Hey all! My web.config no longer has Intellisense nor colour highlighting. It looks like a regular text document. Any idea why this would occur? Thanks! ...

Typemock - Worth the money?

I know that this is a subjective question... Typemock is $799 per developer. Licences for 5 devs comes up to a pretty large sum. If someone here used Typemock and given that there are open source mocking frameworks, is it worth the money? Why? ...

Help with Visual Studio 2008 annoyances

I really like VS2008 but I was wondering if someone has workarounds for these annoyances: When I open a /* ... */ comment block, VS insists on placing a '*' character on every new line. That's nice, but sometimes I don't want that at all. Is there a way to turn it off? The formatting section in the Options dialog for the C# editor does...