Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Visual-Studio

Visual-Studio

Visual-Studio

Great Reads

by Anurag Prajesh
Add new user registeration information in XML with C#
by Stefano Castelli
The article will illustrate how to create a Code39 barcode in VB.NET and C#
by Joydeep Sen
learn how to attach event with an object and how to create custom eventargs for beginners
by Santhosh Babu Mahimairaj
How to freeze gridview header using JQuery

Latest Articles

by Anurag Prajesh
Add new user registeration information in XML with C#
by Stefano Castelli
The article will illustrate how to create a Code39 barcode in VB.NET and C#
by Joydeep Sen
learn how to attach event with an object and how to create custom eventargs for beginners
by Santhosh Babu Mahimairaj
How to freeze gridview header using JQuery

All Articles

Sort by Score

Visual-Studio 

by Anurag Prajesh
Add new user registeration information in XML with C#
by Santhosh Babu Mahimairaj
How to freeze gridview header using JQuery
by The Zetta
Sometimes, Visual c++ users see a pretty confusing error message when they compile or build their projects. the error message says :fatal error C1083: Cannot open precompiled header file: 'filename.pch': No such file or directorymy solution was :In VS, go to Project->Options, set the...
by Pedram_Niloufari
C# .Gif viewer / Snipper control
by sumit_kapadia
Simple and free approach to manage your code on cloud with git-SCN and dropbox
by Peter T. Ringering
A program that makes editing code comments and XML comments easier.
by Etienne Louise (974)
In this article I'll show how to create custom culture and then show an exemple of how to use it in an ASP.Net MVC application.
by Yaseer Mumtaz
.NET interview questions and answers with real world examples and code snippets
by GPUToaster™
.NET Interop Revisited
by Amir Hamza Md. Kayes
.NET interprocess communication using named pipe
by AlexF185
A dynamic progress bar control easy to use and literally plug and play
by emadns
A basic tutorial for ReportMax tool
by emadns
Using the Chart control in ReportMax
by Nikita D. Sinelnikov
HowTo: make the report background (elements) of Microsoft .NET Report (.rdlc) non-printable
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.
by XyedBilal
URL binding failure
by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands
by The Zakies
we will continue the functionality of the hand tool with having a navigator panel which works as a map, we will also have a red rectangle which tells the user where he is actually viewing inside the whole form, also it can be moved to pan the form
by charles922
Use of the Trapezoidal Rule to integrate a function
by charles922
3D programming with OpenGl and C# to create an interactive puzzle
by Prasanna Venkatesh . K
Writing a Windows store background app from the scratch
by Revanth Ramesh
Futuristic Talking 7-Segment Time Display Widget in WPF
by saad_lah
Complete guide for beginner to setup EmguCV project and run first program in Visual Studio
by zippy1981
This is an alternative for "ODBCTracer"
by YOSSI ROZENBERG
A computational statistics class in C#
by RickZeeland
A Custom Flat-style Numeric UpDown Control with a simple demo application written in .NET 6
by Andrey Sitaev
Here I placed source files, binaries and brief instructions for FastGrid control.
by Afzaal Ahmad Zeeshan
This tip is to provide an overview of writing strings in ASP.NET web applications to avoid concatenations.
by shijo joseph
An ADO.NET Layer for SQL Server and Oracle which makes it easier for interfacing with database
by Mario Majčica
A well justified practice for mapping TFS collections on your local PC.
by RickZeeland
An easy way to edit and exchange XML config settings
by Michael Bergman
Using Windows Communication Foundation to build a simple web server
by Marlon Hizole
An elegant approach to pagination
by LucaDN
Add zoom capabilities, grid and rulers to the standard WinForms PictureBox control
by Tarek Elqusi
I created a simple form with a button to add a label control at run time sequentially numbered; labels are movable and lines are drawn between labels.
by bobishkindaguy
A simple entry box for various numbers, especially phone numbers.
by Howard 9448490
A WYSIWYG Printer Interface for Rich text
by Nguyen.H.H.Dang
A very simple Thumbnail Viewer inherited from FlowLayoutPanel for beginners
by Nippey
This is a TCHAR alternative for "A Small Class to Read INI File"
by HateCoding
A tiny custom list control
by Rajesh Buddaraju
A simple tool which is useful to calculate our day to day work hours
by Michael Rosqvist
If you want to measure something on the screen, here is a utility.
by Prakash Lekhak
This article describes how to access master page control from content page.
by Abhijit Shiposkar
Accessing Active Directory Objects via C# (Visual Studio)
by Member 3568076
Hi,How to list all users in ListBox include cn, mobile, mail?private void Form1_Load(object sender, EventArgs e){ DirectoryEntry dir = new DirectoryEntry("LDAP://ou=o,DC=xyz,DC=de"); DirectorySearcher search = new DirectorySearcher(dir); search.Filter =...
by Mostafa Asaduzzaman
How to access files within the application using DI
by Gregory Morse
Activating WRL audio interfaces in native C++
by Lantert
Add Excel style filter function to Chris Maunder's CGridCtrl
by MehdiNaseri
A simple application for adding users to active directory
by Vladan.Obradovic
Display additional properties for each VM inside SCVMM 2012 R2 console (VLAn, IP addres, VM Path, Mounted ISO, Number of Checkpoint)
by OriginalGriff
It is really easy to do once you get the idea how, but the Microsoft documentation could be a lot clearer - so here is a simple sample with full instructions.
by Purushotham Agaraharam
Setup file creation and adding a connection string custom control.
by Matthew Givens
Two ways to add functionality to .NET controls
by Ankur Rawat
Adding Image in the Container without stretching/compressing the Image
by MarkLTX
Automatically implement INotifyPropertyChanged for every property in Entity Framework 6.0 entity classes
by Shesh Lamichhane
Step by step to add the transformation files of app.config in your .NET Windows service
by OriginalGriff
Adding your items to Visual Studio default files
by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
by HiDensity
Class providing methods to count up a string using a definable character set.
by Abed AlSayed
AlSayed ColorBar is a TrackBar best for professional color picker, like the one used in Adobe Photoshop.
by Ștefan-Mihai MOGA
How to download files from an HTTP server.
by Reto Ravasio
Howto Paste and not make a mess
by dontumindit
An Easy Way To Query a Database
by Andrew Rissing
The following samples should take advantage of using statements and furthermore built in features of the ADO.NET framework. Furthermore, if you open a connection, make sure you open it at the latest time possible and close it as soon as possible.Edit: While I was originally not trying to...
by FZelle
You are both wrong with the DataAdapter.Why do you think there is an overload with the querystring and the connectionstring?public DataSet select_query(string query, string con_str){ try { using (SqlDataAdapter da = new SqlDataAdapter(query,con_str)) { ...
by woric
The sample code provided by Andrew Rissing is a huge improvement over the original, but incorrectly catches the exception and displays a MessageBox. (Andrew correctly points out this is not a good idea.)A better solution is to allow the exception to fail:public DataSet...
by PrimeCoder
Nice,How about adding a couple of other methodspublic static void Parameter(IDbCommand command, string naam, object value){ IDbDataParameter par = command.CreateParameter(); par.ParameterName = naam; par.Value = value ?? DBNull.Value; ...
by rmliu
Resize either images or canvas only, resize batch images
by Iman Memarpour
How to set up your environment to use Angular CLI with your ASP.NET Core 2.0 Angular template
by Bert O Neill
AngularJS and Web API Active Directory Security (Authorisation)
by Thinira
In this tip, we will discuss how to setup Angular 2.0 in Visual Studio and write a very basic “Todo” application.
by Vasudevan Deepak Kumar
This is a simple class/demo application that shows how to check whether the account that is being used to run the application has administrative rights.
by B. Clay Shannon
How to apply Attribute Routing to Web API Controllers
by Ponkarthikeyan Thangavel
This tip describes about applying reusable read-only styles for WPF controls at Application/User Control level
by shouvith hydrose Kerala
This article explains how to change Arabic Calendar Date to English Calendar Date in Windows Form C#.
by Farhan Ghumra
Learn how to create zip archive and extract it without any 3rd party library
by Hugo Carnicelli
During this article, we are going to explore what is currently necessary to run an ASP.NET 5 website on Ubuntu.
by Ruhollah Heidarpour
Just another ASP.NET Persian(Jalali/Shamsi/Solar) / Gregorian Datepicker
by Tejas Vaishnav
ASP.NET menu control not shown properly in Chrome and Safari
by Shemeer NS
ASP.NET MVC 4 for VS2010 Installation Errors, 0x81f40001 - This product is incompatible with .NET 4.5 or earlier. You must upgrade to .NET Framework 4.5 to the latest version before installing this product, with Web Platform Installer and MSI.
by JoaoSousa23
This tip walks you through the steps for creating a ASP.NET MVC 5 Web Application using Bootstrap as template for layout.
by James Gabel
ASP.Net timed page reload on button click/form submission.
by Praveen Bhosage
How to attach to IIS WPW3 process using the vscommands extension in Visual Studio 2010.
by Bikash Prakash Dash
How to create an auto suggestion control like Gmail/Hotmail/Facebook to add items in list.
by Ajay Vijayvargiya
Visual Studio 2010, for Visual C++ projects/code, now supports auto complete feature for #include statement too!Just type in #include directive followed by " or <, it will list all possible header files. It will also show the full-path of the file (selected in listbox), on the right side of...
by Eduardo Yost
Creating a Web User Control containing an AutoCompleteExtender for data through WCF (JSON) allowing to store the entity selected through EntityFramework. Entity object serialization from the server to the client and the client to the server.
by DannyVarod
Fast, stable and powerful creation of NuGet packages
by OriginalGriff
How to automatically copy release executables to a specific folder on a successful build
by phome
CAAV, Increase/Decrease the version segments in AssmblyInfo.cs or template files in the specified folder and its sub-folder
by ed welch
Automatically stepping over STL
by tc99
Immediate access to resources without clicking
by Abhishekv 11
Autos Window in Visual Studio 2013
by ambatisreedhar
Export to Excel,default formatting of excel,excel number format,excel date format,excel currency format
by Mukesh Pr@sad
This tip describes how to build an application in Azure Cloud with ASP.NET MVC and WCF.
by ROHIT SHAW
It shows how to display a badge notification in Windows 8 metro app
by AMB-03
This is a very simple way to create a balloon message... without using any plugin
by Nomesh G
Setting up basic MVVM in WPF and ICommand usage to allow operations on ViewModel from view.
by Alaa Ben Fatma
Small tool to write, run batch codes
by yuvalsol
Batch script that retrieves checked out and changed files from TFS and saves their paths to output file
by Robby Tendean
Simple implementation guide for log4net in a VB.NET web application.
by Rahul Krishnan R
Simple article to load a crystal report rpt file using crystalreportviewer in Visual Studio 2012
by Roger65
A project to place a Dialog Box on the Taskbar
by Kundan Singh Chouhan
Simplest, best and most robust architecture.
by Bim Garcia
Implementation of ISO8583 in .NET
by hirosht
Step by step method of thresholding a image using the EmguCV API in C#
by saurav ray
Article determines how to bind a crystal report with a virtual database
by Amol Jadhao
How to bind dropdownlist in ASP.NET using JQuery Ajax
by manchanx
Tidy, generic solution to bind Enums (with or without a DescriptionAttribute) to a ComboBox or other Controls
by Masoud Ehteshami (Iran)
main source : https://www.jqwidgets.com
by prachi_pandey
Map fields from multiple schemas to fields of a single output schema
by Arkadeep De
Bluetooth Desktop Locker with Android Application
by jean Davy
#include must not be in precompiled header
by DiponRoy
Bootstrap datepicker and Knockout Model Binding
by Ratish Philip
Visual Studio 2010 provides a feature by which it is now possible to edit multiple lines at one go.For e.g. say you have a class which you have three member variables which are declared as private.public class MyClass{ private int myInt; private double myDouble; private...
by Manas Bhardwaj
Did you know that there is no way to branch the files recursively in Microsoft VSS? Here is a work around:From Visual SourceSafe Explorer, go to View ->Search ->WildCard SearchThen search for Wildcard: * (a single asterisk) with Search in current project and all subprojects...
by Thrivikram Hathwar
How to broadcast data using .NET TPL dataflow
by Matthias Böhnke
Bug Fixes for Reading Barcodes from an Image - III
by O.Nasri
This tip shows you how you can implement a contact form in C#/ASP.NET MVC
by DiponRoy
Let's make a lambda expression from a property name of a particular entity, and use it for OrderBy shorting
by Robby Tendean
How to bypass SSL certificate validation checking and restore it
by Pascal Hubert
Looks like what I use!ServicePointManager.ServerCertificateValidationCallback = New RemoteCertificateValidationCallback(Function() True)
by OKarpov
How to use ASM in C#.NET and most fast memory copy method
by Emiliarge
Both MS Access formats (mdb and new - accdb), MSSQL 2008 R2, MSSQL CE, SQLite, MySQL
by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
by Emiliarge
Using FindWindow() and WindowFromPoint() to identify window, and SetWindowText(), MoveWindow(), SetForegroundWindow(), EnableWindow() to interact with it
by blitzkrieged
An alternative ProgressBar for C# with extra functionality
by charles922
Program that continuously monitors the NXT via Bluetooth
by Ahmed Amer Jaf
Downloading files from the Internet with one line without Freezing Form
by saddam abu ghaida
This article describes how to convert any Data Table to List of Objects at runtime using Reflection
by Jochen Scharr
C# CountryInfo class, LanguageInfo class and CurrencyInfo class, derived from CultureInfo respectively RegionInfo for a more intuitive and compile-safe handling of countries, languages and currencies
by D. Christian Ohle
New Rational class to solve epsilon and robustness problems especially for graphics algorithms.
by Fabrice Lacharme
Yet another Knob Control in C#
by caed
C# - Read Text File, Match a Word in First Line, Move File if Word Matches
by Fabrice Lacharme
Yet another slider/trackbar in C#
by Darkencrow
A multi-drawer style collapsable UI container
by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Emiliarge
2 ways to read and write data to *.xls and *.xls files and display it on DataGridView.
by Emiliarge
Comparison of 4 browser engines and controls + some tips for using them (in attached projects and in tip text). Short and clear.
by Emiliarge
How to get and parse website content.
by Daniel Petrovic
In this tip, I want to represent a quick lightweight possibility (one of many) for parsing command line arguments on the fly using C++17.
by Michele Ziparo
An effective way to implement a caching system in Silverlight (MVVM) RIA
by ergohack
Here is a trick to create a Visual Studio solution that simultaneously builds multiple platforms for targeted projects.
by Tyronne Thomas
Calculating hash values in Windows Metro style applications using C# and .NET 4.5.
by perspolis
Calculating permutation in a non-recursive way
by Houssem Dellai
Developing a Windows Phone app step by step
by Praveen Chandran
This tip describes how to call a webservice using JavaScript and also calling that webservice in a regular interval of time without doing a postback in the page.
by Abhay giri
Here we see how can we invoke other orchestration by using Call orchestration shape
by Ankur .K. Vishwakarma
Calling server-side code from client-side using JavaScript and TextBox's onblur event
by Bob Stoom
New drag-and-drop intuitive engine on the OCR MODI base
by _Flaviu
A class designed to connect to a database through ODBC and perform basic operations such as inserts, updates, and deletes
by Andrej Kamikovski
How to copy files to central place set in configuration or setup directly with visual studio build task
by milkboy31415
This code transforms rotations and vectors between reference frames such as Unreal, 3d Studio Max, etc.
by Shemeer NS
Changing Visual Studio 2013 CAPS Menus to Normal
by Tejashwi Kalp Taru
Ever wanted to change the Windows Aero color without restarting the DWM?
by Surjit Singh Dadhwal
This post will help you to resolve problem of checking maxlength of Multiline textbox (Internet Explorer, Chrome & Firefox)
by SergVoloshyn
Main program for testing modem or GSM phones by AT commands, use only standard classes and libraries.
by Cinchoo
Simple and easy to associate file types to an application
by rodrigo diniz
A small class that transforms the contens of an OFX file into a DataSet.
by Rixterz123
How to get text to show perfectly clearly on Aero glass
by Dinand.dotnet
Use Git with cloudforge, and switch from SVN to Git
by Andrew Rissing
How to get that last little nagging line to be covered...
by 2irfanshaikh
VS 2012 Professional or lower versions do not have the Code Review module. To achieve this, I came up with a solution which will add a new work item type in TFS 2012. We will also learn how to create a new work item type in TFS.
by Matus Kovacik
This component allows to overlay grid with colored blocks spanning across multiple columns.
by Wu Yehao
A ColorSelector control used in GIS Applications, with a menu button for displaying
by Ahmad A.A. Ahmad
Combining MDX with T-SQL in One Result Set for SSRS (Hybrid Query)
by Physlcu$
A custom ComboBox that supports live filtering of items by Substring-Search or any other Lamda-Expression
by Anshul R
Shortcut for Commenting
by Chris Jorna
Source code and demo on general TCP client & server library mainly usable for / tested on SICK lidar devices
by Rijwan Ansari
How to compare two databases using SQL Server Database Project (Template) available in VS.
by Peter T. Ringering
A complete replacement to Microsoft's Date/Time Picker control.
by Karl Tarbet
Complex math library for C# and VB.NET
by Jose Xavier
VB Function to Comput Easter Date
by Kamran Bilgrami
Effective way of debugging by taking advantage of some not well-so-known features of Visual Studio
by _Groker
Code for summing by group in a RDLC report
by Bikash Karmokar
Connecting Windows Form Application With ADO.NET in C#
by Dustin Halstead
Hark back to the days of text based adventure games, and simple PC, speaker sound.
by aaverian
A very simple console progress bar.
by Sandeep Singh Shekhawat
This tip is about the Constructor Dependency Injection Pattern Implementation in C#.
by Dominic Burford
Consuming / displaying an Atom feed on an ASP.NET web page
by RalphZero
This is a simple example of an Ajax-Enabled WCF Service (hosted in IIS) that can be consumed by both client-side and server-side code.
by Rocky R. Fernandes
Accessing Json Data across different domain using JsonP to get arround Security warning
by Jules Harcourt
How to use the excellent Holiday web service in VB.NET using VS 2010.
by #realJSOP
Control resizing is a bit more mysterious than it might appear at first glance.
by T.Umarani
Control Visual Studio startup time
by rld1971
Adding a physics engine and investigating other .NET tools
by Anshul R
The Perfect Translation/Conversion of Code
by Frans Jan
This article shows how to save a Windows Form to a PDF file.
by El_Codero
Convert doc/docx documents to pdf with Foxit Reader Printer. Works without use of Word Interop/SharePoint.
by Kuv Patel
Convert JSON to C# classes in Visual Studio
by Normz Antonino
This tip shows you how to convert numbers to words neatly.
by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
by User 4838655
A simple utility to convert VS2008 .msi to WiX project
by jansok
A tip on converting multiple image files (BMP, PNG, GIF, JPEG, TIFF) to single or multiple PDF
by ShrutiASharma
Utilizing SharePoint Client Object model to copy files with versions from SharePoint 2010 site to SharePoint 2013 online site.
by Matt Perdeck
Sometimes we need to share JavaScript, CSS or images files amongst several web applications. This post shows how to do this using Visual Studio's linked files feature, combined with a simple MSBuild target to ensure the shared content files can be found by the browser.
by SaahilPriya
The sample demonstrates how to count the number of OLE Automation Objects running at a particular time.
by Tyronne Thomas
CPU usage with C#.
by Nosey Parker
Crafting on hex string
by Nadun Liyanage
This tip describes creating a user control to display a drop down calculator that pops out like the DateTimePicker in Visual Studio
by Ravi Rachchh
Create and deploy custom timer job definition programatically in SharePoint.
by Ruzli999
How to create Animation using separated Images
by ashkanpower
How to create Crystal report document dynamically from a list of objects in applications without database
by Paulo Zemek
Avoid generating strings as templates. Avoid the complicated FrameworkElementFactory. Create templates that use a delegate to create new instances, so you can use normal code to do the job.
by senthill
This article describes how to create deployment package for sharepoint 2013 project using using visual studio
by Noble KC
Floating/Sliding Menu or Panel in C#.NET
by brpulsani
How to create folders using data from Excel file
by Fahmi Noor Fiqri
Create PDF from Image files using VB.NET and PDFSharp library.
by Yaseer Mumtaz
This tip contains securing Web or App config sections in C# with code snippets.
by User 8388951
In this tip, we are going to create an activity that can send an e-mail message to a target user.
by Prakash Lekhak
We will create a Table and Stored Procedure in Sql Server 2008R2 and data will be inserted and retrieved by using Asp.net using C#
by Saranya Mahesh
Upload PDF, save file name to database, save pdf to a folder, create a thumbnail image of pdf and save it to a folder, and also save the image to database
by Zain Nisar
How to create visual states and what is state group?
by OriginalGriff
Quite often, when I create a new form, the first thing I need to add is an OK and a Cancel button. Recently, I realized that I could create templates for these in Visual Studio and save some time.
by piyush_singh
How to create your first MVC project in Umbraco
by TechKidd
This trick is on a intermediate/advanced level.
by Abhijit Ghosh (Subho)
Creating a Issue in Jira using Rest API and Microsoft XML Core Services (MSXML)
by tSlappy
Creating an installer for Windows (Desktop) application in Visual Studio and Inno Setup
by Abhijit Ghosh (Subho)
This is an alternative for "Creating a Issue in Jira using Rest API". This is an upgraded version as it contains a way of sending attachments with the issue. This version doesn't use MSXML as it is not recommended by Microsoft.
by B. Clay Shannon
The easiest way to create and use code snippets in Visual Studio
by D Sarthi Maheshwari
A suggested solution to create serializable Partition based ConcurrentDictionary (reducing chances of OOM errors, reduced memory consumption and adding capability to hold bigger KVP set in Dictionary).
by Akash Gutha
Code snippets are automatic code generators that can generate code with just a unique string and a tab press.
by Pete O'Hanlon
If you want to create MSBuild files, and only have Visual Studio solutions, take heart - there is a trick that will help you out.
by D Sarthi Maheshwari
A suggested solution to create Partition based Dictionary (reducing chances of OOM errors and adding capability to hold bigger KVP set in Dictionary).
by Chrene91
A tip to fellow programmers developing in the .NET environment
by Indresh_Prajapati
This tip will help beginners to implement CRUD operations in ASP.NET MVC 4 with scripting language as KnockOut and Database as MS SQL 2008R2.
by Kerem Kat
Compile and run CUDA 3.2 projects from VS2010 in 9 easy steps
by Palash Biswas
However, if you want to show VS2008 to display your custom DLLs within in the list maintained by the Add Reference dialog, all you need to do is place a copy of the DLL within the PublicAssemblies folder located under C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE. Once you have done...
by DaveAuld
Here is a lesson I learnt while working with custom application settings in XML files and Visual Studio
by Sreedhar Puligundla
Creating custom control for gridview paging and page navigation
by Bob Stoom
Working code of the custom MenuStrip on the LinearGradientBrush constructor base. And how to control Form without borders.
by Pranav_
Create DLL to draw your own message box
by Aliaa Ezzat
Custom paging control for repeaters
by Sean Chung
In this tip, I'll show you how I make a replacement for tooltip
by DiponRoy
Custom Seed Serializer for Entity Framework Code First C#
by Kishor Deshpande
Methods which facilitate the conversion from string to value type
by paul1167
A Skeleton of a Single File Generator: Create, Register, Apply
by jnegron215
This tip will describe how to add a new Panel type to a customized version of the bootstrap framework.
by VaibhavTiparadi
Quick and easy way of customizing the WIX Installer
by Kunal Chowdhury «IN»
Here is the alternate URL of the Tips (from where it has been copied fully): Tips and Tricks: Customizing Visual Studio 2010 Start Page[^]
by Gihan Liyanage
Simple Dapper.NET Example with MVC
by DonWim
how to implement data validation via regular expressions in a WPF application
by databaseobjectmodel
A Sample ORM project
by Weberto.com
Event to delete rows by selected cells.
by MarioRainer
Here is a simple way to sort the datagridview by Multi-Columns
by Jαved
DataGridView: Make Enter Key Move to Next Column
by Abdul Ahad Monty
Convert DataTable to List using Generics.
by Kamran Bilgrami
How to remove datatips if you want to view code at the same time
by Amol M Vaidya
A simple Data Connection Library to avoid rewriting code when the DB changes
by Member 7961821
Life debug plug-in of non debugable host
by Yochai Timmer
Debugging C++ projects in release. Finding the lost object information
by Markus Kühter
How to Delete Columns in a DataGridView
by Rafael Leal da Silva
Hello my friends.Microsoft is providing a test in prometric of NET 4.0, free.It is free!!!!Schedule your exam in prometric.In the link below, you find the code of...
by david pretham
Windows Native API application
by Alon Lek
Running tasks in parallel while taking into account the dependencies between them
by Jean Paul V.A
Deploying a Workflow as a WSP file.
by Vinoth Kumar J
Designer debugging in WinRT
by Hassan Mokdad
This is a just a small tip to show a simple way of designing the user interface of Windows Forms for Desktops applications.
by BillWoodruff
An interesting change in behavior in VS 2010 Pro ?
by Ivan0001
You have too many icons on your desktop? Well, this will solve your problem. With this program, you can organize your desktop, create categories and add programs/documents to category.
by JRCoderMan
Detects a double-click via an initial and subsequent OnMouseDown event
by Shivachalappa Gotur
Detecting USB Modem Device using C#.NET
by Muhammad Muddasar Yamin
This tip is about the development Leap Motion integrated Windows 8.1 metro apps using C#
by AfnanMof
Steps How to Develop Sharepoint Windows Forms
by slaon77
Setting APM level for SATA hard drive
by jarvisa
public void ControlStatus(Control control, bool isDisable){ foreach (Control c in control.Controls) if (c.HasControls()) ControlStatus(c, isDisable); else { WebControl wc = c as WebControl; if (wc != null) ...
by PSU Steve
You can just use "not IsDisable" versus the IF...ELSE block. Additionally, the recursive call to ControlStatus should be done all the time so that the parent control is enabled/disabled along with the children. // to enable\disable the control & its child controls public...
by a_pess
Alternative For VB.NET Windows Forms Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean) Me.ControlEnabled(ctrl, isDisable, True) End Sub Private Sub ControlEnabled(ByVal ctrl As Control, ByVal isDisable As Boolean, ByVal allowRecurse As...
by sathya4260
Tip to get the line number in Visual Studio
by Henry Minute
I know that some people like to have line numbers and it is particularly useful if you are sending code to somebody else, like posting it on CP in Q&A when asking for help with a problem, for example. In cases like that, it is much easier to say "the error is on line 123".However, I don't...
by fmsalmeida
Using configuration files in DLL is not trivial, but is very simple.
by lewax00
Unless I'm misunderstanding something, you can just go to properties for the project, Settings tab, and click "This project does not contain a default settings file. Click here to create one.".
by Jose A Pascoa
Part 1 - Using DMath from C#
by Tyronne Thomas
DNS resolving and parsing IP address in Metro Style applications (WinRT).
by Joshi, Rushikesh
You learn how to create your own Code Snippets and publish them to your Team to use them.
by Dave Clemmer
Using XUnit.net to develop some unit tests, using Fact and Theory form of testing, including happy path tests and tests expected to throw exceptions
by Sujith Karivelil
This article Describes Connectivity to Gmail using IMAP, and also guide you to download and save mail content along with attachment.
by Vincenzo Barone
This tip shows how to make a multiple controls drag effect in winform.
by Biruk Abebe
How to completely take control of drawing a custom application window including the captionbar, menubar, toolbar, borders and statusbar in MFC Single document interface (SDI) applications using the MfcSkinSDI class.
by Sunil_Sebastian
Duplicate Notifier for a List using ObservableCollection.
by Member 10872251
Cascading DropDownList in ASP.NET MVC
by ss9o9o9o
Transferring backup files from a remote SQL Server and Dynamic SQL Connection with Restore utility.
by Sebastian Sosna
A simple program which lets you browse containers of your Active Directory
by Randy Kroeger
Created a POC that dynamically builds a predicate using Expression and Reflection.
by Member 12032084
.dll for making the FTP management with VB.NET easier
by Michael J Hill - OH
Create a Windows desktop app to display daily web stats from your personal site
by metastruct
SFTP Files using PLINK as a process in C#
by Prabakaran T
If you often use removable USB devices like a flash drive, you are probably already familiar with the “Safely Remove Hardware” icon that sits in the system tray. The problem for many people is that the icon is tiny, and clicking it just right to bring up the menu is a pain.
by koolprasad2003
This tip explains how to use Word Automation using OpenXML and C# without Word Interop.
by agent_kruger
There is usually a mis-conception with people thinking "DataGridView Cell.Value" gets the current value of the cell in datagridview. This article will tell you the difference between "EditedFormattedValue v/s Value in Datagridview".
by Miller Nguyen
This article will show you how to implement a complete solution of electronic signature by using HTML5 canvas in ASP.NET (VB).
by Emiliarge
Simple WebBrowser (IE) class in Pure C++
by The Myth
Embedding Chrome in a WPF VB.NET application using CEFSharp
by Yamin Khakhu
Encrypting the configuration in Web.Config
by jroughgarden
This is an alternative for "Encrypting all Stored Procedures of a Database".
by qadirv
Quick C# console application to encrypt all your database stored procedures
by Farhan Ghumra
Encypt and decrypt StorageFile in Windows Store apps.
by shouvith hydrose Kerala
This tip will explain how to convert English language to Arabic language in Windows Forms C#.
by Jack Ross
A nice CLI for managing the BMC trouble ticketing service
by Daniel Miller
This tip provides a simple solution to automate the generation of entity and mapping classes for Entity Framework.
by Wael Al Wirr
PostgreSQL exception 42P01
by Rakibul Islam 33
In this tip, we will try to understand SOLID Architecture principles using simple ASP.NET MVC 5 examples.
by DiponRoy
How to handle database scheme changes with normal SQL scripts, without migration in Entity Framework code first
by Valentino_Lokesh
Migrations enabled in Class Library (Data Access Layer) and the same is referenced to MVC ProjectNo need to maintain the Data Access and Model classes in the MVC Project. We can have separate Class library for Model and Data Access and have migrations enabled in Data Access where DbContext resides.
by Christopher R Davis
Use model driven development with a MySql backend
by Debopam Pal
How to bring data from Entity model to Excel file using LINQ.
by ehab_nour
Processing SAP generated Excel file as a report to get some information
by JakeG
WIX template for wrapping EXE with a MSI installer for easier deployment with group policy
by JRINC
Connect to remote socket via System.Net.Sockets.Socket.Connect method with timeout controlled by System.Threading.Timer
by K Barakathulla Khan
Programmatically connecting to AS400 and executing commands
by AshishShukla6
This tip describes step by step implementation of executing stored procedure having user-defined table type as a parameter in entity framework using EntityFrameworkExtras package.
by Santhosh Kumar Jayaraman
This is an alternative for "Export DataTable to Excel with Formatting in C#".
by JatinKhimani
Export Gridview data in Excel formate with gridview design.
by Yuriy Anisimov
Expressmapper - lightweight, lighting fast and easy to use .NET mapper
by Md Kamruzzaman Sarker
Bookmark extraction from PDF files and showing it in a treeview.
by moneema14
A parser event listener for PDF tables to .NET Dataset object
by Vipin_Arora
It is a tip to implement Facade design pattern in c#
by Dejan Mauer
Probably the easiest way to detect faces in images by using Accord.net framework
by pavan1361
adding require blocking site in hosts file
by LORY Flavien
Fast detection of big barcode 39
by Ștefan-Mihai MOGA
A quick solution to transform binary data to plain text
by Jose Segarra
Fast, really fast, import/export from Excel OOXML
by Palash Biswas
Use Expression += Value instead of Expression = Expression + Value. Since Expression can be arbitrarily complex, this can result in lots of unnecessary work. This forces the JIT to evaluate both copies of Expression, and many times this is not needed. The first statement can be optimized far...
by ProtoBytes
A better method of finding solutions to problems like this is to use a tool to decompile the IL which is assembled .NET. The tool I recomend is LINQPad; which features a lambda button which will decompile the sample code fragment being analyzed.To further your understanding of such...
by Asif Bahrainwala
FFT using DX11 compute shader
by ZamirF
Can we simplify it by: (This essentially passes only two numbers). public int GCD(int value1, int value2){ int max = 0; bool gcdFound = false; int counter = 1; //Make sure both numbers are atleast 2 or above if (( value1 <= 1 ) || (value2 <= 1)) return...
by jfriedman
/// /// Find the Greatest Common Divisor /// /// Number a /// Number b /// The greatest common Divisor public static long GCD(long a, long b) ...
by Mauro Leggieri
It is better to do this:public static long LCM(long a, long b){ return (a / GCD(a,b)) * b;}To avoid overflow on big numbers.
by Burhan Joukhadar
Fortune Voronoi Diagram in C#
by Rui Jorge Carvalho
Fast and simple Bitmap processor...
by Leon van Wyk
Send faxes with C# using Win 2k or XP
by David Vanson
How to make a video converter that shows the conversion progress to the user using ffmpeg
by Ajay Bachale
MVC3 Role base security.
by Fabrizio Stellato
Simply search data in file
by lusgon
Uploading a file using WCF REST API and JavaScript
by Kamran Bilgrami
Effective way of debugging multi-threaded application in a multi-project solution
by AmitGajjar
Application for seaching similar kinds of files in different folders.
by Abhinav Sultania
How to find IP address of machine in metro App(Windows 8)
by Ștefan-Mihai MOGA
How to find a substring in a text, forward and backward, with Case Sensitive and Match Whole Word options.
by Marc Koutzarov
Sometimes, it is useful to know if an object has a certain property and then fill it by only having the propertyname as a string at hand.
by Jose David Pujo
Sometimes we spend a lot of time opening - closing folders trying to find .cpp / .cs / .h files in the Solution
by Saikumar Koona
Finding assemblies loaded in the current AppDomain.
by Roger65
Find file or use wildcard i.e. dlg*.h, or *.*
by Yuri Heymann
Source code for the article titled "A Finite-Difference Model for the Thermal History of the Earth
by dgDavidGreene
How to find and link config and other files from other projects within your solution.
by Farhad Reza
This tip describes the use of GDI+ with F# language through Flag design.
by Prabu ram
This is a logging component enabling extended logging and multiple targets
by Muhammad Aqib Shehzad
Forgot Password and Email Check from Database
by Assil
This post demonstrates the simplest use of OWIN with ASP.NET. It will not teach you OWIN nor Claim-based auth, nor design or security.
by Francesco Cariaggi
Analyzing the Lazy Loading design pattern.
by D. Infuehr
How to download historical raw stock data for each symbol traded at nasdaq and nyse.
by Juan AG
Create a dll wich uses MFC statically linked and allow you to call normal methods, static methods and global variables, quick an easy
by wendas
This shows how to use the new async logic to read/write, and upload/download text files in Metro apps.
by Amal Nanda
Fun with F#F# (pronounced "F sharp") is a functional programming language for the .NET Framework that combines the succinct, expressive, and compositional style of functional programming with the runtime, libraries, interoperability, and object model of .NET, that lets users concentrate on...
by Søren Gullach
Fuzzy lib that have a GUI and uses Lagrange for member curve generating
by m_sylvain
This tip shows how to build an FxEngine plugin to stream video data from a webcam
by Rahul R Shanbhag
This tip explains how we can make the Git pipeline fail when the Sonarqube quality gates analysis for the corresponding branch fails.
by cdp_anhui_china
A special debugger to detect and locate GDI leaks, with source code.
by Southmountain
Gems for typedef and namespace in C
by lidialee
I have a report which can be viewed in Crystal Report viewer in VS. Client needs to generate a PDF file with a click of a button and the PDF should pop up upon finishing exporting and let the client decide where to save the file.'vb.netImports...
by atverweij
The last part can be written much easier in VB:Private Sub msGPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles msGPDF.Click Dim Stream As IO.Stream = objRpt.ExportToStream(ExportFormatType.PortableDocFormat) Dim Buffer(CInt(Stream.Length)) As Byte ...
by Joshi, Rushikesh
How to Generate Sample XML from XSD
by Ștefan-Mihai MOGA
How to get temporary files with any extension.
by Md._Mehedi_Hasan
This tip will help you to generate .xml file in AngularJs and ASP.NET MVC5 using XElement of C#.
by Vlad Neculai Vizitiu
How to generate breakpoints
by PIEBALDconsult
This is an alternative for "C# Convert DataTable to List of Objects Dynamically"
by Krishnan Srinivasan
A Generic Extensible Async Factory
by Loay Al Lusi
Genetic Algorithm is used to search for maximum/minimum value of a given function using the concept of chromes and genes.
by pdoxtader
Use DeviceIoControl, QueryDosDevice and WNetOpenEnum to get information about your system.
by senguptaamlan
Getting Assembly full name from Visual Studio
by TheyCallMeMrJames
Windows 7 introduced Pinning and Jump lists, two features that, when combined, let you get at your most recent projects quickly.Visual Studio 2010 is also smart enough to differentiate between files, projects and solutions, only displaying the bigger-picture items in the jump lists.To...
by dontumindit
Communication with database in .NET is easy but sometimes one gets stuck by wrong format of connection string
by jim lahey
Or you could just pop over to:http://www.connectionstrings.com/[^]Use the exhaustive samples they provide and not hard code your connection strings by using a standard .NET configuration file:http://msdn.microsoft.com/en-us/library/1xtk877y.aspx[^]
by bipin9
goto Server Explorer right Click on DataBase Click on properties in properties window you will get Connection String copy it & use where you want use !!
by crocks256
The ConnectionStringBuilder classes in .NET can be quite handy...http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.aspx[^].
by MikkelAndersen
I get it from the web.config via ConfigurationManager.ConnectionStrings;This makes it possible to keep all connectionstring settings in the web.config file.For example: http://www.dreamincode.net/code/snippet1676.htm[^].
by Nosey Parker
How to calculate subnet fast and get active ip-addresses
by OriginalGriff
Getting started with GIT, Visual Studio, and BitBucket isn't difficult - but it can take a bit of working out. Here is a simple explanation of what to do to get a new project under source control.
by Mark Pelf
An overview and comments on a new feature of VS2022, v17.3.0, Git Line staging
by Vipul Bhatnagar
Create a multilingual application WPF
by Sa Sha
Implementation of GMDH algorithm, using a sigmoid function. C++, VS, AlgLib-based
by mparvez
Google Map with JSON
by Komail Haider
.Net control/wrapper for the Google NEW ReCaptcha API 2.0
by Royston Malcomber
Setting up Google reCaptcha version 2 with MVC5
by Abdur Rashid
How to handle CSS file with Visual Studio 2012
by Asad Bukhari
This tip explains simple steps to define XML DOM against XML document. This way, you can easily manipulate XML document as simple class objects.
by Sujith Karivelil
This article will help you to create, update and delete events/ appointment in google calendar from your web application.
by Afzaal Ahmad Zeeshan
This tip is for WPF developers, understanding the usage of lambda expressions for handling the events instead of markup based or function based event handlers.
by HP2M
This tip covers handling two Excel lists using Interop.
by sreeyush sudhakaran
Application to add a file header comment at the start of every human-created code file
by pasztorpisti
How to create your first DLL without coding too much... :)
by Dean Oliver
How to hide Intellisense info to view code.
by atlaste
How to fix hiding controls in the Visual Studio user control designer
by Pikoh
A simple method to join several images in a single file and recover them afterwards
by Bikash Prakash Dash
How to highlight search text in a search result using ASP.NET
by Math08avan
Hosting WCF Service - Self Hosting
by Md. Marufuzzaman
For programmers it is more important that you identify whether you are allowed to do something.
by Sergi Ortiz Gomez
Quick tip for capture ENTER key in a Windows Form combobox
by RemcoReitsma
This tip shows how you can add an XSD schema in Visual Studio to enable XML intellisense.
by B. Clay Shannon
Step-by-step instructions and demonstration of how to add functionality to a WebPart's built-in Editor
by B. Clay Shannon
Set up hotkey combinations to insert characters you specify, such as accented characters or other "special" characters, into a textbox
by Soufiane Rabhi
C# Facebook SDK
by Henning Dieterichs
This tip shows how to change a WSDL-file to avoid the SFxCannotImportAsParameters_DifferentWrapperName-Exception, which is thrown when importing the WSDL-file in Visual Studio
by Shridhar Gowda
This tip will give complete knowledge of how to change master page, render controls and accessing its eventhandlers @ runtime.
by John Melling
This is a simple program that demonstrates a method used to adjust the screen brightness on any C# application.
by Snesh Prajapati
I found that changing targeted C# version for a project in Visual Studio is bit tricky. And even if you choose old .NET framework version, Visual studio will use default C# version to compile C# code, until you explicitly set the targeted C# version.
by Shai Raiten
About changing the Visual Studio Default Editor
by Syed Moula Ali
How to compare database schema in VS 2012 and how to update the target database to the server
by infal
How to establish a connection to server running in Android emulator
by Alberto M.
How to control TP-Link Smart Plug (HS100 or HS110) with C#
by B. Clay Shannon
Replacing accented characters in a text file with their HTML code equivalents
by Nguyen.H.H.Dang
This is a dirtiest trick that shows you how to convert text between Romaji and Hiragana/Katakana
by Michael Rosqvist
A small sample showing how to create a Google Heatmap in ASP.NET/VB.NET
by W.Walker
It presents step-by-step how to create an advanced multi-level VoIP IVR in C# in order to extend your basic menu system and to improve your whole customer service.
by Mark Springer
Allow navigation - forward, backward, branching, and loops with a few changes to your existing projects
by Houssem_Dellai
This short tip will show you how to create a project template for Visual Studio and make it available for any VS user.
by Manish_Kaushal
This tip provides a quick starter guide to create a RESTful JSON service in WCF.
by Noble KC
How to create a Simple Expandable / Collapsible Menu Panel for Windows Forms in C#.NET
by Oliver_Hart
I’ll show how to record audio and video stream into MPEG-4 file format by using C# to be able to save and store what happened in the area that is under video surveillance.
by basilke7007
How to create rounded edge button (rounded corner button) in Winforms
by Rijwan Ansari
Learn about SQL Server Database Project (Template) available in VS
by supreetph
Creating and consuming WCF
by B. Clay Shannon
CRD Operations (there is no "Updating" method shown, so crud, it's not CRUD) with Sharepoint 2010
by Leo Chapiro
This tip shows how easy it is to debug the VBScript by using Visual Studio Debugger
by frankvdhorst
A quick way to add a toast notification to uwp applications and remove when the app closes...
by OlegKrivtsov
Some tips on available ways of distributing CRT DLLs with your Visual C++ application
by Lai Taiyu
How to do simple image binarization?
by Lai Taiyu
A simple ordered dither algorithm (Half-tone image)
by Juan AG
Let´s do unit testing in a C++ project inside Visual Studio 2015 quick and easy
by B. Clay Shannon
Use C# and jQuery to control the visibility of a section of a Web Part or Web Page
by _Noctis_
How to use Sublime text editor to help with your VS development
by B. Clay Shannon
Easily Test RESTful Methods with JSON.NET on Windows Forms
by Lai Taiyu
To establish a reservation of classroom web system using ASP.NET
by Ed Nutting
How to fix LocalDB / SQL Server: "Cannot open database "XYZ" requested by the login. The login failed. Login failed for user ABC"
by KazMaxLtd
This article describes how to hide or show TabControl tabs at runtime
by Bernhard Hiller
That's far too obscure.All you need to do is store a reference to the TabPage instance which was removed from the TabPages collection of the TabControl. You may use the form where the TabControl is placed for that purpose.You could also create your own TabControl which has an extra property...
by Aydin Homay
In the tip, I want to illustrate how to host windows form in windows user control
by Amit KD
How to identify if the executable is 32-bit or 64-bit
by B. Clay Shannon
Insert missing spaces following punctuation marks
by karimbaig5
This tip provides an idea about how to insert a record into a table having no primary key using LINQ to SQL.
by B. Clay Shannon
Inserting spaces between words using C# and the DocX Library
by B. Clay Shannon
Easily (and elegantly) inflate objects based on args passed to a REST method in a URI
by yosonwan
Sometimes we need to kill a process programly. This article talk about how to get process array to process name and filter it.
by Puresharper
Visual Studio is a nice IDE with a lot of features. One of them is an ability to launch multiple instance with different configuration.
by B. Clay Shannon
How to Limit TextBox Entries to Decimal or Integer Values in Windows Forms with C#
by Md. Marufuzzaman
Introduction How can you lock your Windows NT based Workstation programmatically? To do this, you just need a little basic knowledge on how to use user32.dll. Here you will find a function name as LockWorkStation() and you need to know how to call this function. A sample example with the...
by Lai Taiyu
How to make a clear color image (Histogram Equalization)?
by Lai Taiyu
How to make a clear gray image (Histogram Equalization)?
by Vidor
How to make a MS Report using several datatables.
by Nguyen.H.H.Dang
A simple draggable-resizable TextBox control inherited from RichTextBox
by Georgeutc
Adding sliding functionality to UWP XAML SplitView
by dimpant
Learn how to properly use the NotifyDataSetChanged method of the ListViewAdapter to remove items from a ListView
by Abhishek Kumar Goswami
I came up with this article where I can describe how we can create minified version of our js and css file.
by B. Clay Shannon
Pass a long string to a Web API method (not as part of the URI query)
by Ricardo R Carneiro
In this tip, I describe how to post/send data of a table (or list) of HTML for a LIST/ARRAY in C#.
by B. Clay Shannon
Simple way to warm boot a Windows CE device
by Laszlo Voros
How to really clean your Visual Studio Solution
by adriancs
Discovering MySQL Website Configuration Tool on Visual Studio 2010
by Infoteam SA
Editing a Visual Studio solution file
by Tarun Dudhatra
How to Remove Dot signs viewed instead of spaces (White Spaces)?
by B. Clay Shannon
Make sentences having one and only one space between them
by B. Clay Shannon
Replace words in .docx files using the DocX Library
by TheKarateKid
Shows how to restrict and format the dates on Microsoft AJAX Calendar Extender...
by B. Clay Shannon
Save Excel (or other types of) files to SQL Server, then read them out again and make them downloadable via a link on an ASP.NET Web API page
by tamash_ionut
How to select a block of text in Visual Studio
by B. Clay Shannon
Sending commands in a Compact Framework app via C# to a Zebra QLn220 printer
by Shivi Gupta Lucknow
Here we will see how to send user name from a login page to the welcome page using $.ajax() method.
by Ajcek84
How to properly sign ClickOnce deployment in a way that actually works
by Shridhar Gowda
This tip will explain how to sort a table / GridView on an ASP.NET or MVC(AngularJs) application. I am demonstrating both client side and server side sorting. I am sure you will have a great knowledge on this topic after reading it.
by blitzkrieged
This is a demonstration of splicing an animated GIF (or any image) frame by frame without having to write to the disc.
by B. Clay Shannon
An easy method for slicing long strings into "bite-sized" portions for episodic (serial) display
by PIEBALDconsult
This is an alternative for "How to Split Long Strings into Manageable Portions and Display them in a MessageBox"
by B. Clay Shannon
Step-by-step instructions for an easy way to use any color in a C# app
by Puresharper
A simple library can allow you to introduce Aspect-Oriented Programming without any difficulty
by TheKarateKid
Shows how to use simple ASPX page to return JSON or XML response
by Shridhar Gowda
This tip will give you a knowledge of how to implement form authentication in classic ASP.NET and ASP.NET MVC. I am sure you will have considerable knowledge after reading this tip.
by hagerAly
This tip shows how to debug a Sharepoint 2010 custom web service.
by Kanasz Robert
How To Measure execution time in C#
by Member 7709321
Here is a useful generic class you can directly use in your project.public class Timer{ public static readonly bool IsHighPerformance; [DllImport("Kernel32.dll")] private static extern bool QueryPerformanceCounter(out long lpPerformanceCount); //Retrieves the current...
by spot9969
Please try this method to get execution time. I'm not sure that it is very accurate.public static TimeSpan GetDuration(Stopwatch sw, ThreadStart method){ sw.Reset(); sw.Start(); method(); sw.Stop(); return sw.Elapsed;}you can put it into any common static class and use as...
by BenScharbach
How-To Convert a String Collection to a Multi-Enum item using TryParse
by trident99
The HPC Template Library is a supplement to the Standard Template Library providing threadsafe containers.
by Ahmed Ali El-Sayed
C# DLL for use it in .Net Applications, you can convert it easy to any code
by Gaurang Majithiya
Usually, you will see this error when you run your project from Visual Studio. This error itself says that it's a start failure while running your project from Visual Studio.
by Neil Cross
HTTP library class for easy downloading files via HTTP.
by Carlos Leyva Pena
How to use Application.Idle event in C#
by Rajesh Buddaraju
A simplified example is used to describe the state pattern
by VaibhavTiparadi
Re-sizing images to equalize the width & height
by Muhammad Muddasar Yamin
This tip is about making images animation for Windows Phone 8/8.1 using Storyboard class in C#.
by TheCardProject.co.uk
Quickly set up the ability to serve up several pages and record which was served in SQL Server
by Aditya-Sharma0712
How to set classification label to an Excel/Word/PDF file at the time of its creation during runtime programmatically
by A. Ganzer
Using snippets to create a full and correct implementation of complex interfaces
by sudheer mattapally
How to import data from Excel to SQL using SSIS 2012 Dynamic Configuration
by Ajay Vijayvargiya
Unlike previous version of Visual Studio (2005, 2008), which used to display inactive code block in grayed mode, the new version - VS 2010 - would display them in faded down color (core colors will be preserved).For example:#ifdef _DEBUGvoid CClass::AssertValid(){ ASSERT(this); ...
by Albert Holguin
The vc compiler and intellisense don't look for pre-compiled header in a similar manner, this is a summary of the issue along with workarounds
by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
by mimtiyaz
Insert and bind records from a dropdownlist using AJAX UpdatePanel
by B. Clay Shannon
Yet another docx tip - insert spaces between lowercase and uppercase chars
by Debopam Pal
Export Advanced Excel 2007 Report
by Umer Qureshi
This tip guides you on how to install and integrate Windows 10 Development Kit in Visual Studio 2015 for universal app development.
by Yvan Rodrigues
How to install the WTL Wizard for Visual Studio 2010.
by ely_bob
Installing Windows Identity Framework
by chait301
Custom output files in installer.
by Kamran Bilgrami
How to instantiate objects without stopping your debugging session
by TANMAY N
How to Integrate Google map in VB.NET without using any API in VB.NET Windows application
by Fredrik Norén
Introduction I...
by Parthasarathy Mandayam
Intellisense is much faster and more intelligent in Visual Studio 2010. It is actually 2 to 5 times faster than previous versions. The IDE will now filter your intellisense as you type.Let's say you want to create an instance of "WeakReference". Just type WR and the IDE will prompt you with...
by Frank T. Clark
A simple class for abbreviating integers with SI suffixes common in computer use.
by flyhigh
SOUI is a directui library and had been used in many commercial softwares, which is published based on MIT and is completely free to any user.
by sankarsan parida
This topic for clear description about all types of TextMode behaviour of textbox properties.
by ugavnholt
How to invoke foreign remoting interfaces in remote hosts.
by Syed Ubaid Ali Jafri
Non Printing Characters are invalid when placing it in URL field. These characters may include &, ^, % signs, etc. most Web Platforms somehow have ways to encode and decode this escaped format. This program is design to develop a Logic for Encoding and Decoding the URL, IP Address and HTML Attribute
by TapasU
IsolatedStorage with Log4Net
by Nomesh G
Implementation and usuage of ValueConverter.
by Member 351555
Parse a microsoft visual studio 2008 solution file to create a project dependency graph
by Rakesh Ku Nayak
A new plugin named jGrid to display grid with pagination and sorting functionality in an easy way
by FrankNight
In this tip, I show a set of helper classes useful to prepare and send messages to the SqlXML Joomla component and execute remote SQL calls to your hosted website.
by Dinand.dotnet
How to easily run a function in C# from the view using ajax/jquery
by Jung Hyun, Nam
Introducing NConcern, a free open source compile-time AOP framework
by Kamran Bilgrami
How to display only threads related to your application in Threads Windows
by Tarek Elqusi
Using the MainWindowTitle property to close a running program by killing the associated process.
by SergentMT
Tool for extracting depth frames from Kinect v2 to .mat files, with point cloud generator script. Ready to use!
by SubhamoyBurman
Understand the basics of how iOS applications are constructed and how Xamarin helps you to do so in C#
by furkanavcu
Implement the Levenshtein Edit Distance algorithm.
by dgDavidGreene
Helper utility replaces magic string property names.
by maximaximum
The article describes how to draw a grid of vertical and horizontal lines in WPF.
by Vlad Neculai Vizitiu
RandomStringGenerator
by Vlad Neculai Vizitiu
LinqPAD Script of the Day: WorldClock
by dontumindit
While dealing with databases, sometimes there is a need to get a list of tables in the application
by Alex Wiese
Monitors log files and displays text as it is appended to the file
by DataBytzAI
Get a quick view of your MVC app as you code
by Nick Yakov
How to can load a structure with unsafe coding and fill the structure using a byte array.
by coffee_machine
A component to add localized strings to a Form's res'x.
by Ryszard Dżegan
How to prepare log4net or other custom, XML-based configuration file for particular build or environment
by Pankaj Choudhary - C++ Devepoler
Logging in C++
by Mohsen Heydari
Intercepting WCF and SOAP services for logging SOAP envelope
by shunninghuang
Software named M1.NET which shows the details of decrypting arcade game audio
by Andreoli Carlo
In our company, we find ourselves in need of using the internal PC (buzzer) on Windows7 64bit. At the end, we figured out how to do it.
by Brady Kelly
This tip describes how to make the F5 key in Visual Studio execute open SQL queries, instead of starting the project debugging.
by MuhsinFatih
Making a nice tailed round effect
by OriginalGriff
F1 in Visual Studio takes forever, and rarely comes up with anything useful. Replace it with a Google MSDN search!
by MattPenner
Thanks OriginalGriff! This is great and really helped me out. :-D However, for my tastes I like to open the URL in the default browser (currently that's Chrome for me), which allows me to easily open up several tabs from the links or bookmark useful entries.Also, the original F1 would...
by HelenmaryC
I tried to run this the first time without any documents open and it threw an error, so I made a small mod to the original code to prevent VS from whining at me under those, probably limited, circumstances:Dim url As String = "www.google.com/search?q=MSDN"If DTE.ActiveDocument IsNot...
by Henry Minute
I have an alternative Macro which, like the modification from newmodel, only requires you to have the cursor in or at either end of the search word.It also allows for searching from the Output Window and HTML Text.I have to confess that it is not all my own work, although the version...
by Ed Nutting
There is a very easy alternative to this in VS 2010 now :) Go to the Help menu, select 'Manage Help Settings', ignore any error messages ( I get 'You do not have permission to modify content under the location specified for the help content store'). Anyway, ignore any error messages then in the...
by Sergey Alexandrovich Kryukov
Popular question on Forms collaboration, also answered for WPF
by Ștefan-Mihai MOGA
How to get the MAPI server nane
by santosh poojari
We can now set the URL querystring length in asp.net
by LazyCoder0
This article describes how to merge PowerPoint Presentations (PPTX format) and save as PDF in .NET applications using Office Automation (OpenXML SDK).
by User 11310514
Microsoft workflow - antimarketing
by RaviAakula
Web API 2- Basics of Attribute Routing
by zdf
A solution for conversion of a non-undoable application to an undoable one.
by joejames111
Raw input 64-bit .NET classes.
by Stephan Stricker
A Modbus TCP class.
by Mahesh Pachbhai
Model Binder Basics and Custom Model Binder
by ~T~A~B~
Modifed theme color settings for Visual Studio 2012.
by Kamran Bilgrami
How to modify variable values while remaining in your debugging session
by Vivek Krishnamurthy
MPP Viewer is a simple viewer for Microsoft Project files. I works well with 2000/2003/2007 file formats.
by Emiliarge
Queries in Microsoft Access (MDB) databases.
by Ajay Vijayvargiya
I needed a faster way to Sync and see treeview on left in MSDN, for the topic I am browsing - Found a trick!
by Matus Kovacik
Single class encapsulating UDP IP multicasting functionality and exposing it via observer pattern.
by arsser
Choose the UI language at runtime and using XML to save the infomation.
by Chakravarthi Elchuri
Display data in Multi nested gridview using C# in ASP.NET
by Nirosh
VS 2010 allow code files to move outside the parent window and positioned in another monitor that connected to your system. In order to do that you can simply click on a document tab drag it to the new monitor and drop it.
by lally727
Running multiple animations in one WPF XAML
by Kelvin33
A quick and dirty way to enable multi-item selection in listbox and listview WPF controls.
by metastruct
Multithreaded, customizable SysLog server in C#.
by shivendra pratik
Convert an Empty Web Application to MVC Web Application using VS 2015 IDE
by NobsterTheLobster
Implements a taskbar notifier using an invisible window and a popup control
by rolandomontero
MySQL Connector for Visual Basic, obtaining a data table
by BrokenEvent
Simple and fast .NET XML parser without using System.Xml
by BlackMirrh
Sequence Alignment using Needleman Wunsch algorithm in C#
by begeeben
This example demonstrates how to work on mappings with associations for legacy database tables designed purely using multiple primary keys/composite keys.
by Cryptonite
I keep reading articles on the web about how all random number generators on a computer are "pseudo" random, or "deterministic". Here I present an approach for nondeterministic number generation.
by Anthony Daly
Download source - 30 KBDownload library - 5 KBIntroductionThis set of Non-Repeatable Collections has a very simple concept - to only allow one item of each type to be added, meaning that you cannot have duplicate items in the collection.BackgroundAlthough the .NET Framework...
by Eugene Sichkar
Actually .net 3.5 have non-repeatable collection class - HashSet class and ISet interface.
by Brady Kelly
Nuget's Get-Package command truncates some long package names. This is about how to avoid that.
by saddam abu ghaida
This post addresses the possibility to create any kind of object and fill it with random data based on properties data types to ease data creation and inserting it in the database in CRUD application.
by paul1167
Enumerate System Features
by Mostafa Korashy
Taking you through a step by step process of programming joystick with C#
by sajjad kardani moghadam
Octa Tree is a 3D space partitioning algorithm
by Jun Du
I had to create a trivial image button for my Silverlight web site. I Googled the web and got tons of tips and suggestions. However, most of them involve several editing steps through resources, template or style. Some require additional tools, such as Expression Blend. In my...
by Antonio Lopez R
Specific implemetation for Mexico CFDI. others can use as they need
by Magyar András
Almost all of the basic functions of the program(browser, text editor, image editor, media player) that you can associate files with it and open it. I want a simple and effective method to show the arguments (associated files) to open. How to associate files with C# program?
by Houssem_Dellai
Developing the client and server side for a chat application.
by ReturnVoid
Working example: OpenGL CDialog Multiple Context
by KarstenK
Using the Wincrypto in the Windows SDK
by PavyBez
OrderedLock in C# to catch potential deadlocks at runtime
by Leo Chapiro
Outlook AddOn to store the attachments in the file system
by Itai Basel
If your VS debgger is running slow and you checked out all other tips with no help - maybe you unchecked this one and forgot to recheck it after you were done.
by Baliram Suryawanshi
Pass OUTPUT parameter from stored procedure to SSIS Precendence Constraints
by Tom Glick Philadelphia, US
POC to demonstrate passing of collections of complex objects to ASP.NET Web API Controllers.
by shahed.sohail
Passing Parameters to Success method in executeQueryAsync.
by meraydin
A custom dialog that has a password textbox for your VS2012 projects
by RedDk
Use ALT+SHIFT to "block" select text (thinking of justifying columnar relations of words/data/etc. so the visual appearance is perfectly tabular) ... and TAB (TAB+SHIFT to undo) to MOVE SELECTION right (and left) ...
by Aman Thakur
The tip explains how to make recurring payments using the Stored Credit Cards in the Paypal Vault.
by dknyoli
PC Keyboard Layout on Mac OS X
by Anant Beriwal
How to counter crash issue in applications
by Martin Mok
Many drag and drop effects can be simply done by mouse event.
by Alaa Ben Fatma
Surf your PictureBox using scrolling bars
by TheyCallMeMrJames
When you hover over a variable with the debugger running you will see a thumbtack that allows you to pin the variable to the editor window. This is cool for a number of reasons.1) It is much easier to see changes to a set of variables in any kind of a loop construct. You can even pin...
by Ajay Vijayvargiya
This feature may not seem useful initially, and might appear distracting you. But it is one of the very useful (new) features in Visual Studio 2010. You'll love it after using it for a while!While debugging, you typically put some variables in Watch Window (or use Locals, Autos etc). When...
by Tino Fourie
Retain a plotted location on an image while zooming in(+)/out(-).
by Aleksey Vitebskiy
Simple and free Cppcheck integration into Visual Studio.
by Akos Mattiassich
How to make from a simple TextBox an animated eye candy.
by Mack Ait-Aoudia
This article describe a solution to prevent some browser's functionnalities
by Keith Barrow
If you have a Winforms application that auto loads data, there is no doubt that you’ll have come across the problem of data loading at design time (i.e. when opening the code in the designer). At best, this slows the designer down, at worst it might crash VS and prevent the control from...
by Ron Beyer
If you are designing in a WinForms component, which is anything that derives from Control at some point (Forms, UserControls, panels, etc), then you can use the following code:if (this.Site.DesignMode) //Do stuff[edit]The above will throw an exception if Site is not set (in...
by tonyt
Either method is good for testing if you are in the designer, but another problem aside from preventing code execution, is preventing code from being jitted in the Designer. For example, you may reference assemblies or components that are dependent on native code, which cannot be loaded into any...
by Ashoka RKT
How to prevent cutting or copying blank lines in Visual Studio
by Reiss
A handy way to stub methods in development, but preventing them from being shipped in release mode.
by Julien Villers
Nice tip! I'm also a proponent of using your friend the preprocessor to stop you from making big mistakes, along with your best friend, the compiler.You can combine both using this alternative code:private bool ValidateUserDetails(string userName, string password){ //TODO: Default value...
by Sander Rossel
Very nice tips indeed!A somewhat different approach to this might be to use the Debugger.IsAttached[^] static property.Though this works somewhat different.if (System.Diagnostics.Debugger.IsAttached){ // This code executes when starting from VS either in release or debug...
by nijuniro
Hi,I've just got stuck on some problems with CommandEvents, but I managed to find that solution:http://www.dotnetmonster.com/Uwe/Forum.aspx/vs-ext/623/DTE-CommandEvents-handlers-not-working-reliably[^]It says that you must keep the reference for CommandEvents object. It did the trick for...
by Sergey Alexandrovich Kryukov
Shave all you create with Occam's Razor.
by Max Methot
This little simple and easy to read program will help you understand how to print to a specific printer, local or shared on a network.
by Benjamin Lifshitz
With this code, you can print images quickly and efficiently, using the largest part of the A4 page for your image.
by mohamad alameddine
The main problem of this issue is the width of the report page and the margins. Many articles are written on that. Please check if your problem is this before continuing this article. Else check the solution provided for empty pages problem.
by B. Clay Shannon
Basic steps on how to programmatically create a Visual WebPart in Sharepoint 2010
by Kashif Amin Makhdoom
Progressbar using JQueryUI and SignalR
by Dane Balia
An Understanding of what it does and how it can help.....
by FrostedSyntax
A simple tutorial to create a pair of classes that enable you, through the use of objects, to read and write query strings in any context
by Damijan Vodopivec
Implementation of an event queue for delayed processing
by TapasU
Steps to decode Windows Error code
by Subha.N
Tip to create a database application using C# .NET in the shortest time possible.
by Gordon Beeming
Quickly Find Visual Studio Solutions
by Stephen Hewison
Get developing with React/JSX in Visual Studio 2013
by gayani dassa
Read & Insert Data Using Stored Procedures
by Member 13092868
This tool helps you create a label with given degrees of view angle. Also helps you estimate REAL label height and width by providing you linear correction functions to apply to inaccurate MeasureString values
by GustavoMartins
Notify the users on the progress of time consuming operations in real-time
by evry1falls
Receiving response correctly from pop mail server is the first step on receiving emails to your own email client.
by Kamal Surani
Recording video of your product and promoting video in cloud to get more customers
by Zebedee Mason
Wrap writing to the test logger with std::streambuf then substitute in std::clog
by charan anasam
Visual Studio comes with seven refactoring options as explained here.
by Martin Vorbrodt
How to refactor std::auto_ptr
by Daniel Vaughan
A Visual Studio regex to remove someone's overzealous use of regions in VS. Find and replace: (^.*\#region.*$)|(^.*\#endregion.*$) Remember to enable regular expressions in the Visual Studio find and replace dialog.
by Henryk Filipowicz
A class to read and parse reg files
by turbosqel
Simple code to make your components always fit exact size of Form, during and after resize.
by Zebedee Mason
How I avoid embarrassing releases (now)
by Hiren solanki
Remove HTML and get a plain text from inside
by PIEBALDconsult
How about loading it into an XmlDocument and getting the InnerText? (Provided the HTML is well-formed XML, of course.)
by JHoye
Consider using the open source HTML Agility Pack library (htmlagilitypack.codeplex.com).It lets you use XPATH queries to access very specific parts of an HMTL document, and the HTML does not have to be valid, well-formed XML. In addition to accessing the raw inner text of an element you can...
by MarcoBot
NOTE: If you're really wanting plain text, then you should also be sure to decode the HTML entities (System.Web.HttpUtility.HtmlDecode()) on the resulting text, or you'll wind up with HTML/XML character entity text in your output, such as & and [ If you're going to immediately output the...
by KevinAG
Sorry, but I have to vote this way down. Your regular expression (or @Chris's) is not robust enough for what I would consider "real world" data. Especially if this is used on any kind of public web site, I would be afraid of JavaScript injection attacks and other things (depending on its usage)....
by Andreas Gieriet
I think the following Regex and HtmlDecode would do:string html = ...;string textonly = HttpUtility.HtmlDecode( Regex.Replace(html, @"|", ""));Any HTML construct that would not be stripped off properly by this?
by linebenchmark
Remove all blank lines, containing or not spaces:^:b*$\n
by Ziv Nitzan
There is also a Visual Studio extention called CodeMaid that has a lot of cleaning options http://bit.ly/diMTaR
by Dave Paras
Remove splash screen of Visual Studio 2008 / 2010
by Palash Biswas
How to remove unused "using"
by Simon P Stevens
The PowerCommands[^] addin for visual studio also includes an option to "remove and sort usings" for all files in a whole project (or solution). It can come in handy when you don't want to go through and do each file manually.
by zenwalker1985
I find Organize Usings -> Remove and Sort option much more useful than Just using Remove Usings. After it sorts, the using statements looks nice. :) In case you don't want to install any addins.
by Demid Korneev
Example of AltNETType use in OpenGL
by Durga Prasad Dhulipudi
Rendering polygon shapefiles and filling them
by wmjordan
Rendering text with OpenType fonts by P/Invoking GDI API in WinForm applications.
by Anis Derbel
The easy way to Reorder your DataGrid/ListBox with Drag and Drop
by SumitJaiswal
Knowledge sharing article on WWF.
by David C Shepherd
A peek into the inspiration behind two cutting edge Visual Studio extensions.
by Ajith K Gatty
This tip helps you to reset all your DropDownList values to the default one when a DropDownList changes its selection.
by Mario Majčica
A quick guide on how to reset the Visual Studio Experimental instance environment
by hari19113
This code will help us to reshape our Windows form.
by PawelBujak
How to avoid blocking long operations in GUI applications, that lead to hung state.
by PlebProgrammer
How to retrieve TFS test case parameters in C#
by alexbk66
Reusable WPF RadioButton control which takes the pain away
by sbarnes
Sometimes better isn't, necessarily
by sbarnes
Rewriting and restoring XML files (streams) with two helper classes
by Balu Sathish
This post helps to load image in row header cell of a datagridview.
by HateCoding
This tip will show you an example for using R-tree.
by Member 3531622
Create a Rules Engine in less than 50 lines of code which is extremely powerful, extensible and adaptable
by Thomas Daniels
A tip about how to run a Windows Forms application in C# on user logon
by Ahmed E Osama
Run an executable that is inside the resources in C#
by DerStauner
With this library it is possible to query datatables with SQL commands.
by Artefakt94
Run Web Application in Multiple Browsers (Visual Studio)
by DataBytzAI
A solution for starting with a new browser session each time you run/debug a VS web project
by Nelson Kosta Souto
Running the same compiled assembly on Windows and Linux.
by RedSunBeer
A self created final builder tutorial
by smoore4
Run programs on remote machines without PsExec or WMI
by Norbert Eder
The article includes a sample project showing how to save the nodes of a TreeView into an XML file.
by Ștefan-Mihai MOGA
How to save a message to an MSG Compound file.
by Afzaal Ahmad Zeeshan
This is an alternative for "Console Monitor"
by PJ Arends
How to use a .props file for your custom user settings across all your projects
by Mohammed Ibrahim.L
Screenshot using C#
by Tu (Le Hong)
A scroll window that surpasses the 16-bit limit and can be hosted by a dialog.
by SumiranLingwal
Practical implementation of Scrum Definition of Done (DoD) in Visual Studio Team Foundation Server (TFS)
by DARSHAN MODANI
Code to search and highlight text in MS Word.
by Rumman92
An application which allows user to create the encrypted message and then emails it to the desired person.
by Gil Yoder
Visual Studio 2010 has a new visualizer for WPF that exposes a dependency object's visual tree.
by Pranav_
Performing insert delete and select in MVC 4.0 using WCF services, with one view and different action methods.
by Vassili Kravtchenko-Berejnoi
Use of System.WeakReference for self-cleanable registration of (short-life) objects
by Daniele Rota Nodari
I was glad to integrate your code into my C# application.Actually, within the debugger windows, I can't recognize any human-readable reference to the calling process, but the function is working. :)So, for whoever may be interested, the following code is my C# 4 equivalent:using...
by Sujeet Bhujbal
How to send email using a WCF Service.
by Sreedeep.S
Serial Communication with the .NET Framework in Winforms
by akramKamal
Code to serialize/deserialize any object to an XML file.
by Gautham Prabhu K
Creating and using Service Locator pattern
by DiponRoy
Session in ASP.NET MVC
by DiponRoy
Session Manager Utility for ASP.NET
by DigitalInBlue
Guidance on C++/C++!1 Parameter Passing
by Kamran Bilgrami
Visual Studio provides rich options to debug multi-threaded applications. This tip discusses one way of filtering your break points for a particular thread.
by Harsh Deep Gupta
We are going to see how to configure Azure DevOps CI/CD and setup Azure Pipeline using Visual Studio.
by Alexandre Paula
aspnet Membership Login in any project you want.
by Ahmad F Hassan
Step by step, creating LINQ to SharePoint Data Access Layer using SPMetal
by Ahmad F Hassan
5 minute trick
by Atish Dipongkor
Permissions required to provide a user for custom solutions development like Sandbox, Farm in SharePoint using Visual Studio
by MB Seifollahi
A SharePoint Server Object Model List Mapper to CRUD
by Niquo
A menustrip, toolstrip and statusstrip which retrieve their data from ONE component.
by Niquo
A form which is drawn in a custom way
by headshot9x
How to create ShoppingCart using Gridview in asp.net with code VB
by Prerak Patel
Here you'll fine many more..http://www.codinghorror.com/blog/files/Visual%20Studio%20.NET%202005%20Keyboard%20Shortcuts.htm[^]
by Behzad Talebpour
Alternatively, you can erase your closing bracket (}) and VS will format the whole block (between opening & closing bracket). This works only if there is no syntax error in that block.
by Mahmudul Haque Azad
Shortcut to generate different property snippets in Visual Studio
by cechode
I ended up adding one for a Lazy Property: propLazy ...
by Ajay Vijayvargiya
Open the Folder of current file with a simple keystroke
by Tantum
How to show your forms in the current active display on dual (or more) monitors
by Kamran Bilgrami
Find out which threads are running what line of code and how they may be related to other running threads
by Kamran Bilgrami
An easier way to show parameter values of chain of methods from Visual Studio
by Yaseer Mumtaz
Using SignalR with AngularJS to develop real time communication application in ASP.NET MVC and C#.
by User-Rock
Silverlight user control validation display techniques
by furytrader
Using .Net's Async/Await Framework To Create ProgressBar
by Noble KC
Simple Animation with Timer control in C#.NET (Sliding and Scrolling Effects)
by Daniel Lieberwirth (BrainInBlack)
This describes a simple way to create interactive, bitmap based, buttons for WinForm applications.
by metastruct
Easy to use class for downloading, uploading, and other FTP commands.
by Farhad Reza
A simple ChessBoard graphics using GDI32
by Midi_Mick
The simplest solution for adding a custom collection of custom objects to the designer
by Dean Feng
A simple method to display a waiting dialog in WinForm application, and not block the main form.
by Thomas D Lynch
Fast and simple way to display a splashscreen while your first Windows form loads.
by trantrum
Visual Studio Winforms 100% Full Screen Method
by Farhad Reza
A simple graphics class for 2D drawing
by Jochen Scharr
A simple but robust logging class
by Godwinsmith
Function to find the exact address of particular latitude and longitude using Google maps service in C#
by DiponRoy
Let’s see how to make a simple model or Entity mapper using reflections in C#
by ThiagoTane
This is an alternative for "Simple Model/Entity Mapper in C#"
by charles922
Simple Polynomial Addition and Subtraction using Lambda Expressions for sorting Lists
by DiponRoy
Simple response object for ASP.NET
by MarkWardell
An aid to Port WPF Framework Applications to .NET Core 3.1
by Ajit Kumar Thakur Microsoft
This tip contains simple step by step solution to read SSAS cube data using MDX query and display in SSRS report.
by Tawani Anyangwe
A simple custom HTML parser for converting STML into HTML
by Ravindra T C
Simple Unit of Work Design Pattern
by B. Clay Shannon
Simple RestSharp and HttpWebRequest with JSON.NET examples
by Rumman92
A simple web scraper that loads only the readable contents of a website.
by Oleg_100
This tip describes a simple WPF Date control that makes it easier to type in the dates.
by B. Clay Shannon
Steps to add logging to files and emailing from ASP.NET apps
by AdventureDriver
Make a single instance form application that redisplays the one and only interface of the other instance.
by Pinakpani Dey
Run one instance of web application in client browser
by psychohamster
This article will show you how to use the Sizable CheckBox control I have designed.
by citrin
About the bitness challenge in software development
by Omer Aziz
Solid background of a transparent control on a form
by Eduard Keilholz
Solution information file
by Pavlo Iarovyi
Visual Studio extension to change "hidden" option for project loading to optimize loading big solutions.
by Mukit, Ataul
This tip tells you what to do when you are faced with the RC2135 problem in the resource file.
by Cale Dunlap
C/C++ pre-processor macros which I have found to be quite useful, so I decided to share them. I hope they help you as much as they've helped me.
by BotCar
Some Visual Studio Intellisense Code Snippets that might be of some use to you
by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
by David A. Gray
Sparsely documented cause of compiler error C2143
by Rion Williams
This post will provide a short walk-through for handling and updating these areas of your application to gain more control over debugging, testing and running your applications through Visual Studio.
by Christian Amado
In this tutorial, we will discuss on ProgressBar & Background worker. Follow the step-by-step tutorial to know how to use these clases.
by Rajesh Manjarekar
When CDC is turned ON against a table and the underlying table schema changes, such as adding/removing a column, changing datatype etc
by Dineshshp
This article will describe about SQLConnection Message Event Handler and BackugroundWorker functionlity.
by Math08avan
SQL Server Integration Services - How to read a text file
by Sundeep Ganiga
Many developers face this issue of delay in opening Visual Studio IDE.Here is a small solution to resolve this.Open Run Command Prompt(Start->Programs->Run or Windows Logo + R) and type the text given below.a) devenv : Opens VS IDE With Splash Screen.b) devenv...
by T Chandra Prakash
If you want to open Microsoft Visual C++ 6.0 .............Open Run Command Prompt(Start->Programs->Run or Windows Logo + R) and type below text.a) msdev : Opens MSVC++ IDE With Splash Screen.
by Melick
Create a Visual Studio SharePoint Workflow (sequential).
by Mohammed Hameed
Check-in/Check-Out mechanism for TFS - To avoid Build errors and improve productivity.
by Thang Believe
Stops a solution build immediately after a project has failed to build
by Giancarlo Rhodes
Creating the Web UI
by Clifford Nelson
This tip provides an alternate way to combine data with text in a WPF control using a ValueConverter that could be considered easier.
by idreeskhan
String interpolation or String handling in C# 6.0 with new feature
by D Sarthi Maheshwari
Extension method on String class to convert string to IConvertible structs and nullable types
by Dave Clemmer
Using the Microsoft patterns and practices Semantic Logging Application Block (SLAB) to both structure your logging information and decouple how you choose to log from your application code that initiates logging related events. Plus, a Loggly listener is included that you can use to log messages.
by Ivan Tsurkan
Sudoku Generator
by Rui Jorge Carvalho
Sudoku game solver with a "SudokuControl"
by M-Badger
What responses to expect from the enum.IsDefined method in .NET given a variety of inputs
by Redgum
A customizable MessageBox() DLL and test application with dozens of built-in icons and color schemes
by sam stokes
This sample demonstrates how to use the Tile Template, specifically the TileSquareImage and an image.
by TheyCallMeMrJames
If you have two blocks of code that you are testing and need to switch back-and-forth between them, here's a commenting trick that works as a powerful code block toggling mechanism.Say you have a variable called foo of type string and want to change between using initialized values and...
by Caner Korkmaz
For debug use, you can do something like this:#ifdef DEBUG #define dprintf(...) printf(__VA_ARGS__)#else #define dprintf(...)#endif//Usage:dprintf("In debug mode.");//orchar *foo = "foo";dprintf("%d bar.",foo);// :)/*Edit reason :: *if you type...
by ILa @ work
This nice trick extends into://*/block 1/*/block 2; // commented out/*/block 3;/*/block 4; // commented out//*/and removing the first slash gives inverted alternation:/*/block 1; // commented out/*/block 2;/*/block 3; // commented out/*/block...
by Eranda Ketawalage
Suppress field in Crystal Reports.
by Mike Meinz
This sample program demonstrates how to use Google Calendar API v3 to delete Google Calendar events, insert Google Calendar events and update Google calendar events based on a .CSV file exported from Calendar Creator.
by Hrvoje Batrnek
Easy and seamless caching implementation of any virtual method in any class
by Emmery Chrisco
Tabbed Browser Control addon
by Nosey Parker
TcpClient.BeginConnect with timeout
by Ashwin. Shetty
Test Driven development using Mocking Framework
by Shining Legend
Reveal hidden text when IntelliSense covers your code
by TheyCallMeMrJames
Here's how you might word this to be a little more clear:When IntelliSense is invoked in Visual Studio it can sometimes obscure text or information from the code block below the line you're editing. To momentarily reveal the covered area below the IntelliSense window, press and hold the...
by Vladan.Obradovic
Test Multicast IP network traffic passing through the firewall between the computers that are in different IP sub-nets
by Alaa Ben Fatma
Choose your text maximum length programmatically and show a message whenever the length = the maximum length
by Mohammed Ibrahim.L
How to extract a specific text from a webiste
by Nishith Jain
Balloon tool tip for the text box.
by mohammad amiri
A textbox usercontrol that displays numbers separated by comma such as currency.
by Andiiiii
Extended TextBox with placeholder
by Shining Dragon
A TFS build template that cleans up after itself once the build is complete
by B. Clay Shannon
This is a bare-bones, step-by-step tutorial into getting your first test project set up in a Visual Studio solution that already has a project that you want to test
by Max R McCarty
What Azure Website’s can do to make our life easier when it comes to securing our application’s connection strings.
by taha bahraminezhad Jooneghani
How to prevent one-click attacks.
by cocaf
The virtual inheritance helps to solve certain class design problems even if they are unrelated to the "deadly diamond of death".
by HelenmaryC
The VS2010 Recent Project list is not very friendly about displaying web sites which you are running under IIS Express rather than the ASP.NET development server.
by Rion Williams
A one-stop-shop for improving the web.
by me.ajaykumar
Thread safe collections
by Toby Steed
Walk before you can run
by Kunal Chowdhury «IN»
Faster code generation in Visual Studio 2010
by Kunal Chowdhury «IN»
Here I will describe you how to debug using VS2010
by Kunal Chowdhury «IN»
How to customize Visual Studio 2010 Start page
by BouncyTarget
Quickly adding alternate languages (Pirate, KJV, ValleyGirl) to your C# form-based application
by Er. Puneet Goel
This tip implements the TreeView like DropDownList with Search Functionality using Telerik Kendo.
by Vyacheslav Chernykh
CTreeView is the advanced TreeView control for .NET WinForms that supports more features, different layouts and any controls in the nodes.
by DiponRoy
Trimmed value binding in knockout.js
by MatthewThomas
Visual Studio code snippets for implementing MVVM properties and commands
by Member 10872251
Two way binding using JavaScript
by Frank Klaassen
A number of methods are available to determine the type of an object, each with its own specific characteristics.
by Christopher John Paul
UDP based chat application.
by xdoukas
A tip on the implementation of Unix ucontext_t operations on Microsoft Windows.
by Richard Roe
Example to show how to update an ASP.NET GridView control using Ajax JQuery client side script
by nazim_altinay
Update Listview items
by TheyCallMeMrJames
If you create smaller projects, plug-ins, libraries or, perhaps, you are a web developer that likes to keep the latest JavaScript libraries in the mix, consider updating your project templates in Visual Studio 2010.Here's how you might update the jQuery libraries to the latest for an ASP.NET...
by Jon McKee
A how-to and fixing common errors
by Manoj Deshmukh
Steps to upgrade your Web API Swagger package to 5.2.x version from earlier 4.1.x version
by Vivek Krishnamurthy
Power shell script for upgrading Visual Studio 2008 solutions and projects into Visual Studio 2010.
by Mukesh Pr@sad
Upload and Delete Video File to Microsoft Azure Blob Storage with ASP.NET MVC
by M.Farrukh Abbas
How to upload an Image and preview it dynamically without saving it using FileUpload control in ASP.NET (C#).
by A. Duman
Usage of a TrackBar as a ToolStripMenuItem
by Kabwla.Phone
Create a custom eventargs to make the eventhandling simpler.Any code interested in the change in the tractbar is very likely interested in its value..../// /// Custom event arguments class so we can push the value of the trackbar/// to any interested subscribers./// public class...
by TheyCallMeMrJames
Handy Keyboard Shortcuts in VS2010's IntelliSense
by Antonio Lopez R
Use existing form as a subform
by Carlos1907
This is an alternative for "Use form as subform"
by Bill9603
Many developers use ".cur" cursor files. Using them myself in Visual Studio 2008, they are not the easiest things to work with for many reasons.They are not easy to create without expensive software. (unless you are using the editor within Visual Studio)They cannot easily be ported in the...
by 8MX
Quick and easy way to use the Intel C++ compiler with C++/CLI.
by TheyCallMeMrJames
Leverage VSDoc and DEBUG file documentation in VS2010
by Gokhan Erdogdu
Can your enums have userfriendly descriptions? How to have enum values with spaces?
by BlueMaple_chief
To make a simple auto updater demo, I use webclient 'interfaces' to download the file and monitor the progress.
by Reeshabh Choudhary
Web platform based query builder to play with your database :)
by 0xC0000054
A C# library that resolves 64-bit shortcuts from a 32-bit application
by Subramanyam Shankar
This tip describes how to use a background worker in WPF along with animation to provide better user experience.
by _Noctis_
Use a project with a TabControl to quickly test theories, questions, problems
by Mykola Tarasyuk
An approach to call built-in Visual Studio commands from within Visual Studio extensions
by Prosanta Kundu online
I always prefer this approach belowASPX pageIn aspx.cs page Page_LoadPage.ClientScript.RegisterClientScriptBlock(Page.GetType(), "pageVars", string.Format("var TextBox1 = '{0}';", TextBox1.ClientID),true);When required...
by Tyronne Thomas
Using C# to monitor the bandwidth for wireless devices.
by DataBytzAI
A fast intro to working with CoPilot in VS Code
by Wombaticus
A beginner's introduction to using data classes in ASP.NET.
by Redslide
HttpLib makes it easier to asynchronously consume data from web services in C#. The library contains methods to upload to and download from web services.
by Piyush Manharlal
Using integer instead of Enum for ComboBox and Radio Button in XAML
by OriginalGriff
I've answered quite a few questions in the last couple of months about how to get the physical location of a client from a website. And people seem to get annoyed when I say: "Don't. It's no real use". But that's the truth: you can get it, but it won't be accurate. Let's have a look and see why.
by Ly Nguyen - LN
How to use Kendo UI Grid with Web API
by Zain Ul Abidin
Now it's time to change the usage scope of your laptop Webcam
by Michael_Lu
Provides tips for exporting documents involving tables connected by relationships
by heemanshubhalla
How to use Masked Textbox control in .NET
by Md. Marufuzzaman
Using of .NET TransactionScope
by Måns Tånneryd
This tip shows how to significantly speed up inserts of large amounts of data using the entity framework.
by OriginalGriff
Visual Studio has a Server Explorer built in to handle database access - it can lalso generate database connection strings ready for saving in application config files.
by Adil Mughal
Hey folks, today I would like to mention one of the underutilized features of Visual Studio and that is the use of Visual Studio extensions. In particular, the integration of Visual Studio extensions through Extension Manager in Visual Studio 2010. You will find Extension Manager in Tools...
by Oleksiy Hornostal
This is the simple and fast validator for physical quantities and units. The validator can compare them using loaded physical expressions
by vblover Programmer
Custom DropDownBox with all languages of the world to select a language.Save and reload Selected language using Application Settings
by IssamK
How to automatically generate classes for your database tables
by Member 10168565
How to send emails based on RTF templates containing images and attachments, while giving the user the possibility to modify the content before sending
by AspDotNetDev
View multiple browser windows in the Visual Studio IDE to consolidate your workflow.
by Gerardo Recinto
Virtualization of RAM & Disk for high-speed, low-footprint & scalable data caching
by Emiliarge
How to statically link a Win32 Project with Visual C++ libraries (m***.dll)
by e.bonavero-miller
Not much on this one that was helpful so I thought I'd put what worked for me.Cntrl + Alt + Del > Processes > end all iexplore.exe and WebDev.WebServer.exe processes.Since devs generally debug with the dev webserver end those processes first and retest. Although iexplore handles stay...
by Peace ON
I found this on MSDN.[^]Above link solved my problem permanently.HTH
by Anshul R
MRU Locations and other locations in the Registry
by Anshul R
A solution for Visual Studio 2010 black-out
by GPUToaster™
Actually it requires the GUI to repaint...So you can minimize and then maximize again!. Worked for me.
by anon - lth
It was my ATI card anti-aliasing setting. Problem was gone after it was set on 'application-controlled'. You also may turn the hardware acceleration off in Visual Studio (Tools/Options/Environment/General/Visual experience)...
by Ashoka RKT
Recursively collapse child items.
by prodrigues1990
Easy Assembly Version reflecting SVN working revision
by igorvelho
VS2010 AddIn that allows to create a solution adding multiple projects at same time
by AlexCode
Quick way of showing the Solution check-in modal window on Visual Studio
by dbg_af
Hi,I just built a tips site using Visual Studio 2010, the tips are about Visual Studio 2010,(I built the site using Silverlight and it contains video clips tips)Visit the site at:http://vs2010.zxq.netThanks, ;P
by Joan M
Getting Visual Studio 2013 look sharp again when used in high DPI scaled monitors
by congiuluc
This tip teaches you how to enable HTTPS (SSL) on Visual Studio 2013 Web Projects
by Viswanatha Swamy
This tip imposes a quick glance at Visual Studio 2019 Enhanced Scroll Bar, including bookmarks, breakpoints, saved/unsaved changes, unused parameters, warnings, errors and find hits.
by Mark Pelf
VS 2022 extensions can interfere with the IntelliSense Hover functionality.
by Vadim Loboda
This is an alternative for "VS2010 Box Selection with Copy and Paste"
by Mike 2005
In Design Mode a form suddenly fails to display its controls even though the project continues to work normally.
by Avtem
A couple of fixes when your Visual Studio Intellisense becomes buggy
by thatraja
Visual Studio Project Conversion - Converting VS 2005 projects to VS 2008 (Commandline mode)
by Anshul R
Open the project file in notepad. .vbproj or .csproj.Change the VS version.
by Klaus Luedenscheidt
Or just use: SolutionConverter[^].Only restriction is that C++ is not fully supported.
by Sansan Fang
why upgrade .sin in .bat by dragging and dropping it.:devenv /upgrade %1
by Rahul Khadikar
Visual Studio Shortcuts
by Steve Maier
Microsoft has posted some posters that can be printed out with this information in table form for each language. The newest ones are for VS2010, but they have others as well.VS2010 Keyboard Shortcuts for C# VB C++ F#[^]
by Pavlo Iarovyi
Visual Studio extension to change Visual Studio "hidden" option for project loading to reduce loading time for big solutions.
by OriginalGriff
Marking code you need to return to later
by Jeremy Hutchinson
Few under-utilized features of breakpoints in Visual Studio that you should be aware of
by Jeremy Hutchinson
Code definition keyboard shortcuts in Visual Studio
by dswersky
If you have Visual Studio 2010 Ultimate, you have some serious architectural tools. One of my favorites (so far) is the Dependency Graph.Select Architecture-Generate Dependency Graph and you'll see that you can generate a graph by Assembly, Namespace, Class, or Custom. Try the Assembly...
by TheyCallMeMrJames
With the new box selection model in Visual Studio 2010 you can do some crazy new things, the coolest for me being the copy and paste support from and to selections.As a simple example, let's assume you have a text document with a list of 20 names that you want added to a...
by Muhammad Gouda
A Cooler one for me is the multi-lines simultaneous typingwith which you can accomplish the above task in the following fewer steps1- In the method where you wish to build the list, paste the list of names2- Because compiler will not understand these lines, it will not be correctly...
by ARNOULT
Visual Studio 2010 Macro : Collapse all sections of code between 2 lines of comment
by TheyCallMeMrJames
When developing ASP.NET web sites you're likely going to have multiple deployment targets. I develop on the integrated web server, but I deploy to a staging server for QA and then to prep for publishing I post the to a network URL.Take a moment to set up and save Publishing Profiles and...
by BillWoodruff
A hack so you can use Console.Write and Console.WriteLine in VS2017 WinForm programminfg
by Mark Pelf
Fix for adding new DB tables does not work in VS 2022, ver. 17.6.2, EF6 (Classic)
by _Flaviu
A small guide to use VTK in MFC
by Sujeet Bhujbal
A practical example of a WCF service for inserting , Deleting and Displaying Data using a WCF Service in ASP.NET
by Valentino_Lokesh
This tip explains how to POST different kinds of data (string, XML, JSON or bytes) to a Single WCF REST Operation.
by sandeep12jain
WCF Restful Service Authentication without SSL Certificate
by Đinh Công Thắng
You can fill any form, click any button, and extract any data from web by using Web Automation.
by Jems_007
The tip is for those who getting application hang/freeze issue in web browser control.
by Abdullah Altokhais
Windows Forms application for capturing or thumbnailing a web page
by MadhureshK
This post is part one of three which explains what and why you should use WebApi.
by Palash Biswas
ohhh...this is an easy fix. Just put down the statement Console.Readline() as the last line in your program. This will keep the window open until you hit the enter key.That's cool!!!!!!
by Palash Biswas
But you have to forcefully close the console window..There was not any enter press from key board.I may also hang your console when you close it
by CoderGirl42
Add a call to Console.Readline() or Console.Read() at the end of your Main function this will prever the console from closing until the user presses a key or enter.
by hammerstein05
If you run the program without debugging, it will prompt you to "enter any key to continue".If you are using a console application, and you use CTRL+F5 (in VS2008) you will get a "Press any key to continue . . . "At least that's the way it's always worked for me.Obviously, if you...
by Afzaal Ahmad Zeeshan
A slight comparison of ASP.NET upon other (web) programming languages in the market and a discussion of me and some other (web) programming language developers.
by Chakravarthi Elchuri
How to use WIA supported scanner using C#
by Avirup Das
This tip describes an application to control with Sony TVs connected to your Home Wi-Fi network from PC.
by Bob Clegg
Deploying with WIX
by npdev13
This tip explains how to deploy the window service using Visual Studio 2010.
by Surender Singh (CodeToastDev)
Learn to store/read data from Windows 8 app and available file storage options for Win8 apps.
by Dennis Betten
How to implement Windows authentication on an Intranet website using WS2012
by ShubhamSaxena
Track your location, mark it on a map using pushpin
by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)
by Dr Gadgit
Displays Windows SSL certifiacte in a tree-view and allows you to delete some certificates
by Manish K. Agarwal
Windows symbols and crash dump analysis.
by koolprasad2003
This tip gives you an idea about how to create Word table using C# (Word automation)
by Houssem_Dellai
Cached images will still be in memory even when navigated to another page, I'll suggest some workaround.
by Sibeesh KV
Working With JQX Grid With Filtering And Sorting
by Afzaal Ahmad Zeeshan
How to use the keyboard events of the user and use them to dynamically change the User Interface or to perform some actions
by ShaikAnwar
This topic gives us an idea of how to write Linq queries on Entities & DataTable. This covers some basic querying and also usage of joins and group by using LINQ.
by Anup Kumar Verma
Taskbar Notification like animation in WPF from code behind
by Emiliarge
Using WindowChrome from Microsoft.Windows.Shell.dll
by arpanmukherjee1
A base viewmodel implementing IDataErrorInfo
by Diwakar M A
WPF based preloader animation sample. Let's make WPF applications more interactive during long process.
by Igor Sorokin
In this article I would like to describe simple WPF application for showing System.Windows.SystemColors list.
by alifaraze
writing error in a text file is very easy but writing error from a custom assembly in reporting services requires permissions
by trident99
This article provides an example of a C# Multilingual UWP Application in Visual Studio 2017. It does NOT use the Multilingual App Toolkit to achieve this.
by Chinh Vo Wili
This tip describes how to use Selenium WebDriver extension for jQuery of RaYell and customize waiting element loading
by Mirza Ali Baig
Learn how you can create Windows Services to perform some useful long running operations in the background.
by Gregory Morse
WRL Collection library ported to native C++
by Daniel Lieberwirth (BrainInBlack)
A class representing the state of a connected XBOX 360 controller
by Alex Puchades
In this tip, XEndian, a header-only library will be presented
by trident99
An STL based simple XML serialization and de-serialization engine
by Er.aruntyagi
Creating XML from Object & populating your Object from XML using one line of code
by Akos Mattiassich
Find a window on the desktop, spy its properties and manipulate it.
by Daniël Verhoef
A simple zip benchmark
by Adil Mughal
One of the simple feature I like is of Zoom in and out :) and that&#8217;s because while presenting on several events I need to increase the font or use magnifier but now I can just zoom in and zoom out using Ctrl + Mouse Scroll Up/down. So now I don&#8217;t have to do that Zoom in to...