visual-studio-2008

Texture will not apply to my 3d Cube directX

I am trying to apply a texture onto my 3d cube but it is not showing up correctly. I believe that it might some what be working because the cube is all brown which is almost the same complexion as the texture. And I did not originally make the cube brown. These are the steps I've done to add the texture I first declared 2 new varibles ...

C# 2008 Express v C# 2010 Express

Can anybody post a link to a comparison chart, or even to a duplicated question here on SO, for these two products? Plenty of info on what is missing between Express and Pro for example, but I'm struggling to find much on Express v Express. Is the only real difference the ability to develop apps for .NET 4.0? I'm developing WinForms a...

Trying to draw an image to a form, but not refreshing

Hi, We are using graphics context of a form to draw an image. However it works fine on initial paint but the image is not being updated unless we set a breakpoint and run it in debug mode, stepping through each time. What is a good way of making a seperate thread to paint on to a form every second? Thanks. ...

SQL Server 2008 Express doesn't see my Visual Studio 2008 Team System's SP1

Hi, I want to install SQL Server 2008 express. I have already Visual Studio 2008 Team System with SP1. VS in help > about shows me: MVS version: 9.0.30729.1 SP .NET Framework version: 3.5 SP1 but installator of SQL Server shows me that Visual Studio doesn't have SP1. Anyway I tricked up him by change in win registry HKLM > Software >...

Cannot create instance of 'Ribbon'

I'm having trouble using the Ribbon control from the Office 2007 RibbonControlsLibrary.dll. It works for most people but not for me. The fault I get is: Cannot create instance of 'Ribbon' defined in assembly 'RibbonControlsLibrary, Version=3.5.31016.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Exception has been thrown by the ...

How to Set Up Winform Textbox Field Focus so a User Can Go Through Them by Clicking Tab Button?

UI is created in VS 2008. I'm using C# .... I need to let the user move/focus between text fields from top to bottom by clicking tab button. How can i do it? ...

How to program three editions Light, Pro, Ultimate in one solution

I'd like to know how best to program three different editions of my C# ASP.NET 3.5 application in VS2008 Professional (which includes a web deployment project). I have a Light, Pro and Ultimate edition (or version) of my application. At the moment I've put all in one solution with three build versions in configuration manager and I use p...

Visual Studio 2008 Installer, Custom Action. Breakpoint not firing.

Hi, I've got an installer with a custom action project. I want the action to fire at install. The action fires, when I write something to the event log, it works perfectly. But I really need to debug the file since the action is quite complicated. So I've got the following installer class: namespace InstallerActions { using ...

Visual Studio IntelliSense - IHideObjectMembers trick doesn't work. What am I missing?

The IHideObjectMembers trick can be used e.g. in fluent interface implementations to hide System.Object members from IntelliSense. (If you don't know this trick, you can read up on it via the above link; I'm just repeating the interface's usual declaration here:) using System; using System.ComponentModel; [EditorBrowsable(EditorBrowsab...

skipped when looking for precompiled header

So some reason, my .cpp file is missing it's header file. But I am not including the header file anywhere else. I just started so I checked all the files I made enginuity.h #ifndef _ENGINE_ #define _ENGINE_ class Enginuity { public: void InitWindow(); }; enginuity.cpp #include "Enginuity.h" void Enginuity::InitWindow() { }...

what is a virtual adapter

I hear the term virtual adapter from time to time. But not exactly sure what it is. I can't exactly find a good definition online. Is there an exact definition for a virtual adapter. If so, what is it. Or what does it usually mean ? ...

Is it possible for two VS2008 C# class library projects to share a single namespace?

I am trying to share a common namespace between two projects in a single solution. The projects are "Blueprint" and "Repositories". Blueprint contains Interfaces for the entire application and serves as a reference for the application structure. In the Blueprint project, I have an interface with the following declaration: namespace...

creating a setup for a com dll

I am trying to package a com dll in an msi. I want the setup to run a batch file afterwards. The batch file basically points to the WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder and runs the regasm command to register the assembly. How do I get the setup to do this? Thanks. ...

how can i unserialize a field whic is in the serializable class

Hi there, I want to make a class serializable but i dont want make serializable some fileds in this class. how can do that? Thanks for your helps. ...

Debugging Native code in Visual Studio Proff

The Solution that we work on here includes 1 project in C# and another project in C. Is there any way to debug c code in Visual Studio? ...

MVC giving 404 errors after VS2010 install and VS2008 rollback

I'm having a bit of a problem with an MVC 1.0 site and wondered if anyone could help. The site was fully working in Visual Studio 2008, but after an upgrade to VS2010 I am having problems. The steps I have taken so far are: Install VS2010 Upgrade my MVC site to .net 4.0/MVC 2.0, which generally worked Shelved all my changes Got latest ...

why must you provide the keyword const in operator overloads

Just curious on why a param has to be a const in operation overloading CVector& CVector::operator= (const CVector& param) { x=param.x; y=param.y; return *this; } couldn't you have easily done something like this ?? CVector& CVector::operator= (CVector& param) //no const { x=param.x; y=param.y; return *this; } Isn't when...

IDispatch parameters passed from Delphi to C#

I am using Delphi 2010 to access objects stored in a C# Assembly written in Visual Studio 2008 using the techniques described in the Hosting CLR in Delphi. These techniques do work and I am able to obtain an instance of a .NET class - via an interface - and call its methods and read it properties. Calling the methods works fine as long...

Dropdown is staying on the screen when I hit breakpoints in JavaScript files. Why?

I'm using Visual Studio 2008 Professional Edition SP1 & IE8. When I hit a breakpoint in a JavaScript file that's triggered when an item in a dropdown is selected the dev environment takes focus, but the dropdown list is still visible, hovering over the code. This makes it very unreadable! Does anyone have any idea what's causing this? Or...

Visual Studio 2008 ReportViewer: report does not run with parameters

I have visual studio 2008 and I am designing a web site that is using the report viewer in local mode. The language that I am using is VB. I created a report using the wizard and I am using a stored procedure in SQL2008 that takes in two parameters (two date type parameters: startdate and enddate). In the wizard, the following is how I ...