Click here to Skip to main content
15,887,027 members
Everything / Visual Studio / Visual Studio 2015

Visual Studio 2015

VS2015

Great Reads

by Dmitriy Gakh
The perspectives of creating bots that write programs with two simple examples.
by Andrew Kirillov
The article demonstrates usage of ANNT library for creating convolutional ANNs and applying them to image classification tasks.
by Shmuel Zang
This article shows how we can implement a thread-safe events (similar to .NET events) mechanism using the standard C++ library.
by Marc Clifton
Hashcash is a proof-of-work system used to limit email spam and denial-of-service attacks, and more recently has become known for its use in bitcoin (and other cryptocurrencies) as part of the mining algorithm.

Latest Articles

by Petrov Vladimir
Build up our own AVI editing application and explore some fun techniques using simple code additions
by .dan.g.
A hierarchical task manager with native XML support for custom reporting
by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.
by Robert Gustafson
I've created an enhanced version of the Extended RichTextBox created by Razi Syed.

All Articles

Sort by Updated

Visual Studio 2015 

1 Dec 2016 by #realJSOP
Put a try/catch block in your code, and that will give you the opportunity to determine where your problem is:OldDbConnection conn = null;OleDbCommand cmd = null;OleDbDataReader reader = null;string query = "SELECT * FROM userdic";try{ using (conn = new...
24 Feb 2021 by - srybczyk-
I am using VS 19 and PyCharm, I am working on and trying to learn how to unmask characters like you would when you want a password to be seen or not for my web page and also for users for users who make purchases. Now it isn't secure I would be...
17 Sep 2023 by .dan.g.
A hierarchical task manager with native XML support for custom reporting
27 Dec 2015 by 0xC0000054
A C# library to host Photoshop-compatible filters in .NET 2.0 and later
2 Oct 2015 by 0xF4
Hi,I started using VS2015 Community edition some time back, and today when I downloaded WDK for Windows 8.1, I found that it did not integrate with my VS2015. My VS installation is fine. Why is this happening?Thanks.
11 Nov 2015 by _Noctis_
This will let you start logging quickly with VS2015 and NLog 4.2.
19 Jan 2012 by A Roychowdhury
I am new to VSTA and am not getting much help. My working environment is VS2008, VSTA 2.0, Asp.Net with C#.My initial requirement is that, user will open a excel and click on a button within that excel. Once clicked on that button a web page will open.Please help me get this and please...
31 Jan 2016 by Abhinav S
You can display the web browser inside windows form application using a web browser control[^].If you want to convert a web application to a windows form one, it needs coding effort.
19 Aug 2016 by Adi_Mag
Step by step guide to configure gulp in ASP.NET MVC core 1.0
18 Feb 2016 by Admir Tershalla
Learn how to control Windows services via ServiceController in Windows Forms Application
15 Feb 2016 by Ahmed Amer Jaf
Fast n Easy Way to parse Json data
2 Mar 2016 by ahmet_uzun
Audio pitch shifter application using the CSCore library
4 May 2016 by Akhil Mittal
In this section of the series I’ll cover how development with Visual Studio 2015 can increase your productivity to n times and enables you to write cleaner and more optimized code.
6 May 2016 by Akhil Mittal
In this article, we’ll cover another interesting and very useful featureof Visual Studio 2015: Live Static Code Analysis.
9 May 2016 by Akhil Mittal
Renaming assistance in Visual Studio 2015
10 May 2016 by Akhil Mittal
In this article I show how you can leverage the capability of Visual Studio 2015 in optimizing your code.
25 May 2016 by Akhil Mittal
This article covers the debugging improvements that Visual Studio 2015 has come up with.
14 Jun 2016 by Akhil Mittal
This article will cover other debugging improvements of VisualStudio 2015 like the tool window support for LINQ and Lambda expressions, the newperftips, and the new diagnostic tool window.
8 May 2017 by Akhil Mittal
How to create API with ASP.NET Core
24 Jan 2017 by Albert Holguin
You can do simple pragma messages/warnings... probably simpler than spilling all the contents of every pre-processor definition in a large project.#ifdef SOMEVAR #pragma message("SOMEVAR is defined here")#else #pragma message("SOMEVAR is NOT defined here")#endifPragma message[^]
16 Dec 2017 by aleksey_m_t
MSVS2015 chart view trace extension
9 Mar 2019 by AlexeyYakovlev
This paper demonstrates a technique of building Sprache parsers using grammar inheritance.
14 Apr 2016 by Alon Lek
Create a simple self hosted Web API service that runs as console and as service in just 2 minutes
24 Jul 2016 by Ameet Parse
Solving Producer Consumer Problem - Thread Safe Data Access for Shared Data
31 Jul 2015 by amitjoshi_87
I have created one excel 2013 add-ins project using vs2012 vsto with c#.I have set Publisher name to XXXXXXX-XXXXX-XXXX Inc.Also I have also added digital signature of my company with same Publisher name to XXXXXXX-XXXXX-XXXX Inc.At the time of installation always I get publisher...
28 Nov 2017 by an0ther1
As per the MSDN documentation - DataColumn.Expression Property (System.Data)[^] When filtering using Date values you need to surround the value with # or single quotes depending on the data provider. Additionally, your Text boxes have a string value that you are using to represent a date. If...
20 Jan 2014 by Andreas Gieriet
How about...
7 Jun 2016 by Andreas Michael Kreuzer
This article is about collision detection for convex polytopes using the simplex method.
28 Oct 2018 by Andrew Kirillov
The article demonstrates usage of ANNT library for creating convolutional ANNs and applying them to image classification tasks.
11 Aug 2018 by Andrew Wood
A WPF localization solution with runtime updating and design-time support in Visual Studio
20 Jun 2019 by Andrey Chertov
I had this problem when migrated to the new PC where I decided to keep all my stuff on the Google Drive. So I built successfully the debug version. But when tried to build the Release, all of a sudden had this error: 1>g:\my drive\...\proj_globals.cpp : fatal error C1083: Cannot open compiler...
1 Dec 2015 by Android on Intel
Targeting Android Apps on x86- and ARM-Based Devices with Visual Studio 2015
15 Oct 2015 by Andy Lanng
Hi,I usually set up all my projects in VS2013 the same way:Say I have a project for www.XYZ.com:1: Edit hosts file:2: Add "127.0.0.1 dev.XYZ.MyCompanyName.com"3: In WebApp properties under Web:4: Use Local IIS5: Project URL set to "http://dev.XYZ.MyCompanyName.com"6: Hit...
11 Jul 2017 by Ansel Castro
Develop SOLID back-ends exposed through a REST API with ODATA support and DTO mapping using Enterlib.NET.
31 Jan 2017 by Ashwin. Shetty
Look for mean stack, it is not OS dependent, it's all javascript nor does have any license fee. You can host it free on openshift cloudYoutube does have day one tutorial to get you started.Openshift : OpenShift Online (Next Gen) Developer Preview[^]
1 Jun 2018 by atul sharma 5126
If trying to publish the website with file system (ftp), then the following error shows up on running of website: (website works perfect if deploy file used for publishing) Server Error in application Object reference not set to an instance of an object [NullReferenceException: Object...
31 Oct 2018 by Aydin Homay
Internet of Things requires fully decentralized platforms which can be developed, deployed, discovered, and requested more easily.
6 Dec 2015 by Bilal Çalım
Log transform, negative transform, power-law transform, gray transform, histogram stretching, drawing histogram, histogram equalization
27 Oct 2015 by Bill Menees
AT&T’s vertical and horizontal coordinates can be used to calculate the latitude and longitude for rate centers and wire centers as well as the distances between them.
17 Sep 2019 by BillWoodruff
A different approach: I have deliberately used multiple checks for valid names; in production code, I'd use try/catch. private void RemoveDDownMenuItem(MenuStrip mnuStrip, string menuItemName, string ddownMenuItemName) { if (! mnuStrip.Items.ContainsKey(menuItemName)) { // throw...
10 Nov 2017 by blueye89
Hello to all, I have two buttons: 1. Start System Asterisk Sound button which plays system asterisk sound: Private Sub btnSystemAsteriskSound_Click(sender As Object, e As EventArgs) Handles btnSystemAsteriskSound.Click My.Computer.Audio.PlaySystemSound(System.Media.SystemSounds.Asterisk)...
20 Apr 2019 by BrainlessLabs.com, sibani.p
Creating a simple ORM for C++ on-top of SQL database
22 Jul 2018 by Bryian Tan
You can use the IsDBNull function to check if the column contain any non-null value. Here is an example on how to do that. By the way what the For loop doing? Dim FDT As String Dim fdtIndex As Integer For I = 0 To LEN - 1 If LvMasterReader.Read() Then '... '... fdtIndex =...
2 Aug 2019 by CandaceJ
Hi I am attempting to compile a project but its missing the Microsoft.Office.Interop.Excel.Application reference. When going to Add References I cannot seem to find it. If Office is installed should the reference not automatically be in the list? How can I get it into the list? I'm running...
1 Apr 2016 by Carey Payette
The problem I am looking to solve while evaluating the LEADTOOLS SDK is to use a photo of a hard copy page of text taken with my phone, have it processed and displayed in the document viewer, then have it converted to Word format so that it can be easily edited.
22 Jun 2016 by casper_mystic@yahoo.com
Your error is here:Dim myNewEntry As New SqlCommand(("INSERT INTO SCOUTINFO (FIRSTNAME, LASTNAME) values('" & txtFirstName.Text & "'), ('" & txtLastName.Text & "'"), myConn)My fix:Dim myNewEntry As New SqlCommand(("INSERT INTO SCOUTINFO (FIRSTNAME,...
15 Oct 2014 by chadchen
Hello Expert:I have Excel reports generated by application. the format is xls.Due to row limits, it will split the content into multiple sheets if the total number of records is bigger than 65536.I am trying to copy all records from each sheet and merge them into one sheet then save...
9 Apr 2018 by charles922
Easy to Use Plotting Utility
19 Apr 2018 by charles922
AngularJS and REST API Tutorial - Part 2
27 Apr 2018 by charles922
AngularJS and REST API Tutorial: Part 3
22 May 2018 by charles922
Math Function Tutor, Part 2
31 May 2018 by charles922
Math Function Tutor: Part 3
18 Jun 2018 by charles922
Games/Fun with Programming
12 Jul 2018 by charles922
AngularJS and REST API Tutorial - Part 4
30 Jul 2018 by charles922
Introduction to Numerical Methods and Updated Polynomial Class
14 Aug 2018 by charles922
Demonstrate Clipping Plane in WPF 3D
21 Aug 2018 by charles922
Demonstrate Clipping Plane in WPF 3D, Part 2
5 Feb 2019 by charles922
Demonstrate Clipping Plane in WPF 3D - Part 3
23 Dec 2018 by charles922
Introduction to Orbital Mechanics - 2 Body Problem
23 Mar 2019 by charles922
WPF 3D Graphics Program to solve Soma Cube Puzzle
23 Mar 2016 by CHill60
Your query should be string chkUser = "Select * FROM [User] where Email=@UserName AND Password=@Password;";Use command parameters to provide the values for @UserName and @Password You've said you know about this so I haven't provided an example.Note the space before AND
8 Jul 2018 by CHill60
Firstly - you have a syntax errors in your SQL... "UPDATE EMP_MASTER ) " Try removing all of those extraneous brackets and putting in some extra commas UPDATE EMP_MASTER SET Sap_No= @Sap_No, CPF_No= @CPF_No, Name = @Name, Designation= @Designation, DesigIndex= @DesigIndex, CompJoining=...
7 Apr 2021 by CHill60
In theory it is possible - try searching using your favourite search engine with Quote: MS Access Split string into multiple records You will need to write some VBA to do this. However, that would not be a good solution. A better solution is for...
28 Feb 2016 by chimcham
Please help me how to set my program to multi byte character set using VS 2015.. I'm using C#.What I have tried:I can't find the Configuration Properties > Character Set in this Link.. https://studiofreya.com/2014/11/25/character-set-encoding-in-visual-studio-2013/
29 Feb 2016 by chimcham
Hi Good Day,I would like to ask.. I met this code and I tried to run in VS 2013 in it is okay..public const string my●var = " "; But when I tried to run in VS 2015, Please help. Thanks.What I have tried:Already researched about const variable name with dot.. but...
4 Mar 2019 by Chris Copeland
In addition, if you've built your application to connect to and interact with a database, I suspect there might also be dependency libraries associated with it (could be *.dll in your output directory.) If you don't also copy these across your application will not be able to load the required...
13 May 2016 by Christ Akkermans
This article in the FORTRAN Interoperability with .NET series explains how to exchange complex data between C# and FORTRAN.
10 Jun 2020 by Coder969
I am trying convert some of old project from vs2005 to vs2015 . Below is the error I am seeing while building it in 2015 . I dont see any problem while building in vs2005 error C2065: 'DOMDocument40': undeclared identifier Below is the code. I am getting the error at the CreateInstance ...
10 Jun 2017 by Coder969
Hi all, We are migrating our projects from from vs2005 to vs2015 . As part of this migration we also want to remove msxml4 and use msxml6 . To use MSXML6 I am importing the msxml6.dll and removed msxml4.dll in my code.But when I built it I am getting errors saying below three identifiers are...
22 Jun 2017 by Coder969
We are migrating our project from vs2005 to vs2015 . In one of the project we are using Ad1.lib .When I build that project in vs2015 getting the error saying Ad1.lib not found . In vs2005 this lib was present in " C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\Lib " but I...
28 Jun 2017 by Coder969
We are migrating our projects from vs2005 to VS2015 .In one of the project we are using below template declaration template In 2005,it is building successfully but in vs2015 getting below error. 'WindowClass': illegal type for non-type template...
4 Jul 2017 by Coder969
We are converting our projects from vs2005 to vs2015. We able to clear the build error but now we are getting runtime error at LoadTypeLib function call Error is "Error loading type library/DLL" Below is the code HRESULT LoadTypeInfoFromThisModule(REFIID riid, ITypeInfo **ppti) { *ppti = 0;...
2 Dec 2016 by CPallini
While creating the project, in application settings, you may get rid of any additional stuff: remove it (for instance precompiled headers) and then select empty project.Then you may add any header or source file you wish. You have, at least, to add a source file (say main.cpp) and type into it...
11 Jan 2018 by CPallini
Either Leave it as it stands (requires no effort!). Rewrite it from scratch in VB.NET or, better, in C#. .NET languages and VB6 are worlds apart. By the way, just Googling you may find tons of info on this very topic.
2 Apr 2019 by CPallini
This page might interest you: Standards version switches in the compiler | C++ Team Blog[^].
9 Nov 2018 by dada2010
Hello everybody i have problems with some code : I try to cache some value from a config file in the global.asax, with a timer. The global goal of the project is to check some data and push messages for all webusers (via SignalR) every 20s. i add dependency on a file, but when updating this...
7 Mar 2016 by dale.newman
Importing Excel & Delimited Files into a Junk Database
9 Feb 2017 by dale.newman
An alternative to .NET Configuration Handler
6 Jul 2022 by dan!sh
I was trying to create a little repository for code samples so I created an account at GIT hub. I have VS 2015 so I had to install GIT Hub extension to it. When I push the code from VS2015, I see that it is pushed under my another account with...
6 Jul 2022 by dan!sh
Setting on team explorer window allowed me to edit the email and user details.
10 Jun 2020 by Dattatraya Mengudale
Just do 2 steps as below.. 1. Specify header as #include 2. Rename to only as below, // Format the XML. This requires a style sheet MSXML::IXMLDOMDocument2Ptr loadXML; hr =...
20 Dec 2013 by Dave Kreskowiak
Your question doesn't make any sense. Why do you need that certificate to deploy a .DLL?? Where I work, we deploy stuff that's signed all the time, without doing anything special at all with a certificate. You just build the installer to put the files where you want them. That's...
12 Jan 2016 by Dave Kreskowiak
Publish is the most restrictive way to repackage an application. It takes away all of your options, including the ability to pick in which folder to install the application.If you're going to create an installer for your application I suggest using a third party tool, such as Wix Toolset,...
25 Aug 2016 by Dave Kreskowiak
Probably because you're looking in Task Manager for memory usage of a .NET app. Don't. It's lying to you.Task Manager shows how much memory is RESERVED for your app, not how much it's actually using.For better memory statistics, use PerfMon and the .NET Memory counters or a dedicated...
30 Aug 2017 by Dave Kreskowiak
It's not there because it doesn't exist. There is no such thing as "Publish All" in Visual Studio. You have to publish your projects one-by-one. You could also make your own version of a "Publish All". You can get some ideas from these[^].
8 Jan 2018 by Dave Kreskowiak
Post the problem in the Bugs and Suggestions[^] forum.
28 Dec 2019 by Dave Kreskowiak
Where did you define "openFileDialog1" and where is the code that disposes the instance you created? Your code seems to be structured wrong. You should have a method that creates and shows the dialog, determines if there is a file picked, disposes the dialog, then returns the filename that was...
25 May 2020 by Dave Kreskowiak
Seriously? Look at your code and the filepath you are writing the bytes to. All you have to do is supply a different filepath. That's it! But, you would have known this had YOU written the code instead of copy'n'paste coding.
25 Jan 2019 by David Lafreniere
Simplify passing data between threads using this multithreaded, portable C++ asynchronous callback framework
23 Oct 2019 by David Lafreniere
A framework combining state machines with asynchronous multicast delegates
26 Jan 2019 by David Lafreniere
A framework combining state machines and multicast asynchronous callbacks
25 Oct 2015 by defwebserver
In this tutorial, we will cover creating a simple number guessing game. The user will guess a number between 1 and 10.
15 Mar 2017 by DELPIN SUSAI RAJ
hi... i think your system configuration is low. you will try to use visual studio for android emulator or xamarin android player.Ram: upto 8gbprocessor: upto core i3and also troubleshoot hyper-V.
22 Jun 2016 by Depotdad80
I'm a new coder, working with inserting a first and last name into a DB table. I thought I had this pretty well thought out, however I'm getting the following error.An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dllAdditional information:...
2 Mar 2015 by Dhiraj V
Hi,I am facing issues like Type Mismatch while passing Array of interfaces from .NET to VBA and vice versa using VSTO technology.My requirement is that ComInterfaceType needs to be InterfaceIsIDispatch.My Interface definition is somewhat like this [ComVisible(true)] ...
30 Nov 2016 by Dino Konstantopoulos
Running Theano with an Nvidia 1070 GPU on Windows 10, with CUDA 8 and Visual Studio 2015
3 May 2017 by dmihailescu
A Visual Studio add-in that inserts some commonly known OO patterns into your working project and searches your highlights online.
10 Apr 2016 by Dmitriy Gakh
One new method of explaining of boxing and unboxing
15 Dec 2018 by Dmitriy Gakh
An introduction to Genetic Algorithms with brief reference to biology and example of finding one solution for complex mathematical equation