﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.howtodothings.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>HowToDoThings.com Recent Programming Articles</title>
 <link>http://www.howtodothings.com/computers/c38-programming.html/view-all</link>
 <description>A list of recent articles by category as Teasers.</description>
 <language>en</language>
<item>
 <title>How To Become a Hacker</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-become-a-hacker</link>
 <description>&lt;p&gt;Hacking is the art of breaking into or penetrating though a secured virtual barrier or firewall normally without the consent of the owner of the virtual environment. Being an act that has always been viewed negatively, hackers always want to keep their identity anonymous to avoid arrest by the authority. Although hacking always poses a serious threat to our systems, to me it is in one way very helpful and that is why I insist on employing computer professionals who poses the skills of hacking.
&lt;p&gt;They help my company by keeping all posible penetration points closed to the public. Furthermore, they help me gather information that keeps my company at a competitive advantage in relation to my competititors.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-become-a-hacker&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-become-a-hacker#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Mon, 18 Aug 2008 13:54:42 -0500</pubDate>
 <dc:creator>omotoed</dc:creator>
 <guid isPermaLink="false">17004 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use a Java Applet</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-use-a-java-applet</link>
 <description></description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-use-a-java-applet#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Tue, 29 Jul 2008 13:26:02 -0500</pubDate>
 <dc:creator>kakulz</dc:creator>
 <guid isPermaLink="false">18646 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use an XML Parser Module</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-use-an-xml-parser-module</link>
 <description>&lt;p&gt;eXtensible Markup Language (&lt;strong&gt;XML&lt;/strong&gt;) is the industry standard for exchanging information. XML allows users to define their own tags. These tags are then used to define the data. For example, &lt;em&gt;&amp;lt;author&amp;gt;Syed Feroz Zainvi&amp;lt;/author&amp;gt;. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;An XML document has hierarchical structure. At the top, there is a document root followed by other nodes, which may in turn have further nodes. There may be attributes and data associated with these nodes.&lt;/p&gt;
&lt;p&gt;XML parsers are tools used to read or write to an XML document. These parsers are based on either &lt;strong&gt;DOM&lt;/strong&gt; (Document Object Model) or &lt;strong&gt;SAX&lt;/strong&gt; (Simple API for XML) standards. A comparison of DOM and SAX approaches is given in many books and on websites as well.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-use-an-xml-parser-module&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-use-an-xml-parser-module#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Wed, 25 Jun 2008 13:06:22 -0500</pubDate>
 <dc:creator>kakulz</dc:creator>
 <guid isPermaLink="false">16258 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use PHP (Hypertext Preprocessor)</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-use-php-hypertext-preprocessor</link>
 <description>&lt;p&gt;PHP (Hypertext Preprocessor) is a web development language, where you can develop and create small and big databases/applications with the help of MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.  PHP is a server side-scripting language like ASP.  Learning PHP (Hypertext Preprocessor) can be fun and challenging.  It is not that complicated but requires close attention. Here we will introduce only PHP and MySQL databases.  &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-use-php-hypertext-preprocessor&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-use-php-hypertext-preprocessor#comments</comments>
 <category domain="http://www.howtodothings.com/computers/world-wide-web/finding-using-online-resources">Finding &amp;amp; Using Online Resources</category>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Tue, 12 Feb 2008 14:46:33 -0600</pubDate>
 <dc:creator>jamsam</dc:creator>
 <guid isPermaLink="false">15752 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Make a Login System for Your Website</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-make-a-login-system-for-your-website</link>
 <description>&lt;p&gt; 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 and PHP, it is very easy to use.&lt;strong&gt;&lt;u&gt; &lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;
&lt;ol&gt; &lt;/ol&gt;
&lt;p&gt;First, you will need MySQL instaled in your computer. I have &lt;strong&gt;XAMMP&lt;/strong&gt; instaled and I use &lt;strong&gt;PHPmyADMIN&lt;/strong&gt; for accessing my databases. They are free for download; just search for them online. You also need to create a database in your MySQL. And as you proceed, remember that linux server file names are always case sensitives. LOGIN.PHP is not equal to login.php like on WINDOWS servers.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/files/u10023/how-to-make-a-login.jpg&quot; alt=&quot;how to make a login&quot; width=&quot;300&quot; height=&quot;200&quot; align=&quot;middle&quot; /&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-make-a-login-system-for-your-website&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-make-a-login-system-for-your-website#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Fri, 21 Dec 2007 15:11:16 -0600</pubDate>
 <dc:creator>marcosriso</dc:creator>
 <guid isPermaLink="false">12845 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Do a Preloader in Flash</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-do-a-preloader-in-flash</link>
 <description>&lt;p&gt;
