visual-studio

Catching DTE event in Javascript

I am trying to catch Visual Studio Extension events in browser javascript, DTE is available through window.external: window.external.DTE.Events.SolutionEvents.Opened = ... Access is ok up to "Events", but a SolutionEvents seems not to be found. I've checke the #imported tlb, _Events does have a get_SolutionEvents member. DTE is the c...

Firebird Data Access Designer (DDEX) installation

hi i want to use firebird library , and i followed its instruction as below , but i get "The referenced component 'FirebirdSql.Data.Firebird' could not be found." error. instruction : Prerequisites Make sure that you have Visual Studio .NET 2005 Standard or higher edition. Express editions are not supported. Registry update Reme...

How do I create an Editor Option in the new VS2010 Editor Extensibilty

The list of extensibility points for the VS2010 Editor mentios creating EditorOptionDefinitions along with a small sample. When I attempt to do this I cannot find the options anywhere in the VS2010 UI. How do I create these so that they are surfaced in the UI? ...

Visual studio caching information about project

Hello all, I am trying to work on a project in Visual Studio 2008 Professional. Earlier, the project was saved on a network location. Its an opensource project, I browsed the original code for some time, compiled and ran it. Then I deleted it from its original location, and then redownloaded it into a new location on my desktop. Then I o...

Insert Bytes array INTO varbinary(max) record

I want to INSERT INTO a table in a record varbinary(max) a Byte array How can I do that? ...

MinGW vs Visual Studio 2008 output code quality

A few days ago I was told that recent versions of g++ produce "better" x86 code than MSVC 2008. Basically GCC with full optimization produces faster applications than MSVC with full optimizations. While it's certainly correct to state that this, if true, depends a great deal on the application and the C++ code used (and I'm in the proce...

Does <include> comment tag suppress intellisense?

I was playing around with the idea of using Visual Studio's < include > tag to store some or all my code documentation separately from it's source, but when I tried creating a test xml file and pointed at it using the include for some of my methods, I discovered that intellisense didn't work for those methods. Is the include tag for xml...

Visual Studio 2010 Version Control and Bug Tracking capabilities

Hi All, We are considering purchasing Perforce and OnTime for SCM and Bug Tracking respectively when discovered that with Visual Studio 2010 we'll get both Source Control & Bug Tracking integrated into it and for free (if you are a MSDN subscriber). More in general, does it still worth to invest in these standalone and expensive tools?...

Visual Studio on Mac OS X

Hello Friends, Can we run Visual Studio on Mac OS X. Actually, I have planned to buy apple mac book pro, but am not sure is Visual Studio IDE work on it or not. Thanks... Nirajan ...

Add Inherited Controls to a Panel

I have a base form with two buttons (e.g. OK and Cancel). I want to use a TableLayoutPanel and have the two buttons in it. Child forms should be able to add more controls to the table as well as modify its layout itself via the designer. So far I can't get this to work. I have tried the following: Adding the TableLayoutPanel to the ch...

Publishing a WCF Server and client and their endpoints

Imagine developing a WCF solution with two projects (WCF Service/ and web application as WCF Client). As long as I'm developing these two projects in visual studio and referencing service to client (Web Application) as server reference there is no problem. Visual studio automatically assign a port for WCF server and configure all needed ...

C++ IDE for Linux and Integration with Source Code Control Systems

Possible Duplicate: C++ IDE for Linux? I usually program on Windows with Visual Studio, and I use Perforce for Source code control. Recently I ported a large application (250 kLOC) to Linux and was looking for something similar to Visual Studio to program in on Linux. What I wanted in the C++ IDE was three things: integrated s...

Visual Basic 6 tutorials for data access and CRUD

Do you know some tutorials (preferably a website or a blog) in Visual Basic 6 (not Visual Basic .NET) for data access or CRUD? The caliber and depth that I'm looking for is similar to this site: Data Access Tutorials for ASP.NET http://www.asp.net/learn/data-access/ Although the above site is for web applications, I am looking for a ...

When passing a managed byte[] array through PInvoke to be filled in by Win32, does it need to be pinned?

Suppose you're calling a Win32 function that will fill in your byte array. You create an array of size 32, empty. Then pass it in to the Win32 function to be filled int, and use it later in your managed code. Does there exist the chance that the byte array might be moved or overwritten in between the time it was allocated and it is fille...

VC++ how to change a picturebox from header file

HI, Just ran into a problem. How to I change a picturebox's picture from within a different header file. If I do it in the same .h file as the Form I am working on I use: sq1->Image = bi; (which loads in a bitmap) but when I do it from another header (i've included the correct header file), I get "sq1 is an undeclared identifier" and ...

How to stop a .NET application from loading if certain criteria aren't met

I need certain criteria to be met, a particular folder needs to be present on the c drive, before this app should load. How, during the load process, can I stop/quit the application. I already have ascertained if the folder exists. In old VB projects you would just use 'Unload Me' but that isn't in C#. I tried Application.Exit() but t...

LINQ query testing against a database

im just starting to learn LINQ and at the same time im working on a research project for school on using link to entities with oracle and DB2 im trying to find a tool or addon that i can use to test my result sets so that i can run a linq query and see the resulting data i have seen LINQ pad but it seems to be set up for microsoft sql ...

How use System.Windows.Forms, Version=2.0.0.0 in a .net framework 4.0 based application?

in VS2010 write this code and run: =========== string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), @"Microsoft.NET\Framework"); string pathV2 = Path.Combine(path, "v2.0.50727"); Assembly assembly = Assembly.Load(File.ReadAllBytes(Path.Combine(pathV2, System.Windows.Forms.dll"))); Console.Write(asse...

How to deploy a SharePoint workflow created in Visual Studio 2008?

I have created some sharepoint workflows in Visual studio 2008 and they work exactly as required on my machine. I have tested by deploying them to several different web applications on the sharepoint server. As a package to the client, I created WSP's for the three workflows and sent them to the client along with an install.bat and an un...

How to free the application from the visual studio debugger?

I am having a windows application developed in C# language,Its a simple one form one button application with no logic running in Visual studio 2005 in debug mode.What i want to know is,whether there is a way to free the process from visual studio debug mode and make it run as though launched from exe (double click).This is not any requir...