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

Programming

programming

Great Reads

by Ilya Builuk
This article describes the key principles of PhoneCore Framework implementation and how to use it for building Windows Phone 7 application.
by charles henington
This is an alternative for "Send Mail With Attachment File"
by Pablo Aliskevicius
Do you believe that memory corruption will generate an immediate, repeatable crash? Some programmers actually do...
by Stef Cas
A VB.NET project showing how to build a simple magnifying glass.

Latest Articles

by Ilya Builuk
This article describes the key principles of PhoneCore Framework implementation and how to use it for building Windows Phone 7 application.
by charles henington
This is an alternative for "Send Mail With Attachment File"
by Pablo Aliskevicius
Do you believe that memory corruption will generate an immediate, repeatable crash? Some programmers actually do...
by Stef Cas
A VB.NET project showing how to build a simple magnifying glass.

All Articles

Sort by Score

programming 

by charles henington
This is an alternative for "Send Mail With Attachment File"
by Sachin Chandanshive
Addin Containg Useful Macros & Easily Accessible From Ribbon Menu
by Peter Leow
This is a simple web application to illustrate visually the difference between Ajax and non-Ajax calls that take place all in a single web page.
by Richard Silveira
Android Material Design for old devices with Design Support Library
by Ameet Parse
ASP.Net Ajax AutoCompleteExtender without using Web Service
by MilesAhead
A good exercise to aid in always using delete [] where appropriate is to code your own autoarray_ptr following the pattern of c++ auto_ptr. The destructor calls delete [] when the instance goes out of scope. Saves writing a lot of messy delete [] code in "if chains" and switch blocks....
by Sauro Viti
The C++ comes with a rich standard library: the STL (Standard Template Library).So, why we should re-invent the wheel while we already have it done, safe and written to be light-weighed and performant?It's too much better to use the vector Class (Standard C++ Library)[^]:#include...
by BWake
It is a bad idea to treat built-in types differently than programmer defined classes. If you delete a dynamically allocated array of a built-in type without the brackets the memory buffer may go away just fine. This is not guaranteed. The VS2008 runtime throws an exception. There is a...
by Tyronne Thomas
Calculating hash values in Windows Metro style applications using C# and .NET 4.5.
by Willie Moore
How to use CorFlags to change the target CPU in Vulcan.net
by Sarang Date
Introduction My Colleagues Guru and Amit brought an interesting discussion on the use of timers in a multithreaded environment. I have tried below to clarify a few things about different timer classes and their usage scenarios with pros and cons. This info is based on the various blogs I...
by Weberto.com
Allow controls to grow or shrink with form changes
by scott_liu
Create CSS class programmatically
by Uros Calakovic
Create Groovy classes at run-time and use them from Groovy or Java
by Raja.Krishnasamy
Data Driven Testing in MSTest by using Excel as data source and Named Region as table name instead of sheet name
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 netfed
This article explains how to display images and videos in the very same Fancybox gallery using Json-data and existing html-tags as data
by cynthia_dunlop
Service virtualization undeniably benefits the development process, but it can be both a blessing & a curse for developers. Learn how to minimize the burden on development to achieve maximum acceleration of delivery cycles.
by Sunil_Sebastian
Duplicate Notifier for a List using ObservableCollection.
by Bob Crowley
How to use a CASE statement in ORDER BY to avoid dynamic SQL
by Naga Vinodh Peddi
How to dynamically create file upload control and add text file data to SQL database
by _Asif_
This tip helps in creating User schema with fresh password on the fly
by mll5
Code blocks are executed asyncronously in the UI thread after a given timeout.
by Corey Brand
Roll your own configurable test doubles
by Rui Jorge Carvalho
Fast and simple Bitmap processor...
by dmgcodevil
Framework for performing aggregation and plain MongoDB queries in myBatis style
by Bankey Sharma
Converting DataReader Result into List of Objects Using Generic Type, Property Attribute and Reflection
by mravikiran
Command Line Inputs
by CDMTJX
Below should work without GOTO's...Took me awhile to find this while having to do build scripts.IF "%uname%" == "" ( ECHO Hello %uname%...) ELSE ( ECHO error ...)
by Jeffrey Buxton
Not quite, CDMTJX. There are 2 problems with the alternative you posted.Previous values for uname are not cleared. Running this twice WILL see the previous valueThe logic is backwards.This will work as you intended:@ECHO OFFset uname=SET /P uname="Please enter your name: "IF...
by Robert Bettinelli
Check this for a good universal way of running stored procedures..
by Hexa How
Display visitor's sunrise and sunset time based on their IP address using C#
by Azure Developer
Authentication ASP application using Office 365 User
by emranallan
Lock Device Screen ,to prevent an one working on the device
by mifth
How to make your code more unit test friendly (and better)You just simply split your code into small classes and methods while ensuring you follow the principles of Separation Of Concerns and Single Responsibility.If you have a big method you want to unit test, you should use the...
by Lavish Kumar
How to use ASP.NET AJAX Calender Extender
by submit@perpetuumsoft.com
In this post, we will talk about the wonderful Font class.
by vivekshankars
Program to calculate the IRR value using C/C++ similar to the one available in Excel
by Brady Kelly
A handy way to raise an exception without having to call String.Format for the exception message
by saephoed
A generic approach to aggregate return values of multicast functions.
by Srinivas Kalabarigi
Replace text of an HTML element without using Id property.
by thedavejay
What makes MVC great is the way it enforces code separation between the different layers of abstraction.
by Ryszard Dżegan
How to take full advantage of declarative paradigm by using LINQ.
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 metastruct
Multithreaded, customizable SysLog server in C#.
by karenpayne
Using newer conventions of coding in VS2010 and higher
by Csaba Fábián
An open source library of Linq operators on ObservableCollection
by #realJSOP
Essential programmer skill - the ability to approach a problem from more that one direction.
by Zamshed Farhan
It’s a very common problem for those, using Oracle 11g in Windows 7 (64-bit) with PHP applications.
by Sukant Shekhar
Creation of random and unique code
by mridul samadder
Redirecting to a page after login in PHP
by Shahriar Iqbal Chowdhury/Galib
Reset PLSQL sequence value
by Sarang Date
The other day my colleague was probing around whether to return a value or to throw an exception in general scenarios and I initially told him that throwing exceptions almost always incur performance costs as compared to a returned value. We had then left the discussion there itself but...
by Craig Baruffol
A wrapper class to simplify the implementation of a Self Hosted Web API Service
by Amir Hesami
A library which can get any class you pass to it, convert it to bytes, and send it to the other end.
by Dnyaneshwar Kondbale
Show/hide Label control by radio button selection using JavaScript.
by metastruct
Easy to use class for downloading, uploading, and other FTP commands.
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 Wieslaw Popielarski
Shows how to start from problem to get state monad
by Ivan Tsurkan
Sudoku Generator
by Rui Jorge Carvalho
Sudoku game solver with a "SudokuControl"
by Ritesh_Singh
Asynchronous communication through messaging using Websphere MQ Synch Point Commit, Back out and correlation id
by Emmery Chrisco
Tabbed Browser Control addon
by Raja.Krishnasamy
Attached the test data with method for regression testing by declaring ref type in attribute
by Jackson Jiang
Introduction to and development journey of a real-time transcription function
by Eduardo Fonseca
Unity3D - Basic Gamepad setup
by Bajirao_
Create a Word document from a docx template
by Willie Moore
How to use the TextWriterTraceListener in Vulcan.net
by Trollslayer
Look at switch/case, this is much better.Also, if you make the enum public then it can be accessed outside the class.
by Sarang Date
Yesterday during code review, one suggestion that came up from the reviewer was to always use Prefix-casting instead of As-casting in our code and that brings out the question why? The answer lies in choosing a tradeoff between reliability and performance. The primary difference between...
by U.Jagannath Reddy(Janki Rao)
Microsoft.VisualBasic.Information.IsNumeric(value)
by TweakBird
Validating Simple Primitive Data Types:TIP
by OriginalGriff
Marking code you need to return to later
by trident99
An STL based simple XML serialization and de-serialization engine