HowToDoThings.com
Register | Login
Home › Computers & Internet › Programming

Programming

Programming has become much easier with the advent of the Internet. Check out all of our great articles on programming languages.

How To Use an XML Parser Module

 
 
 
 
 
June 25, 2008
By Syed Feroz Zainvi
This article describes how to use Document Object Model (DOM) for XML Parsing. In this article, you will learn how to parse an XML file in a VC++ application.

How To Use PHP (Hypertext Preprocessor)

 
 
 
 
 
February 12, 2008
Jameel Ahmad Sameemi's picture
By Jameel Ahmad Sameemi
This small, handy article will describe PHP (Hypertext Preprocessor) in a few easy steps and will be very useful to anyone new to PHP programming.

How To Make a Login System for Your Website

 
 
 
 
 
December 21, 2007
Marcos Riso's picture
By Marcos Riso
This is a simple login system that has been very reliable and secure for me. I use it myself on my websites, when a simple login system is needed. If you know a little of MySQL...

How To Do a Preloader in Flash

 
 
 
 
 
December 6, 2007
By Vinicíus Silva
Learn it, and make it (for beginners)!

How To Use SelectionFormula in a Crystal Reports Subreport

 
 
 
 
 
December 6, 2007
By Victor Macedo
This article will explain how you can assign a SelectionFormula to a Subreport using VB6 and Crystal Reports.

How To Do Web Design Using Web Page Maker

 
 
 
 
 
November 2, 2007
By Paul Michael Z. Labis
There is an easy way to design a website with minimal requirements! Creativity and deep understanding of the theme and navigation is a must! It does not require you to become an...

How To Convert String to Date Using ASP

 
 
 
 
 
October 19, 2007
By Chris Corbett
ASP makes it very easy to convert a string to a date format using built-in VBScript functionality. We're going to use the CDate function to accomplish this. The CDate function...

How To Learn Syntax In C Programming

 
 
 
 
 
September 7, 2007
Pasca Maulana's picture
By Pasca Maulana
Learning syntax in C programming will make you understand how to code C in a better way, making you less prone to syntax errors when coding. Below are some conventions in writing...

How To Find HTML Editor Freeware

 
 
 
 
 
September 6, 2007
Pasca Maulana's picture
By Pasca Maulana
This will show you how to find an HTML editor freeware using the Google search engine. Its easy, fast and free but you'll need to review each HTML editor freeware before you choose...

How To Send an Escape Sequence in C Programming

 
 
 
 
 
September 6, 2007
Pasca Maulana's picture
By Pasca Maulana
The article will explain about escape sequences in C. How and the implementation in the code.

How To Protect Your Web Pages

 
 
 
 
 
September 6, 2007
Amin .'s picture
By Amin .
Simple tips for making it harder for visitors to copy your website content.

How To Learn Python

 
 
 
 
 
September 4, 2007
By mahesh kale
This information will help you learn Python in steps. You can learn Python in a few weeks if you have a programming background.

How To Program in C

 
 
 
 
 
August 23, 2007
Pasca Maulana's picture
By Pasca Maulana
This article will get you to know about how to program in C, simple program that prints characters to the screen.

How To Learn PHP Programming

 
 
 
 
 
February 20, 2007
By Daniel A.
PHP is said to be an acronym for PHP: Hypertext Preprocessor, however it's probably just HPP (hypertext preprocessor) rearranged to sound better.  It is an open source scripting...

How To Use PHP to Interact with MySQL

 
 
 
 
 
December 3, 2006
By Zamrony P Juhara
Introduction.  This article will discuss how to connect PHP and MySQL, to create a dynamic database-driven website. I will assume that you already have a PHP...

How To Write HTML Forms

 
 
 
 
 
October 2, 2006
By Daniel A.
A form is an area that contains various form elements to take user input for processing by a special program. There are various form elements as can be seen in the diagram below....

How To Develop in Visual Basic

 
 
 
 
 
July 28, 2006
By Randy Keeling
Microsoft's Visual Basic is one of the most popular programming languages in the world. With it you can create almost any type of application imaginable! Visual Basic is a RAD...

