Combobox.Iseditable in c # .Net 4

I have a c# visual studio program that uses combo boxes on a windows form. I would like to have EXACTLY the functionality of the .net 4.5 Combobox.IsEditable function: http://msdn.microsoft.com/en-us/library/system.windows.controls.combobox.iseditabl

Reference Management in Visual Studio 2012

Please help me understand: I have a Visual Studio project. It has Nuget package manager enabled. I install several libraries. The library versions are shown in packages.config. Each library has a corresponding entry in References. Now, say I want to

Redesign of the .asmx file in Visual Studio

I have created my first ASP web service in Visual Studio 2012, for which the code now looks like this (this is the file TestService.asmx.cs): using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Servic

Web Essentials 2012 .LESS Import (reference)

I have some .Less files that contain just variables. I want to reference those variables in other Less files. .Less offers a (reference) style import (http://lesscss.org/features/#import-options) Example: @import (reference) "foo.less"; This loo

Type of MFC member variable

I have MFC dialog that contains Edit Text control. With form wizard I have generated m_edit variable for this control. Variable type is CEdit. How to get string value from m_edit? I found in some samples from internet that member variable might be CS

Portfolio page in asp.net

I am pretty new in asp.net. I am doing a project for the university and I want to put a portfolio page. In this page I want to have just images with links. I have a table in the database for the portfolio with field for the image which contains the i

Display of today's date

In my program I am trying to display today's date in a day//month//year layout. I've tried using many different ways but I keep getting errors about unsafe use of cTime. Is there a simple way of getting my program to show the date: time_t t = time(0)

View js output files of type text in VS 2012

I've installed TypeScript and Web Essential for Visual Studio 2012. In a new TypeScript Project were created 3 files: default.html app.css app.ts In all tutorials, VS 2012 automatically create dropdown for app.ts file in explorer, where is hidden app

Download the file directly into memory

I would like to load an excel file directly from an ftp site into a memory stream. Then I want to open the file in the FarPoint Spread control using the OpenExcel(Stream) method. My issue is I'm not sure if it's possible to download a file directly i

System.NullReferenceException error in the program

In my program, I'm getting the error: An unhandled exception of type 'System.NullReferenceException' occurred in POS System.exe Additional information: Object reference not set to an instance of an object. This happens when I try to add something to

TFS2012 build process using an incorrect workspace owner

I am trying to run a build using Visual Studio 2012 paired with Team Foundation Server 2012. The build process is run on a separate server from the team server. When I run a build definition the build fails and the error message reads: Exception Mess

Can not read keys from App.config

I want to read some values from my project's App.config file, but when I do this: var appsettings = System.Configuration.ConfigurationManager.AppSettings; I only get four entries: StopTestRunCallTimeoutInSeconds, LogSizeLimitInMegs, CreateTraceListen

Is it possible to trap start and end events?

I've inherited a reasonably large visual studio WinForms project in C# and VB.Net While I'm working with it, I get messages in the Debug window like this: The thread '<No Name>' (0x1194) has exited with code 0 (0x0). The thread '<No Name>' (0x

Sign in and develop with SharePoint Server 2013

I recently setup a sharepoint server 2013 on our company and have found really good examples how you can override the suitbar with custom links. Now that I'm trying to implement those examples i get to that point where Visual Studio 2012 and Office d

Can not debug adding Visual Studio

Question says it all. I'm trying to write a Visual Studio addin (2012), and the experimental instance always launches without running anything in the addin. No breakpoints are hit in the main instance, nor does the addin get loaded by the experimenta

XAML Image tag (Win8) not working with some paths

The Source attribute of the Image tag works only with the files which were added to the 'Assets' folder in the Solution Explorer. I've got two files in the Assets directory: Logo.png and Logo2.png, but only Logo.png is added to 'Assets' in the Soluti

Authentication method 'mysql_old_password' is not supported

Updated the mysql connector. Net to version 6.6.4 provider to integrate with visual studio 2012, but now when I try to configure the connection to the edmx occurs the error "Authentication method 'mysql_old_password' not supported".This error me

Can not Compile TypeScript Files in Visual Studio 2012

I downloaded and installed TypeScript extension for VS 2012, I got my first sample compiles by manually dragging the ts file onto the tsc.exe file! because no other way to compile the file will work. I don't want to manually do this everytime I want