I will tell you how to do a simple preloader. Yes, the famous &amp;quot;LOADING!&amp;quot;  First, open the flash; second, follow the steps below:
&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-do-a-preloader-in-flash&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-do-a-preloader-in-flash#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 06 Dec 2007 13:50:16 -0600</pubDate>
 <dc:creator>vinimaz</dc:creator>
 <guid isPermaLink="false">11653 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use SelectionFormula in a Crystal Reports Subreport</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-use-selectionformula-in-a-crystal-reports-subreport</link>
 <description>&lt;p&gt;If you want to select some data from a subreport inside a report with a different query provided by a VB6 code, you need to follow the steps below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Create a report and insert a subreport.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use a Crystal OCX component in your VB6 form.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create a CrystalReport object.&lt;/strong&gt; (i.e: Dim Crystal1 as CrystalReport)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Assign the property SubReportToChange: &lt;/strong&gt;with this property you can assign values to the subreport you want. (i.e: Crystal1.SubreportToChange = &amp;quot;MySubreport&amp;quot;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pass the selection formula to the subreport.&lt;/strong&gt; (i.e: Crystal1.SelectionFormula = &amp;quot;Your query here&amp;quot;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Show your report: &lt;/strong&gt;use the Action event to show your report and the subreport. (i.e: Crystal1.Action 1)
	&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-use-selectionformula-in-a-crystal-reports-subreport#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 06 Dec 2007 13:00:38 -0600</pubDate>
 <dc:creator>vicfalmac</dc:creator>
 <guid isPermaLink="false">11629 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Do Web Design Using Web Page Maker</title>
 <link>http://www.howtodothings.com/computers/how-to-web-design-using-web-page-maker</link>
 <description>&lt;p&gt;
There is a lot of &lt;a href=&quot;/computers/a4480-how-to-buy-web-design-software.html&quot;&gt;web design software&lt;/a&gt; out there on the market. But, in this instance, I highly recommend that you use Web Page Maker v 2.5 because it&amp;#39;s free and so far it has the most user friendly graphical interface.
&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-web-design-using-web-page-maker&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-web-design-using-web-page-maker#comments</comments>
 <category domain="http://www.howtodothings.com/computers/world-wide-web/finding-using-online-resources">Finding &amp;amp; Using Online Resources</category>
 <category domain="http://www.howtodothings.com/computers/c464-graphic-design.html">Graphic Design</category>
 <category domain="http://www.howtodothings.com/computers/c468-office-software.html">Office Software</category>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Fri, 02 Nov 2007 12:49:24 -0500</pubDate>
 <dc:creator>pmzlabis</dc:creator>
 <guid isPermaLink="false">9524 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Convert String to Date Using ASP</title>
 <link>http://www.howtodothings.com/computers/how-to-convert-string-to-date-using-asp</link>
 <description>&lt;p&gt;ASP makes it very easy to convert a string to a date format using built-in VBScript functionality.  We&amp;#39;re going to use the CDate function to accomplish this.  The CDate function has one argument, which is the text to be converted to date format.  &lt;/p&gt;
&lt;p&gt;Here&amp;#39;s how to do it:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Open up your text editor and type the following piece of code:&lt;/strong&gt;
&lt;p&gt;&amp;lt;%&lt;/p&gt;
&lt;p&gt;Dim MyDate&lt;/p&gt;
&lt;p&gt;MyDate = &amp;quot;April 12, 1978&amp;quot;&lt;/p&gt;
&lt;p&gt;%&amp;gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Now, use the function this way to convert the date, and print the new format to the screen:&lt;/strong&gt;
&lt;p&gt;&amp;lt;%&lt;/p&gt;
&lt;p&gt;Response.Write CDate(MyDate)&lt;/p&gt;
&lt;p&gt;%&amp;gt; &lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;  The result will be displayed in your browser like this:&lt;/p&gt;
&lt;p&gt; 04/12/1978&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-convert-string-to-date-using-asp&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-convert-string-to-date-using-asp#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Fri, 19 Oct 2007 12:40:57 -0500</pubDate>
 <dc:creator>christphe6</dc:creator>
 <guid isPermaLink="false">9075 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Learn Syntax In C Programming</title>
 <link>http://www.howtodothings.com/computers/how-to-learn-syntax-in-c-programming</link>
 <description>&lt;p&gt;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 C programming that you need to know:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-learn-syntax-in-c-programming&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-learn-syntax-in-c-programming#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Fri, 07 Sep 2007 12:21:26 -0500</pubDate>
 <dc:creator>zerofox</dc:creator>
 <guid isPermaLink="false">7360 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Find HTML Editor Freeware</title>
 <link>http://www.howtodothings.com/computers/how-to-find-html-editor-freeware</link>
 <description>&lt;p&gt;Looking for an HTML Editor that is Free? (Freeware). Your free HTML editor should include a WYSIWYG editor, higlight tags, easy-script-install, CSS edit support and the other features you need. Try searching &amp;quot;HTML Editor Freeware&amp;quot; with the Google Search Engine. All you need is the patience to search through the results and find the HTML editor that you&amp;#39;re looking for. Here&amp;#39;s the procedure you need to know in order to search for the right HTML editor:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-find-html-editor-freeware&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-find-html-editor-freeware#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 06 Sep 2007 14:23:34 -0500</pubDate>
 <dc:creator>zerofox</dc:creator>
 <guid isPermaLink="false">7051 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Send an Escape Sequence in C Programming</title>
 <link>http://www.howtodothings.com/computers/how-to-send-an-escape-sequence-in-c-programming</link>
 <description>&lt;p&gt;The Escape Sequences are special characters for formatting; they can be recognized in the code by their characteristic backslash followed by any character that does a certain purpose. These special printing characters are used to make the output readable when printing characters to the screen, file, or other device (such as printer). Below are examples of implementation using escape sequences in C: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Escape sequences in printing to the screen.&lt;/strong&gt; This example code will show you a program using escape sequence newline (&amp;#39;\n&amp;#39;) to separate between two sentences.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-send-an-escape-sequence-in-c-programming&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-send-an-escape-sequence-in-c-programming#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 06 Sep 2007 13:50:37 -0500</pubDate>
 <dc:creator>zerofox</dc:creator>
 <guid isPermaLink="false">7297 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Protect Your Web Pages</title>
 <link>http://www.howtodothings.com/computers/how-to-protect-your-web-pages</link>
 <description>&lt;p&gt;There might be many reasons you why want to prevent visitors from copying your website content. Server side scripts like asp.net and php are always out of the reach of end users, but what about text and images? Sometimes copyright notices don’t seem to be enough and you need to do something more. &lt;/p&gt;
&lt;p&gt;So, is there really a way to protect your html pages? The straight answer to this question is no, at least not against the experienced users. But there are a few things you can do to make it harder for the visitors to copy or print the content of your website. Keep in mind that the techniques mentioned here are just a warning to your website visitors rather than a protection for your content. The instant hack to almost all of these tricks is disabling JavaScript. Besides, some browsers, like Opera, do not allow such scripts.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-protect-your-web-pages&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-protect-your-web-pages#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 06 Sep 2007 13:25:53 -0500</pubDate>
 <dc:creator>erekhsha</dc:creator>
 <guid isPermaLink="false">7433 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Learn Python</title>
 <link>http://www.howtodothings.com/computers/how-to-learn-python</link>
 <description>&lt;p&gt;Learning a new language requires understanding the rules and accent of that language. Even programming languages are no exception for this. In open source world, there are lots of uncluttered languages to get your work done quickly. Python is by far the most widely used language which can be used in scripting as well as stand alone applications. It is used by many open source applications and developers.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Obtaining Python&lt;/strong&gt;. The first step in learning Python is to download and install it. You can download Python from its official site. You can also install Activepython, if you have a windows machine. 
&lt;p&gt;&lt;em&gt;If you are using windows&lt;/em&gt;: Download the installer and run the executable. This will install IDLE, Module docs, command-line Python and Python manuals.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-learn-python&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-learn-python#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Tue, 04 Sep 2007 11:56:51 -0500</pubDate>
 <dc:creator>mahesh2k</dc:creator>
 <guid isPermaLink="false">7301 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Program in C</title>
 <link>http://www.howtodothings.com/computers/how-to-program-in-c</link>
 <description>&lt;p&gt;So you&amp;#39;re interested in how to program in C. C is a programming language well known for its power, accessibility through hardware level (low-level programming), efficiency and speed in execution of programs, and its portability to be processed in different operating systems with little or no alteration. In this article I&amp;#39;ll try my best to guide you step-by-step building a simple program, nothing too fancy; in this case, we&amp;#39;ll just print characters to the screen, which globally is known as Hello World program.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-program-in-c&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-program-in-c#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 23 Aug 2007 23:40:59 -0500</pubDate>
 <dc:creator>zerofox</dc:creator>
 <guid isPermaLink="false">7055 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Learn PHP Programming</title>
 <link>http://www.howtodothings.com/computers/a4576-how-to-learn-php-programming.html</link>
 <description>&lt;p&gt;PHP is said to be an acronym for &quot;PHP: Hypertext Preprocessor&quot;, however it&#039;s probably just HPP (hypertext preprocessor) rearranged to sound better.  It is an open source scripting language, meaning that it&#039;s source code is freely available for anyone to work with it.  More importantly it is free for you to download and use.  &lt;/p&gt;
&lt;p&gt;PHP is server side, meaning that it is processed by the web server at the web host rather than the browser, which gives the web developer more control over the outcome.  Although it can be used for console scripting, it is primarily used by web developers to implement dynamic content.  Dynamic content is created on the fly using a combination of PHP and HTML.  HTML is usually used to create the look and feel of the site (a template) and PHP manipulates data from a database. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a4576-how-to-learn-php-programming.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a4576-how-to-learn-php-programming.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Tue, 20 Feb 2007 23:45:00 -0600</pubDate>
 <dc:creator>Daniel452</dc:creator>
 <guid isPermaLink="false">3360 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use PHP to Interact with MySQL</title>
 <link>http://www.howtodothings.com/computers/a4095-how-to-use-php-to-interact-with-mysql.html</link>
 <description>&lt;ol&gt;
&lt;li&gt; 								&lt;b&gt;Introduction&lt;/b&gt;. 	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 and MySQL        copy installed on your system and they all work.  I will also assume that you have        basic knowledge about PHP including PHP syntax and how to run a PHP script.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt; 								&lt;b&gt;PHP and MySQL&lt;/b&gt;.  PHP already includes a MySQL module in its distribution, so you won&#039;t need        to install an additional software module.
&lt;/li&gt;
&lt;li&gt; 								&lt;b&gt;Create MySQL user.&lt;/b&gt;  To create a username and password for your script execute the MySQL console        application. You must login as &lt;em&gt;root&lt;/em&gt;, then execute this SQL statement:
&lt;p&gt;       CREATE DATABASE db_test;&lt;br /&gt;       USE db_test;&lt;br /&gt;       CREATE TABLE tbl_phonebook&lt;br /&gt;       (&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a4095-how-to-use-php-to-interact-with-mysql.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a4095-how-to-use-php-to-interact-with-mysql.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Sun, 03 Dec 2006 19:16:00 -0600</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">2922 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Write HTML Forms</title>
 <link>http://www.howtodothings.com/computers/a3742-how-to-write-html-forms.html</link>
 <description>&lt;p&gt;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. The appearance of these form elements, however, may vary based on the browser you are using. This tutorial assumes you have at least a basic knowledge of HTML.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a3742-how-to-write-html-forms.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a3742-how-to-write-html-forms.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Mon, 02 Oct 2006 19:58:00 -0500</pubDate>
 <dc:creator>Daniel452</dc:creator>
 <guid isPermaLink="false">2610 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Develop in Visual Basic</title>
 <link>http://www.howtodothings.com/computers/a3407-how-to-develop-in-visual-basic.html</link>
 <description>&lt;p&gt;Microsoft&#039;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 (rapid application development) environment. What this means is that Visual Basic has dozens of tools to help you create your application fast.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a3407-how-to-develop-in-visual-basic.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a3407-how-to-develop-in-visual-basic.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Fri, 28 Jul 2006 06:48:00 -0500</pubDate>
 <dc:creator>Randy436</dc:creator>
 <guid isPermaLink="false">2311 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Learn HTML Code Tags</title>
 <link>http://www.howtodothings.com/computers/a3256-how-to-learn-html-code-tags.html</link>
 <description>&lt;p&gt;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 simple webpage.&lt;/p&gt;
&lt;p&gt;First of all, it is important to know that almost every tag has an opening and a closing.  When this occurs, we open with &amp;lt;tag&amp;gt;, and close with &amp;lt;/tag&amp;gt;.  Some tags do &lt;i&gt;not&lt;/i&gt; open and close.  These are just simply inserted with &amp;lt;tag&amp;gt; and never closed (though in the XHTML standard, they would be typed &amp;lt;tag/&amp;gt;).  In the following examples, tags with no slashes in them denote that they must be opened and closed, while tags with a slash after the content (&amp;lt;tag/&amp;gt;) only need to be inserted and never closed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;:  &quot;&amp;lt;tag&amp;gt;&quot; is not a real tag.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a3256-how-to-learn-html-code-tags.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a3256-how-to-learn-html-code-tags.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Mon, 26 Jun 2006 08:16:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">2180 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Change Your Font Size Using HTML</title>
 <link>http://www.howtodothings.com/computers/a3174-how-to-change-your-font-size-using-html.html</link>
 <description>&lt;p&gt;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, separate and offset information, and just generally improve the look of your webpage.  Here are the steps you can follow to change font size on your webpage:&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a3174-how-to-change-your-font-size-using-html.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a3174-how-to-change-your-font-size-using-html.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Fri, 16 Jun 2006 18:01:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">2107 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Change Your Font Color Using HTML</title>
 <link>http://www.howtodothings.com/computers/a3153-how-to-change-your-font-color-using-html.html</link>
 <description>&lt;p&gt;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 these steps, you can change font color on your webpage.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a3153-how-to-change-your-font-color-using-html.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a3153-how-to-change-your-font-color-using-html.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Thu, 15 Jun 2006 16:54:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">2098 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Change Fonts Using HTML</title>
 <link>http://www.howtodothings.com/computers/a3138-how-to-change-fonts-using-html.html</link>
 <description>&lt;p&gt;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 your fonts with HTML.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a3138-how-to-change-fonts-using-html.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a3138-how-to-change-fonts-using-html.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Wed, 14 Jun 2006 13:48:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">2084 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Choose an HTML Editor</title>
 <link>http://www.howtodothings.com/computers/a2970-how-to-choose-an-html-editor.html</link>
 <description>&lt;p&gt;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 a good HTML editor, it is important to determine what you want from one.  By asking yourself the following questions, you can zero in on the HTML editor that is right for you.&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a2970-how-to-choose-an-html-editor.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a2970-how-to-choose-an-html-editor.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Mon, 29 May 2006 20:41:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">1946 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Create a Website Using HTML and Web Design</title>
 <link>http://www.howtodothings.com/computers/a2969-how-to-create-a-website-using-html-and-web-design.html</link>
 <description>&lt;p&gt;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 hours in study and deciding on specific goals.  The following will outline the basic steps in creating a website.&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a2969-how-to-create-a-website-using-html-and-web-design.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a2969-how-to-create-a-website-using-html-and-web-design.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Mon, 29 May 2006 20:06:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">1945 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Change Your Cursor Using HTML Code</title>
 <link>http://www.howtodothings.com/computers/a2884-how-to-change-your-cursor-using-html-code.html</link>
 <description>&lt;p&gt;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 as a white arrow controlled by your mouse) is just one of many changes that can be made, but it is an interesting one.  It offers many unique options to the webmaster.  Following are the steps involved in changing your website cursor.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a2884-how-to-change-your-cursor-using-html-code.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a2884-how-to-change-your-cursor-using-html-code.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Tue, 23 May 2006 20:21:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">1864 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Add Music to a Website Using HTML Code</title>
 <link>http://www.howtodothings.com/computers/a2739-how-to-add-music-to-a-website-using-html-code.html</link>
 <description>&lt;p&gt;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&#039;s webpage is growing larger.  Many webspace providers (such as &lt;a href=&quot;http://www.livejournal.com&quot;&gt;Livejournal&lt;/a&gt; and &lt;a href=&quot;http://www.myspace.com&quot;&gt;Myspace&lt;/a&gt;) allow the everyday user to make minor (or more drastic) adjustments to her personal webpage, and embedding music in the background is one of them.  This tutorial will explain the steps that must be taken to add background music to your website.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a2739-how-to-add-music-to-a-website-using-html-code.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a2739-how-to-add-music-to-a-website-using-html-code.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c152-net.html">Other</category>
 <pubDate>Mon, 15 May 2006 17:37:00 -0500</pubDate>
 <dc:creator>Mariya279</dc:creator>
 <guid isPermaLink="false">1725 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Purchase order lines</title>
 <link>http://www.howtodothings.com/computers/a1516-purchase-order-lines.html</link>
 <description>&lt;p&gt;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.&amp;nbsp; For this reason ECO provides a Boolean &amp;quot;ordered&amp;quot; property on association ends.&lt;/p&gt;
&lt;p&gt; When you set Ordered = True in your model and then generate your database, ECO will create an additional column in your database identifying the sequence of the objects.&lt;/p&gt;
&lt;p&gt; I have just been creating SalesInvoice / SalesInvoiceLine classes and chose to have an ordered association, basically because it is standard industry practise to identify each line of an Invoice/Order with a sequencial number, making it easily identifyable when discussing it.&lt;/p&gt;
&lt;p&gt; It would have been nice if I could have used an OCL derived attribute with an expression similar to this:&lt;/p&gt;
&lt;p&gt;this.SalesInvoice.lines-&amp;gt;indexOf(self)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1516-purchase-order-lines.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1516-purchase-order-lines.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Tue, 23 Aug 2005 05:23:00 -0500</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">638 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Application.ProcessMessages replacement</title>
 <link>http://www.howtodothings.com/computers/a1514-applicationprocessmessages-replacement.html</link>
 <description>&lt;p&gt;Not only is Application.ProcessMessages quite long to type, often extra functionality needs to be called when its used.&amp;nbsp; To this end I have created two basic wrappers which can be used in its place:&lt;/p&gt;
&lt;p&gt; ...&lt;/p&gt;
&lt;p&gt; procedure ProcessMsg(); overload;&lt;br /&gt; procedure ProcessMsg(const SleepFor: Word); overload;&lt;/p&gt;
&lt;p&gt; implementation&lt;/p&gt;
&lt;p&gt; procedure ProcessMsg();&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; ProcessMsg(0);&lt;br /&gt; end;&lt;/p&gt;
&lt;p&gt; procedure ProcessMsg(const SleepFor: Word); overload;&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; Application.ProcessMessages();&lt;br /&gt; &amp;nbsp; Sleep(SleepFor);&lt;br /&gt; end;&lt;/p&gt;
&lt;p&gt; ...&lt;/p&gt;
&lt;p&gt; Now instead of writing Application.ProcessMessages(); in your code you can write ProcessMsg(); instead.&amp;nbsp; And in the future you can extend what happens around Application.ProcessMessages calls without visiting lots of different areas of your code.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1514-applicationprocessmessages-replacement.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1514-applicationprocessmessages-replacement.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Mon, 15 Aug 2005 06:46:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">636 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How to retrieve AutoInc Values with BDP in Delphi 2005</title>
 <link>http://www.howtodothings.com/computers/a1513-how-to-retrieve-autoinc-values-with-bdp-in-delphi-2005.html</link>
 <description>&lt;p&gt;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 are called “sequences” in Oracle and “generators”  in Interbase.&lt;br /&gt; Actually, there are 3 options to get the identity value back using ADO .NET in general:
&lt;ol&gt;
&lt;li&gt;Use a batch query (the database obviously has to support this)&lt;/li&gt;
&lt;li&gt;Use a stored procedure (as the Insert command) having as an output parameter the “Identity” value (this is the fastest and thus recommended method)&lt;/li&gt;
&lt;li&gt;Handle Adapter&#039;s RowUpdated /RowUpdating event and issue a &amp;quot;SELECT @@IDENTITY &amp;quot; (in case of SQL Server) query in code in this event handler (slowest) &lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1513-how-to-retrieve-autoinc-values-with-bdp-in-delphi-2005.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1513-how-to-retrieve-autoinc-values-with-bdp-in-delphi-2005.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Sun, 14 Aug 2005 14:42:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">635 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Parameter exists</title>
 <link>http://www.howtodothings.com/computers/a1512-parameter-exists.html</link>
 <description>&lt;p&gt;You will need the function in this article (&lt;a href=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=760&quot; title=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=760&quot;&gt;http://www.howtodothings.com/ViewArticle.aspx?Article=760&lt;/a&gt;) to get this working properly&lt;/p&gt;
&lt;p&gt; function ParamExists(const ParamName: string): Boolean;&lt;br /&gt; var&lt;br /&gt; &amp;nbsp; S: string;&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; Result := GetParameterValue(ParamName, [&#039;/&#039;, &#039;-&#039;], &#039;:&#039;, S);&lt;br /&gt; end;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1512-parameter-exists.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:55:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">634 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Get command line parameters</title>
 <link>http://www.howtodothings.com/computers/a1511-get-command-line-parameters.html</link>
 <description>&lt;p&gt;(* GetParameterValue&lt;/p&gt;
&lt;p&gt; GetParameterValue will return the value associated with a parameter name in the form of&lt;/p&gt;
&lt;p&gt; /paramname:paramvalue&lt;br /&gt; -paramname:paramvalue&lt;/p&gt;
&lt;p&gt; and&lt;/p&gt;
&lt;p&gt; /paramname&lt;br /&gt; -paramname&lt;/p&gt;
&lt;p&gt; ParamName - Name of the parameter (paramname)&lt;br /&gt; SwitchChars - Parameter switch identifiers (/ or -)&lt;br /&gt; Seperator - The char that sits between paramname and paramvalue (:)&lt;br /&gt; Value - The value of the parameter (paramvalue) if it exists&lt;/p&gt;
&lt;p&gt; Returns - Boolean, true if the parameter was found, false if parameter does not exist&lt;/p&gt;
&lt;p&gt; typical usage&lt;/p&gt;
&lt;p&gt; Parameter&lt;br /&gt; -P=c:\temp\&lt;br /&gt; -S&lt;/p&gt;
&lt;p&gt; GetParameterValue(&#039;p&#039;, [&#039;/&#039;, &#039;-&#039;], &#039;=&#039;, sValue);&lt;/p&gt;
&lt;p&gt; sValue will contain c:\temp\&lt;/p&gt;
&lt;p&gt; *)&lt;br /&gt; function GetParameterValue(const ParamName: string; SwitchChars: TSysCharSet;&lt;br /&gt; &amp;nbsp; Seperator: Char; var Value: string): Boolean;&lt;br /&gt; var&lt;br /&gt; &amp;nbsp; I, Sep: Longint;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1511-get-command-line-parameters.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1511-get-command-line-parameters.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:53:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">633 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Get the size of a file</title>
 <link>http://www.howtodothings.com/computers/a1510-get-the-size-of-a-file.html</link>
 <description>&lt;p&gt;function GetFileSize(const FileName: string): Integer;&lt;br /&gt; var&lt;br /&gt; &amp;nbsp; sr: TSearchRec;&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; Result := 0;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; if FindFirst(FileName, faAnyFile, sr) = 0 then&lt;br /&gt; &amp;nbsp; begin&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; Result := sr.Size;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; FindClose(sr);&lt;br /&gt; &amp;nbsp; end;&lt;br /&gt; end;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1510-get-the-size-of-a-file.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:52:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">632 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>BaseForm class</title>
 <link>http://www.howtodothings.com/computers/a1509-baseform-class.html</link>
 <description>&lt;p&gt;Have you ever found yourself adding the same code to different forms?&amp;nbsp; Well now you can use the following as a base class for all forms.&lt;/p&gt;
&lt;p&gt; ===============&amp;nbsp;&amp;nbsp; BEGIN CODE&amp;nbsp; ======================&lt;br /&gt; unit BaseForm;&lt;/p&gt;
&lt;p&gt; interface&lt;/p&gt;
&lt;p&gt; uses SysUtils, Classes, Forms, Windows;&lt;/p&gt;
&lt;p&gt; type&lt;br /&gt; &amp;nbsp; TBaseForm = class(TForm)&lt;br /&gt; &amp;nbsp; protected&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; function IsModal(): Boolean;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; procedure KeyDown(var Key: Word; Shift: TShiftState); override;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; procedure ShowError(E: Exception);&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; function MsgBox(Msg: string;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uType: Integer = MB_OK or MB_ICONSTOP): Integer; overload;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; function MsgBox(Msg, MsgCaption: string;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uType: Integer = MB_OK or MB_ICONSTOP): Integer; overload;&lt;br /&gt; &amp;nbsp; end;&lt;/p&gt;
&lt;p&gt; implementation&lt;/p&gt;
&lt;p&gt; uses Controls;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1509-baseform-class.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1509-baseform-class.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:51:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">631 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>MsgBox function</title>
 <link>http://www.howtodothings.com/computers/a1508-msgbox-function.html</link>
 <description>&lt;p&gt;Personally I find both the WinAPI MessageBox and Application.MessageBox and MessageDlg functions cludgy and always add the following function to every app.&lt;/p&gt;
&lt;p&gt; function MsgBox(const Msg: string;&lt;br /&gt; &amp;nbsp; MsgType: Integer = MB_OK or MB_ICONSTOP): Integer;&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; Result := MessageBox(Application.Handle, PChar(Msg),&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; PChar(Application.Title), MsgType);&lt;br /&gt; end;&lt;/p&gt;
&lt;p&gt; requires that Forms.pas is in the uses clause.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1508-msgbox-function.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:46:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">630 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Remove ReadOnly flag from file</title>
 <link>http://www.howtodothings.com/computers/a1507-remove-readonly-flag-from-file.html</link>
 <description>&lt;p&gt;The following function will attempt to remove the read only flag on a file, you will need the function in this article (&lt;a href=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=755&quot; title=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=755&quot;&gt;http://www.howtodothings.com/ViewArticle.aspx?Article=755&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt; function RemoveReadOnly(const FileName: string): Boolean;&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; (* Assume Success *)&lt;br /&gt; &amp;nbsp; Result := True;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; (* Make sure the file is read only before&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; we try and change the attributes *)&lt;br /&gt; &amp;nbsp; if (IsReadOnly(FileName)) then&lt;br /&gt; &amp;nbsp; begin&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; SetFileAttributes(PChar(FileName), FILE_ATTRIBUTE_NORMAL);&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; Result := not IsReadOnly(FileName);&lt;br /&gt; &amp;nbsp; end;&lt;br /&gt; end;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1507-remove-readonly-flag-from-file.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:43:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">629 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Detect if file is ReadOnly</title>
 <link>http://www.howtodothings.com/computers/a1506-detect-if-file-is-readonly.html</link>
 <description>&lt;p&gt;The following function will return True if a file is read only.&lt;/p&gt;
&lt;p&gt; function IsReadOnly(const FileName: string): Boolean;&lt;br /&gt; var&lt;br /&gt; &amp;nbsp; sr: TSearchRec;&lt;br /&gt; begin&lt;br /&gt; &amp;nbsp; (* Assume not read only *)&lt;br /&gt; &amp;nbsp; Result := False;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; if FindFirst(FileName, faAnyFile, sr) = 0 then&lt;br /&gt; &amp;nbsp; begin&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; Result := (sr.Attr and faReadOnly) &amp;lt;&amp;gt; 0;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; FindClose(sr);&lt;br /&gt; &amp;nbsp; end;&lt;br /&gt; end;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1506-detect-if-file-is-readonly.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 10 Aug 2005 00:41:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">628 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How BoldTreeView works</title>
 <link>http://www.howtodothings.com/computers/a1505-how-boldtreeview-works.html</link>
 <description>&lt;p&gt;This is just a quick set of instructions rather than a comprehensive article.&amp;nbsp; It is a copy of a posting I made in a Borland newsgroup...&lt;/p&gt;
&lt;p&gt; I&#039;ll give you an example of one I did  recently....&lt;/p&gt;
&lt;p&gt; 01) Set the BoldHandle property to your  BoldSystemHandle&lt;br /&gt; 02) Double-click the treeview to bring up the editor&lt;br /&gt; 03)  Click the &amp;quot;Root&amp;quot; element&lt;br /&gt; 04) If it hasn&#039;t already got a child, click &amp;quot;Add  List Fragment&amp;quot;&lt;br /&gt; 05) In ElementExpression enter the main OCL, for  example&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;Customer.allInstances&amp;quot;&lt;br /&gt; 06) Set InterpretAsList to True&lt;br /&gt; 07)  Set ControllerExpression to &#039;Customer&#039; (including quotes)&lt;/p&gt;
&lt;p&gt; What you have  now is a root that grabs a list of Customers.&amp;nbsp; The BTV knows that it needs a  &amp;quot;node controller&amp;quot; called &amp;quot;Customer&amp;quot; to represent each item in the list  (which is why InterpretAsList = True).&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1505-how-boldtreeview-works.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1505-how-boldtreeview-works.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 03 Aug 2005 04:22:00 -0500</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">627 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Store and Retrieve a Bitmap in ECO</title>
 <link>http://www.howtodothings.com/computers/a1501-store-and-retrieve-a-bitmap-in-eco.html</link>
 <description>&lt;p&gt;This article demonstrates the basics of how to store and retrieve a Bitmap in an ECO variable.&lt;/p&gt;
&lt;p&gt; First create an ECO variable in the class you wish to hold the bitmap, for example:&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;FCanvas: Byte&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; Note that we really want a byte array, so right click on FCanvas and select &amp;quot;Go to Definition&amp;quot;.&lt;br /&gt; You can now change the definition to byte[] as follows:&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;private byte[] FCanvas&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; To write the Bitmap to FCanvas use the following:&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;ImageConverter ic = new ImageConverter();&lt;/p&gt;
&lt;p&gt; System.Byte[] ba = (System.Byte[])ic.ConvertTo(bmp, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typeof(System.Byte[]));&lt;br /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt; FCanvas = ba;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; To retrieve the bitmap from FCanvas use the following:&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;System.IO.Stream str = new System.IO.MemoryStream(FCanvas);&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1501-store-and-retrieve-a-bitmap-in-eco.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1501-store-and-retrieve-a-bitmap-in-eco.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Sun, 17 Jul 2005 17:15:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">625 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Two functions to evaluate OCL</title>
 <link>http://www.howtodothings.com/computers/a1496-two-functions-to-evaluate-ocl.html</link>
 <description>&lt;p&gt;With the help of Jonas Hogstrom and Jan Nord&amp;eacute;n I have written 2 functions to evaluate OCL.&lt;br /&gt;First is to evaluate OCL in EcoSpace:&lt;br /&gt;&amp;nbsp; public object EvaluateOclInEcoSpace(IElement rootValue, string ocl) &lt;br /&gt;&amp;nbsp; { &lt;br /&gt;&amp;nbsp; &amp;nbsp;object result = null; &lt;br /&gt;&amp;nbsp; &amp;nbsp;IElement e = ((IOclService) &lt;br /&gt;this.GetEcoService(typeof(IOclService))).EvaluateAndSubscrib&amp;shy;e(rootValue, ocl, &lt;br /&gt;null, null); &lt;br /&gt;&amp;nbsp; &amp;nbsp;if (e != null) &lt;br /&gt;&amp;nbsp; &amp;nbsp; result = e.AsObject; &lt;br /&gt;&amp;nbsp; &amp;nbsp;return result; &lt;br /&gt;&amp;nbsp; } Second is to evaluate OCL in PS:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; public object EvaluateOclInDB(IElement rootValue , string ocl) &lt;br /&gt;&amp;nbsp; { &lt;br /&gt;&amp;nbsp; &amp;nbsp;object result = null; &lt;br /&gt;&amp;nbsp; &amp;nbsp;IElement InternalElement = null; &lt;br /&gt;&amp;nbsp; &amp;nbsp;IOclService oclService = (IOclService) &lt;br /&gt;this.GetEcoService(typeof(IOcl&amp;shy;Service));&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1496-two-functions-to-evaluate-ocl.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1496-two-functions-to-evaluate-ocl.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Mon, 27 Jun 2005 16:47:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">623 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Dynamic TableStyles Based on Object Type</title>
 <link>http://www.howtodothings.com/computers/a1473-dynamic-tablestyles-based-on-object-type.html</link>
 <description>&lt;p&gt;Here is an example of using different TableStyles depending on the type of the currently selected&amp;nbsp;object in a DataGrid. I have 2 grids, each hooked to ExpressionHandles. I want to display a different set of columns, depending on the type of object in the top grid.&lt;br /&gt;Firstly the application need to know when a new object has been selected. Here a CurrencyManager is being hooked up.&amp;nbsp;dgStock is a DataGrid, ehRoot is an ExpressionHandle containing the Stock objects.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;private &amp;nbsp; cmStock: CurrencyManager;&lt;br /&gt;....&lt;br /&gt;procedure TfrmStock.TfrmStock_Load(sender: System.Object; e: System.EventArgs);&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; cmStock := CurrencyManager(dgStock.BindingContext[Self.ehRoot]);&lt;br /&gt;&amp;nbsp; Include(cmStock.PositionChanged, Self.StockGridRowChanged);&lt;br /&gt;end;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1473-dynamic-tablestyles-based-on-object-type.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1473-dynamic-tablestyles-based-on-object-type.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Thu, 21 Apr 2005 08:15:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">616 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Reading a tagged value</title>
 <link>http://www.howtodothings.com/computers/a1472-reading-a-tagged-value.html</link>
 <description>&lt;p&gt;ECO allows you to add TaggedValues (name/value pair) to your model at design time.&amp;nbsp; Here is how to retrieve the value of a TaggedValue at runtime.&lt;/p&gt;
&lt;p&gt; obj.AsIObject() gives IObject&lt;br /&gt; IObject.UmlType gives an IClassifier&lt;br /&gt; IClassifier is an IModelElement, therefore....&lt;br /&gt; IClassifier.TaggedValues[&#039;hello&#039;] gives ITaggedValue&lt;br /&gt; ITaggedValue.Value gives the string&lt;/p&gt;
&lt;p&gt;ClassDisplayName := &lt;br /&gt; &amp;nbsp; obj.AsIObject().UmlType.TaggedValues[&#039;EcoExtensions.DisplayName&#039;];&lt;/p&gt;
&lt;p&gt; IProperty is also an IElement, so you can get tagged values for properties in exactly the same way.&lt;/p&gt;
&lt;p&gt;obj.AsIObject().Properties[&#039;Name&#039;].UmlType.......&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1472-reading-a-tagged-value.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Wed, 20 Apr 2005 23:42:00 -0500</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">615 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>ReEvaluate or ReSubscribe?</title>
 <link>http://www.howtodothings.com/computers/a1467-reevaluate-or-resubscribe.html</link>
 <description>&lt;p&gt;This article will explain derived members in ECO.&amp;nbsp; It&#039;s primary purpose is to describe the difference between the ReEvaluateSubscriber and ReSubscribeSubscriber parameters when you derive members in code.&lt;/p&gt;
&lt;p&gt; One of the excellent features of Bold which have made the transition over into ECO is derived members.&amp;nbsp; A derived member is a bit like a calculated field on a dataset, except it is only calculated the first time you request its value and then that value is cached to processing time.&lt;/p&gt;
&lt;p&gt; Take person&#039;s FullName as an example.&amp;nbsp; Full name would be calculated as&lt;/p&gt;
&lt;p&gt;Result := Title + &#039; &#039; + FirstName + &#039; &#039; + LastName;&lt;/p&gt;
&lt;p&gt; The first important step to creating such an attribute in ECO is to mark the attribute Derived.&amp;nbsp; It is actually possible to specify some &amp;quot;Derivation OCL&amp;quot; and have the ECO system derive everything for you&lt;/p&gt;
&lt;p&gt;title + &#039; &#039; + firstName + &#039; &#039; + lastName&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1467-reevaluate-or-resubscribe.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1467-reevaluate-or-resubscribe.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Sat, 09 Apr 2005 10:01:00 -0500</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">610 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>A Multi-Client-ECO application example.</title>
 <link>http://www.howtodothings.com/computers/a1466-a-multi-client-eco-application-example.html</link>
 <description>&lt;p&gt;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 provides a view of all the data captured.&lt;br /&gt; &lt;strong&gt;[The client part]&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;You start with setting up a winform eco application. This application shall be the client. I named it WorkTimeClient.&lt;br /&gt;You need to have the UML Classes in a package so that you can add them later on to the server application.&lt;br /&gt;&lt;img src=&quot;/MemberData/43c71de27db04617ad26bc4af68b46ec/eco1.png&quot; alt=&quot;New File - ECO UML Package&quot; title=&quot;New File - ECO UML Package&quot; hspace=&quot;0&quot; align=&quot;middle&quot; /&gt;&lt;br /&gt;Create the following model:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/MemberData/43c71de27db04617ad26bc4af68b46ec/eco2.png&quot; alt=&quot;WorkTime Model&quot; title=&quot;WorkTime Model&quot; hspace=&quot;0&quot; align=&quot;middle&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1466-a-multi-client-eco-application-example.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1466-a-multi-client-eco-application-example.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Sat, 09 Apr 2005 05:00:00 -0500</pubDate>
 <dc:creator />
 <guid isPermaLink="false">609 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Turning on/off ECO logging</title>
 <link>http://www.howtodothings.com/computers/a1465-turning-onoff-eco-logging.html</link>
 <description>&lt;p&gt;ECO II has a new feature in Update 2 which makes it easier to see what it is doing behind the scenes.&lt;/p&gt;
&lt;p&gt; When you run your app you can look in the messages window of the Delphi IDE and see what is happening.&amp;nbsp; You can turn on/off switches for different areas of ECO including OCL, PMapper, etc by setting the following options.&lt;/p&gt;
&lt;p&gt; Borland.Eco.&lt;strong&gt;Logging&lt;/strong&gt;.EcoLogSwitches.LogOcl := false/true;&lt;br /&gt; Borland.Eco.&lt;strong&gt;Logging&lt;/strong&gt;.EcoLogSwitches.LogPMapper := false/true;&lt;br /&gt; Borland.Eco.&lt;strong&gt;Logging&lt;/strong&gt;.EcoLogSwitches.LogRegions := false/true;&lt;br /&gt; Borland.Eco.&lt;strong&gt;Logging&lt;/strong&gt;.EcoLogSwitches.LogSql := false/true;&lt;br /&gt; Borland.Eco.&lt;strong&gt;Logging&lt;/strong&gt;.EcoLogSwitches.LogSqlMeta := false/true;&lt;br /&gt; Borland.Eco.&lt;strong&gt;Logging&lt;/strong&gt;.EcoLogSwitches.LogValidation := false/true; &lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1465-turning-onoff-eco-logging.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Thu, 07 Apr 2005 03:23:00 -0500</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">608 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Automatically setting the MaxLength in your GUI</title>
 <link>http://www.howtodothings.com/computers/a1462-automatically-setting-the-maxlength-in-your-gui.html</link>
 <description>&lt;p&gt;As of D2005 udpate #2 there is a new helper class in the ECO framework named MaxLengthSupportFunctions.&lt;/p&gt;
&lt;p&gt; Normally when you databind an EditBox for example to an ECO object you are able to type endlessly despite the fact that you may have set the Eco.Length of the attribute to something small like 32.&lt;/p&gt;
&lt;p&gt; This new helper class will identify such situations and automatically set the MaxLength property.&amp;nbsp; All you have to do is to execute the following line of code after your rhRoot has been set.&lt;/p&gt;
&lt;p&gt;Borland.Eco.WinForm.MaxLengthSupportFunctions.UpdateMaxLengths(Controls);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1462-automatically-setting-the-maxlength-in-your-gui.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Tue, 15 Mar 2005 08:14:00 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">605 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Disabling multiplicity constraints</title>
 <link>http://www.howtodothings.com/computers/a1461-disabling-multiplicity-constraints.html</link>
 <description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt; I personally like to add my own constraints for multiplicity so that I can specify a more concise error message&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; Customer required:customer &amp;lt;&amp;gt; nil&lt;/p&gt;
&lt;p&gt; To disable multiplicity constraints you need to attach a .net attribute to your EcoSpace like so&lt;/p&gt;
&lt;p&gt;[UmlTaggedValue(&amp;quot;Eco.GenerateMultiplicityConstraints&amp;quot;, &amp;quot;False&amp;quot;)]&lt;br /&gt; public class ProjectManagerEcoSpace: Borland.Eco.Handles.DefaultEcoSpace&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1461-disabling-multiplicity-constraints.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Tue, 15 Mar 2005 05:37:00 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">604 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Evaluating constraints</title>
 <link>http://www.howtodothings.com/computers/a1440-evaluating-constraints.html</link>
 <description>&lt;p&gt;Before updating the database with changes to your objects it is wise to check that the object is in a valid state first.&amp;nbsp; ECO allows you to model constraints against your classes by adding a list of OCL expressions, but does not evaluate the expressions at any point.&lt;/p&gt;
&lt;p&gt;It is in fact the responsibility of the application to check whether or not an object is valid or invalid, and to then decide what to do about it.&amp;nbsp; One approach is to check the validity of each object before it is saved, this can be achieved in the UpdateDatabase() method of your EcoSpace.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1440-evaluating-constraints.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1440-evaluating-constraints.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Sat, 26 Feb 2005 04:21:00 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">586 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Sending HTML emails with ICS</title>
 <link>http://www.howtodothings.com/computers/a1427-sending-html-emails-with-ics.html</link>
 <description>&lt;p&gt;procedure THtmlMailForm.SendButtonClick(Sender: TObject);&lt;br /&gt;begin&lt;br /&gt;	if FRunning then begin&lt;br /&gt;		MessageBeep(MB_OK);&lt;br /&gt;		Display(&#039;**** ALREADY RUNNING ****&#039;);&lt;br /&gt;		Exit;&lt;br /&gt;	end;&lt;/p&gt;
&lt;p&gt;	FRunning := TRUE;&lt;br /&gt;	try&lt;br /&gt;		{ Give the component the various data he need }&lt;br /&gt;		HtmlSmtpClient.PlainText := PlainTextMemo.Lines;&lt;br /&gt;		HtmlSmtpClient.HtmlText := HtmlTextMemo.Lines;&lt;br /&gt;		HtmlSmtpClient.EmailImages := ImageFilesMemo.Lines;&lt;br /&gt;		HtmlSmtpClient.EmailFiles := AttachedFilesMemo.Lines;&lt;/p&gt;
&lt;p&gt;		{ Initialize all SMTP component properties from our GUI }&lt;br /&gt;		HtmlSmtpClient.Host := HostEdit.Text;&lt;br /&gt;		HtmlSmtpClient.Port := PortEdit.Text;&lt;br /&gt;		HtmlSmtpClient.SignOn := SignOnEdit.Text;&lt;br /&gt;		HtmlSmtpClient.FromName := FromEdit.Text;&lt;br /&gt;		HtmlSmtpClient.HdrFrom := FromEdit.Text;&lt;br /&gt;		HtmlSmtpClient.HdrTo := ToEdit.Text;&lt;br /&gt;		HtmlSmtpClient.HdrCc := CcEdit.Text;&lt;br /&gt;		HtmlSmtpClient.HdrSubject := SubjectEdit.Text;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/a1427-sending-html-emails-with-ics.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/a1427-sending-html-emails-with-ics.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Thu, 10 Feb 2005 10:09:00 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">583 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Evaluating in-database OCL in code</title>
 <link>http://www.howtodothings.com/computers/a1425-evaluating-in-database-ocl-in-code.html</link>
 <description>&lt;p&gt;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?&lt;/p&gt;
&lt;p&gt; This tip thanks to Jan Norden from Borland.&lt;br /&gt; IOclService oclService = &lt;br /&gt;  (IOclService) GetEcoService(typeof(IOclService));&lt;br /&gt;IPersistenceService  persistenceService = &lt;br /&gt;  (IPersistence) GetEcoService(typeof(IPersistenceService));&lt;/p&gt;
&lt;p&gt;AbstractCondition cond = &lt;br /&gt;  OclService.CreateRetrieveCondition(RootValue, EffectiveVariables(), Expression);&lt;/p&gt;
&lt;p&gt;InternalElement = persistenceService.GetAllWithCondition(cond, MaxAnswers, Offset);&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/computers/a1425-evaluating-in-database-ocl-in-code.html#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c39-delphi.html">Delphi</category>
 <pubDate>Thu, 10 Feb 2005 04:42:00 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">582 at http://www.howtodothings.com</guid>
</item>
</channel>
</rss>