How To Learn HTML Code Tags

 
 
 
 
 
June 26, 2006
By Mariya Malter
Learning HTML code begins with learning the basic tags.  By studying the examples in this article, you should know all of the basic HTML tags that you will need in creating a...

How To Change Your Font Size Using HTML

 
 
 
 
 
June 16, 2006
By Mariya Malter
Knowing how to change font size on your webpage is almost necessary when creating an attractive, well-organized and sophisticated webpage.  You can use the technique to organize,...

How To Change Your Font Color Using HTML

 
 
 
 
 
June 15, 2006
By Mariya Malter
Changing your font color can have practical as well as purely fun purposes.  It can make your page look more interesting, and it can help you to organize your page.  By following...

How To Change Fonts Using HTML

 
 
 
 
 
June 14, 2006
By Mariya Malter
Changing fonts is one way to spice up a webpage.  It can also be useful to create headers, emphasis, or differentiation on a webpage.  The following steps will allow you to change...

How To Choose an HTML Editor

 
 
 
 
 
May 29, 2006
By Mariya Malter
Creating a website can be a long, tedious process.  Using an HTML editor can streamline the act of writing code to a pleasant degree.  If you find yourself in the market for...

How To Create a Website Using HTML and Web Design

 
 
 
 
 
May 29, 2006
By Mariya Malter
Creating a website is a big project, but not by any means unattainable.  More and more people are finding that they, too, can design and code a website by just spending a few...

