visual-studio-2010

When the .net 4.0 and vs2010 beta2 will support mysql

mysql server explorer cannot support vs2010 b2 who has a solution ...

VS2010 : Merge WebSite assemblies as in Web Deployment project

Hello, is it possible to make a single assembly for whole WebSite in Visual Studio 2010? With Web Deployment Project i can do this in VS2008, but it is not compatible with new version.. ...

ASP.NET MVC 1 & MVC 2 RC on Visual Studio 210 Beta 2

Hello folks, I'm about to create a new virtual machine for development. I'm really interested in the new Visual Studio Beta 2 and the ASP.NET MVC 2 RC, but I'm also working on a ASP.NET MVC 1.0 project. Does VS2010 Beta 2 work with both MVC 1 and MVC 2 RC? Will I have problems or it's fine to to that? I will run everything over a Win7 ...

Visual Studio 2010 C++ compiler - Get current line number when compiling

Hello, i have a question about how to get the current line number while compiling of the VS C++ compiler, IF its possible of course. I know its possible to use the LINE Macro from the preprocessor, but the results i get are not correct (well, at least not what i want). Please tell me its possible :) Thanks in advance edit: I think i...

VB.NET - Form Placement

Hello everybody, I am making a program in vb.net (visual basic) that has two forms. I have one as a sort of "main" base which will be behind everything. Then I have another additional form which is suppose to go on top of the "main" form. Well I get this to work when I show both of the forms, but I want the smaller (additional) form to ...

VB.NET - Mouse Coordinates

Hello everyone, I have a vb.net application, and I want to know how to find the coordinates of the pointer (mouse) when it is clicked on the form. Not much else to say, so I'll leave it like that.. :D Thanks ...

Visual Studio File Conversion Fails

I am trying to open this project in VS 2010. However, it fails, and I am unable to open the project. Why could this be happening? The project is XNA. Here is an error message: The project file 'ShipDemo.csproj' cannot be opened. The project type is not supported by this installation. ...

How do i add custom fields to the the createUserWizard in the Visual Web Developer?

How do I add custom fields to the the createUserWizard in the Visual Web Developer? What's the easiest way to do this? ...

VB 2008 or VB 2010 Dataset help

I have three forms similar to the one in the link. I want add a Total textbox to every form. The total will add the values that will be entered in the montant textbox. So the total will take the specific value of that texbox for all the entries that the user will have and add them. How I can do so???? Thanks http://i1006.photobucket.co...

Drag Drop Within WPF ToolWindow in VS2010 Extension Not Allowed

I have a strange problem here. I've created a simple plugin using the wizard for a Visual Studio Integration Package / VSIX project with a tool window. Within that window I want to do a simple drag/drop from a listbox and drop within the same window. I've done the same thing in a normal WPF program, but when I do this in a WS toolwindow ...

How to do you add an Entity Framework object data source to an RDLC report in VS 2010?

I am trying to lay out an RDLC report for an ASP.NET application. I am using the entity framework and have a partial class that returns a list of entities generated from the EDMX designer. All files are namespaced correctly and in the same project to simplify the problem. I am trying to work through the sample here: http://msdn.micros...

Designing a Visual Studio 2010 Integration Package

I'd like to get started with the Visual Studio 2010 SDK and creating integration packages. All I would like to do for now is provide a new project type and language service. However, I don't know how I should design it... The package will provide an editor for a programming language that compiles for x86 or ARM processors. The problem i...

DSL, XamlDOM (.NET 4 Beta) and extending vs2008

I have the following situation: I want to develop a DSL. To generate the code, I would need the help of the XamlDOM Implementation, which offers static analysis and manipulation of XAML Code. Unfortunately, XamlDOM can only be used with .NET 4. I wouldn't have a problem using the vs2010 and .NET 4.0 Betas, but I need to target the DSL f...

Entity Framework 4.0 POCO save problems

Hi I'm new to EF 4.0 and I'm trying to use POCO (VS 2010 beta 2) I did everything like it is described in ADO.NET Team blog: 1. Generated edmx from my db 2. Created POCO classes in separate project. The root class looks like this: public class SendHistoryItem:AggregateRootObject { #region Scalar public virtual DateTime ...

How do I select existing report in VS 2010 report control?

How do I select existing report in VS 2010 report control? I am trying to figure out how to use RDL reports that I already have with the Report control in Visual Studio. I understand that VS 2008 does not and will not support RDL. I downloaded the beta 2 of VS 2010 and after I added the control to an asp.net project I do not see where...

VS2010 Beta 2 Won't Continue Past Exception

I'm debugging a WinForms client that calls a WCF service in VS2010 Beta 2. I want to test my exception handling code, so I intentionally mis-configured my endpoint in app.config. The expected ConfigurationErrorsException is thrown. However, VS2010 stops on the offending line of code even though I have set it not to break for either Th...

C: Math functions?

What include statement do I need to access the math functions in this C code? unsigned int fibonacci_closed(unsigned int n) { double term_number = (double) n; double golden_ratio = (1 + sqrt(5)) / 2; double numerator = pow(golden_ratio, term_number); return round(numerator/sqrt(5)); } I tried #include <math.h> but that didn't seem...

Visual Studio 2010 code display colour scheme - where do I find some properties?

I'm working on my own colour scheme for displaying code in visual studio. I can't find some text section name so I don't know where to change it's colour. :( Can anybody help me and tell me where do I find them, I mean what is the name of the following sections: 1)The grey one (documentation tag value and it's quote) - picture below ...

Visual Studio 2010 Beta 2 expiry date fixed or expiry after a certain number of days ?

Visual Studio 2010 expires after a certain time. Is that a fixed date or is that determined at the time of install ? i.e. is it a fixed number of days ? ...

Visual Studio 2010: Why aren't key combinations available?

I am trying to use VS 2010 for writing C. Frequently, I try to use a hotkey combination, and I get an error message of the form: The key combination (key, key) is bound to command (Command) which is not currently available. Why is this? Examples include CTRL + R, R for Rename and CTRL + K, CTRL + D for Format Document. I am tr...