Click here to Skip to main content
15,879,474 members
Everything / General Programming

General Programming

programming

Great Reads

by OriginalGriff
Marking code you need to return to later
by jurhas
A small simulator for a 6 axis articulated robot
by super
A rough guide for developers how to approach development of software for Internal use especially in Engineering companies, where shorter turnaround is more important
by Colin Vella
This article presents an algorithm and data structures to implement auto-tiling as seen in RPG Maker, the Starcraft level editor, etc.

Latest Articles

by Henrik Vestermark
The steps needed to build an Interval Arithmetic class in C++
by Jackson Jiang
Introduction to and development journey of a real-time transcription function
by Shun Huang
Use Python to build atomic binary trees
by Andreas "PAX" Lück
Investigation of PE file modifications performed by Microsoft Detours

All Articles

Sort by Score

General Programming 

5 Jul 2010 by OriginalGriff
Marking code you need to return to later
13 Nov 2010 by mravikiran
Command Line Inputs
23 Nov 2011 by Willie Moore
How to use CorFlags to change the target CPU in Vulcan.net
7 Mar 2012 by Sunil_Sebastian
Duplicate Notifier for a List using ObservableCollection.
20 Jun 2012 by Lavish Kumar
How to use ASP.NET AJAX Calender Extender
18 Feb 2014 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
13 Aug 2011 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...
10 Nov 2011 by Willie Moore
How to use the TextWriterTraceListener in Vulcan.net
28 Jul 2013 by Raja.Krishnasamy
Attached the test data with method for regression testing by declaring ref type in attribute
31 Aug 2010 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....
24 Dec 2010 by Shahriar Iqbal Chowdhury/Galib
Reset PLSQL sequence value
7 May 2012 by emranallan
Lock Device Screen ,to prevent an one working on the device
13 Aug 2012 by Sachin Chandanshive
Addin Containg Useful Macros & Easily Accessible From Ribbon Menu
22 Apr 2013 by Brady Kelly
A handy way to raise an exception without having to call String.Format for the exception message
29 Apr 2014 by Uros Calakovic
Create Groovy classes at run-time and use them from Groovy or Java
31 May 2014 by Corey Brand
Roll your own configurable test doubles
16 Nov 2010 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 ...)
12 Aug 2011 by mll5
Code blocks are executed asyncronously in the UI thread after a given timeout.
26 Aug 2011 by scott_liu
Create CSS class programmatically
12 Feb 2014 by charles henington
This is an alternative for "Send Mail With Attachment File"
28 Feb 2013 by zaphoed
A generic approach to aggregate return values of multicast functions.
4 Mar 2013 by Tyronne Thomas
Calculating hash values in Windows Metro style applications using C# and .NET 4.5.
9 May 2013 by Sukant Shekhar
Creation of random and unique code
21 May 2013 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.
22 Aug 2013 by Srinivas Kalabarigi
Replace text of an HTML element without using Id property.
12 Sep 2013 by dmgcodevil
Framework for performing aggregation and plain MongoDB queries in myBatis style
28 Jul 2014 by Wieslaw Popielarski
Shows how to start from problem to get state monad
7 May 2022 by Jackson Jiang
Introduction to and development journey of a real-time transcription function
14 Jul 2010 by Weberto.com
Allow controls to grow or shrink with form changes
8 Jan 2011 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...
16 Jan 2011 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.
12 Apr 2013 by Dnyaneshwar Kondbale
Show/hide Label control by radio button selection using JavaScript.
28 Jun 2013 by _Asif_
This tip helps in creating User schema with fresh password on the fly
3 Jul 2013 by Emmery Chrisco
3 Sep 2013 by karenpayne
Using newer conventions of coding in VS2010 and higher
5 Sep 2013 by Craig Baruffol
A wrapper class to simplify the implementation of a Self Hosted Web API Service
9 Jan 2015 by Eduardo Fonseca
Unity3D - Basic Gamepad setup
31 Aug 2015 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.
26 Jul 2012 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.
9 Dec 2013 by Naga Vinodh Peddi
How to dynamically create file upload control and add text file data to SQL database
16 Dec 2013 by Rui Jorge Carvalho
Sudoku game solver with a "SudokuControl"
1 Oct 2013 by Rui Jorge Carvalho
Fast and simple Bitmap processor...
27 Mar 2013 by metastruct
Easy to use class for downloading, uploading, and other FTP commands.
5 Feb 2014 by LazyCoder0
This article describes how to merge PowerPoint Presentations (PPTX format) and save as PDF in .NET applications using Office Automation (OpenXML SDK).
1 Oct 2010 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...
10 Apr 2014 by Hexa How
Display visitor's sunrise and sunset time based on their IP address using C#
28 Jun 2012 by Ameet Parse
ASP.Net Ajax AutoCompleteExtender without using Web Service
23 Aug 2015 by Richard Silveira
Android Material Design for old devices with Design Support Library
18 Sep 2012 by vivekshankars
Program to calculate the IRR value using C/C++ similar to the one available in Excel
22 May 2010 by #realJSOP
Essential programmer skill - the ability to approach a problem from more that one direction.
19 Apr 2010 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...
6 Feb 2014 by Bajirao_
Create a Word document from a docx template
24 Apr 2014 by Bankey Sharma
Converting DataReader Result into List of Objects Using Generic Type, Property Attribute and Reflection
6 May 2013 by trident99
An STL based simple XML serialization and de-serialization engine
13 Nov 2010 by TweakBird
Validating Simple Primitive Data Types:TIP
10 Apr 2010 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...
21 Dec 2010 by mridul samadder
Redirecting to a page after login in PHP
8 Jan 2013 by Zamshed Farhan
It’s a very common problem for those, using Oracle 11g in Windows 7 (64-bit) with PHP applications.
1 Aug 2013 by Raja.Krishnasamy
Data Driven Testing in MSTest by using Excel as data source and Named Region as table name instead of sheet name
8 Oct 2013 by submit@perpetuumsoft.com
In this post, we will talk about the wonderful Font class.
29 Aug 2013 by Ryszard Dżegan
How to take full advantage of declarative paradigm by using LINQ.
1 May 2012 by thedavejay
What makes MVC great is the way it enforces code separation between the different layers of abstraction.
30 Apr 2014 by Csaba Fábián
An open source library of Linq operators on ObservableCollection
18 Sep 2012 by Ritesh_Singh
Asynchronous communication through messaging using Websphere MQ Synch Point Commit, Back out and correlation id
5 Apr 2010 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...
27 Mar 2013 by metastruct
Multithreaded, customizable SysLog server in C#.
16 Oct 2013 by Robert Bettinelli
Check this for a good universal way of running stored procedures..
8 Apr 2010 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.
2 Nov 2010 by U.Jagannath Reddy(Janki Rao)
Microsoft.VisualBasic.Information.IsNumeric(value)
6 May 2010 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...
6 May 2010 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...
6 May 2010 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...