How To Change Your Cursor Using HTML Code

 
 
 
 
 
May 23, 2006
By Mariya Malter
There are plenty of reasons to add flair to your website:  presentation, graphical representation of an idea, or just fun.  Changing the cursor (what is traditionally displayed...

How To Add Music to a Website Using HTML Code

 
 
 
 
 
May 15, 2006
By Mariya Malter
With the influx of websites that allow an individual user to sign up for his very own chunk of webspace, the demand for information on how to add zest to one's webpage is growing...

Purchase order lines

 
 
 
 
 
August 23, 2005
By Peter Morris
When creating an association in ECO you are not guaranteed the order in which the objects at the end of the association will be presented.  For this reason ECO provides a...

Application.ProcessMessages replacement

 
 
 
 
 
August 15, 2005
Not only is Application.ProcessMessages quite long to type, often extra functionality needs to be called when its used.  To this end I have created two basic wrappers which...

How to retrieve AutoInc Values with BDP in Delphi 2005

 
 
 
 
 
August 14, 2005
In this article I’ll use the term “Identity” interchangeably to note Auto generated (from RDMS) values usually for a column representing the primary key of a table. These...

Parameter exists

 
 
 
 
 
August 9, 2005
You will need the function in this article (http://www.howtodothings.com/ViewArticle.aspx?Article=760) to get this working properly function ParamExists(const ParamName: string):...

Get command line parameters

 
 
 
 
 
August 9, 2005
(* GetParameterValue GetParameterValue will return the value associated with a parameter name in the form of /paramname:paramvalue -paramname:paramvalue and /paramname -paramname ...

Get the size of a file

 
 
 
 
 
August 9, 2005
function GetFileSize(const FileName: string): Integer; var   sr: TSearchRec; begin   Result := 0;   if FindFirst(FileName, faAnyFile, sr) = 0 then   begin...

BaseForm class

 
 
 
 
 
August 9, 2005
Have you ever found yourself adding the same code to different forms?  Well now you can use the following as a base class for all forms. ===============   BEGIN...

MsgBox function

 
 
 
 
 
August 9, 2005
Personally I find both the WinAPI MessageBox and Application.MessageBox and MessageDlg functions cludgy and always add the following function to every app. function MsgBox(const...

Remove ReadOnly flag from file

 
 
 
 
 
August 9, 2005
The following function will attempt to remove the read only flag on a file, you will need the function in this article (http://www.howtodothings.com/ViewArticle.aspx?Article=755). ...

Detect if file is ReadOnly

 
 
 
 
 
August 9, 2005
The following function will return True if a file is read only. function IsReadOnly(const FileName: string): Boolean; var   sr: TSearchRec; begin   (* Assume not read...

How BoldTreeView works

 
 
 
 
 
August 3, 2005
By Peter Morris
This is just a quick set of instructions rather than a comprehensive article.  It is a copy of a posting I made in a Borland newsgroup... I'll give you an example of one...

Store and Retrieve a Bitmap in ECO

 
 
 
 
 
July 17, 2005
This article demonstrates the basics of how to store and retrieve a Bitmap in an ECO variable. First create an ECO variable in the class you wish to hold the bitmap, for example: ...

Two functions to evaluate OCL

 
 
 
 
 
June 27, 2005
With the help of Jonas Hogstrom and Jan Nordén I have written 2 functions to evaluate OCL.First is to evaluate OCL in EcoSpace:  public object EvaluateOclInEcoSpace(IElement...

Dynamic TableStyles Based on Object Type

 
 
 
 
 
April 21, 2005
Here is an example of using different TableStyles depending on the type of the currently selected object in a DataGrid. I have 2 grids, each hooked to ExpressionHandles. I...

Reading a tagged value

 
 
 
 
 
April 20, 2005
By Peter Morris
ECO allows you to add TaggedValues (name/value pair) to your model at design time.  Here is how to retrieve the value of a TaggedValue at runtime. obj.AsIObject() gives IObject...

ReEvaluate or ReSubscribe?

 
 
 
 
 
April 9, 2005
By Peter Morris
This article will explain derived members in ECO.  It's primary purpose is to describe the difference between the ReEvaluateSubscriber and ReSubscribeSubscriber parameters...

A Multi-Client-ECO application example.

 
 
 
 
 
April 9, 2005
The application we are going to build can be used for capturing worktime and breaks during the worktime. The worktime can be captured with multiple clients and the server application...

Turning on/off ECO logging

 
 
 
 
 
April 7, 2005
By Peter Morris
ECO II has a new feature in Update 2 which makes it easier to see what it is doing behind the scenes. When you run your app you can look in the messages window of the Delphi IDE...

Automatically setting the MaxLength in your GUI

 
 
 
 
 
March 15, 2005
By Peter Morris
As of D2005 udpate #2 there is a new helper class in the ECO framework named MaxLengthSupportFunctions. Normally when you databind an EditBox for example to an ECO object you...

Disabling multiplicity constraints

 
 
 
 
 
March 15, 2005
By Peter Morris
If you have ever tried reading constraints from an ECO model you have probably noticed by now that there are lots of auto-generated multiplicity constraints. I personally like...

Evaluating constraints

 
 
 
 
 
February 26, 2005
By Peter Morris
Before updating the database with changes to your objects it is wise to check that the object is in a valid state first.  ECO allows you to model constraints against your...

Sending HTML emails with ICS

 
 
 
 
 
February 10, 2005
procedure THtmlMailForm.SendButtonClick(Sender: TObject);begin if FRunning then begin MessageBeep(MB_OK); Display('**** ALREADY RUNNING ****'); Exit; end; FRunning := TRUE; try {...

Evaluating in-database OCL in code

 
 
 
 
 
February 10, 2005
By Peter Morris
In a form etc we can evaluate OCL in the DB by using an OclPSHandle, but how do you evaluate OCL in the DB in code? This tip thanks to Jan Norden from Borland. IOclService oclService...

Code derived associations

 
 
 
 
 
February 1, 2005
This article will demonstrate how to use code derived associations to implement user-defined class constraints. Code derived association is derived association without provided...

D4: Making TCheckbox Data Aware with TDBEdit

 
 
 
 
 
January 3, 2005
Simple means of making some components data-aware. Alternative data-aware checkboxes (and radiobuttons) that can be arranged more flexibly. Although more recent versions of Delphi...
123456789next ›last »
About Us | Privacy Policy | Terms & Conditions | Discussion Board | Sitemap | FAQs | Contact Us
Copyright © 2008, How To Do Things - All Rights Reserved
  • Home
  • Browse All Categories

Computers & Internet

  • Databases
  • Hardware
  • Internet
  • Networking
  • Programming
    • Delphi
    • Other
  • Software