<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.oehive.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>The OpenEdge Hive - Code Samples</title>
 <link>http://www.oehive.org/taxonomy/term/142/all</link>
 <description>Small fragments of ABL code which illustrate some principle or technique</description>
 <language>oehive</language>
<item>
 <title>Using .net user control with 4GL (adm2) container</title>
 <link>http://www.oehive.org/node/2262</link>
 <description>&lt;p&gt;The sample shows how a .net user control can be used with an ADM2 container. There is no specific support for ADM2 otherwise (links, etc) but it should be quite possible to modify the window super-proc to support automated display of date values in a date picker, f.ex, along the lines it&#039;s done for the JukeBox framework.&lt;/p&gt;
&lt;p&gt;Components:&lt;/p&gt;
&lt;p&gt;JBoxWrapWindowInForm.p:&lt;br /&gt;
Super proc for container that keeps track of control(s) in window, (re-)creates the window menu as .net menu and manages resize of control(s)&lt;/p&gt;
&lt;p&gt;JBoxWrapperForm.cls:&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/ooabl&quot; class=&quot;og_links&quot;&gt;Object-Oriented ABL Techniques&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/2262&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/2262#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/366">.Net</category>
 <category domain="http://www.oehive.org/taxonomy/term/505">4GL</category>
 <category domain="http://www.oehive.org/taxonomy/term/357">ABL</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <enclosure url="http://www.oehive.org/files/adm2UltraGanttSample.zip" length="69168" type="application/zip" />
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <group domain="http://www.oehive.org/ooabl">Object-Oriented ABL Techniques</group>
 <pubDate>Wed, 07 Jan 2015 15:22:33 +0000</pubDate>
 <dc:creator>brynjar</dc:creator>
 <guid isPermaLink="false">2262 at http://www.oehive.org</guid>
</item>
<item>
 <title>Marginal Tiete - progress game</title>
 <link>http://www.oehive.org/node/2084</link>
 <description>&lt;p&gt;Greetings,&lt;br /&gt;
I made this game to emulate Atari&#039;s Grand Prix.&lt;br /&gt;
You can use this code to view how to use dynamic objects and other functions like includes, and methods.&lt;/p&gt;
&lt;p&gt;Running:&lt;br /&gt;
1. Extract all files,&lt;br /&gt;
2. Select car.p and right click, choose RUN under window&#039;s context menu or open it with progress procedure editor.&lt;/p&gt;
&lt;p&gt;Skype me jaison.antoniazzi for questions.&lt;/p&gt;
&lt;p&gt;Enjoy :D&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Jaison Antoniazzi&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/194&quot; class=&quot;og_links&quot;&gt;Hive group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.oehive.org/node/2084#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/1012">advance</category>
 <category domain="http://www.oehive.org/taxonomy/term/1013">dynamic objects</category>
 <category domain="http://www.oehive.org/taxonomy/term/1011">game</category>
 <category domain="http://www.oehive.org/taxonomy/term/275">image</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <enclosure url="http://www.oehive.org/files/marginal tiete.zip" length="54205" type="application/zip" />
 <group domain="http://www.oehive.org/win32api">Win32 API samples</group>
 <group domain="http://www.oehive.org/node/194">Hive group</group>
 <pubDate>Tue, 03 Apr 2012 16:19:30 +0000</pubDate>
 <dc:creator>Jaison Antoniazzi</dc:creator>
 <guid isPermaLink="false">2084 at http://www.oehive.org</guid>
</item>
<item>
 <title>Haversine implementation in ABL</title>
 <link>http://www.oehive.org/node/2058</link>
 <description>&lt;p&gt;This is the Haversine formula translated into an ABL procedure. The Haversine formula is used for determining the Great-Circle distance in km between two latitude/longitude references.&lt;/p&gt;
&lt;p&gt;The formula is based off the Javascript interpretation here: &lt;a href=&quot;http://www.codecodex.com/wiki/Calculate_Distance_Between_Two_Points_on_a_Globe#JavaScript&quot; title=&quot;http://www.codecodex.com/wiki/Calculate_Distance_Between_Two_Points_on_a_Globe#JavaScript&quot;&gt;http://www.codecodex.com/wiki/Calculate_Distance_Between_Two_Points_on_a...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Requires &lt;a href=&quot;http://www.oehive.org/project/lib&quot;&gt;Progress STandard Libraries&lt;/a&gt; with &lt;code&gt;math_asin&lt;/code&gt; function uncommented (see &lt;a href=&quot;http://www.oehive.org/node/2057&quot; title=&quot;http://www.oehive.org/node/2057&quot;&gt;http://www.oehive.org/node/2057&lt;/a&gt;)&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/2058&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/2058#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/993">distance</category>
 <category domain="http://www.oehive.org/taxonomy/term/990">Haversine</category>
 <category domain="http://www.oehive.org/taxonomy/term/991">latitudue</category>
 <category domain="http://www.oehive.org/taxonomy/term/992">longitude</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Mon, 06 Feb 2012 06:44:31 +0000</pubDate>
 <dc:creator>d.cook</dc:creator>
 <guid isPermaLink="false">2058 at http://www.oehive.org</guid>
</item>
<item>
 <title>New Version of base64encode.p</title>
 <link>http://www.oehive.org/node/2048</link>
 <description>&lt;p&gt;Dries Feys was good enough to send out a new base64encode.p file over the peg.  I am posting it here for further distribution (and use!)&lt;/p&gt;
&lt;p&gt;(Note: Some have said they have had problems with this.)&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.oehive.org/node/2048#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/345">Email</category>
 <category domain="http://www.oehive.org/taxonomy/term/475">source code</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <category domain="http://www.oehive.org/taxonomy/term/315">Development Tool Source Code</category>
 <enclosure url="http://www.oehive.org/files/base64encode.p" length="2603" type="text/x-pascal" />
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Mon, 19 Dec 2011 18:32:14 +0000</pubDate>
 <dc:creator>Scott Auge</dc:creator>
 <guid isPermaLink="false">2048 at http://www.oehive.org</guid>
</item>
<item>
 <title>Introduction to the parameter object</title>
 <link>http://www.oehive.org/node/1625</link>
 <description>&lt;p&gt;I&#039;m reading Martin Fowler&#039;s refactoring and will work out some of his methods (which also apply to building new software) in this blog. Read this to get some background info:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://sourcemaking.com/refactoring/introduce-parameter-object&quot; title=&quot;http://sourcemaking.com/refactoring/introduce-parameter-object&quot;&gt;http://sourcemaking.com/refactoring/introduce-parameter-object&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.refactoring.com/catalog/introduceParameterObject.html&quot; title=&quot;http://www.refactoring.com/catalog/introduceParameterObject.html&quot;&gt;http://www.refactoring.com/catalog/introduceParameterObject.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://martinfowler.com/ap2/range.html&quot; title=&quot;http://martinfowler.com/ap2/range.html&quot;&gt;http://martinfowler.com/ap2/range.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Below a simple daterangeparameter object, and therebelow a procedure using the daterange object.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/213&quot; class=&quot;og_links&quot;&gt;Miscellaneous Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/1625&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/1625#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/769">oo</category>
 <category domain="http://www.oehive.org/taxonomy/term/768">parameter object</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <category domain="http://www.oehive.org/taxonomy/term/133">Coding Standards and Best Practice</category>
 <category domain="http://www.oehive.org/taxonomy/term/136">OOABL</category>
 <group domain="http://www.oehive.org/ooabl">Object-Oriented ABL Techniques</group>
 <group domain="http://www.oehive.org/node/213">Miscellaneous Group</group>
 <pubDate>Mon, 18 Jan 2010 14:03:18 +0000</pubDate>
 <dc:creator>Stefan</dc:creator>
 <guid isPermaLink="false">1625 at http://www.oehive.org</guid>
</item>
<item>
 <title>GUI OpenEdge Password Meter</title>
 <link>http://www.oehive.org/project/PasswordMeter</link>
 <description>&lt;p&gt;A password meter written in ABL.&lt;br /&gt;
It is database independent and uses the first connected database for the session.&lt;br /&gt;
By default it has 2 levels of strength that can be easily checked for and/or required: Strong Passwords and Xtra Strong Passwords&lt;br /&gt;
It checks for the following:&lt;br /&gt;
Required for strong passwords:&lt;br /&gt;
Length of 12 to 24 characters&lt;br /&gt;
Use of all 4 types of characters&lt;br /&gt;
Not the same as the previous 5 passwords&lt;br /&gt;
No personal names (first or last) and no company names or company acronym (hard-coded).&lt;/p&gt;
&lt;p&gt;Required for Xtra strong passwords:&lt;br /&gt;
At least 2 upper case letters used&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/project/PasswordMeter&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://www.oehive.org/taxonomy/term/620">Password Meter</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <enclosure url="http://www.oehive.org/files/PasswordMeter.zip" length="199156" type="application/zip" />
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Tue, 30 Jun 2009 14:29:54 +0000</pubDate>
 <dc:creator>shimshai</dc:creator>
 <guid isPermaLink="false">1495 at http://www.oehive.org</guid>
</item>
<item>
 <title>How to add a colored square in the titlebar through api</title>
 <link>http://www.oehive.org/project/colored_square_in_titlebar</link>
 <description>&lt;p&gt;Sometimes it&#039;s neccessary to add a Caption in the titlebar to give extra information to the user of your application. The attached file does this, and makes sure the window got redrawn when windows triggers arive.&lt;br /&gt;
As you can see, many instances of msgblst32 are added on this window. The goal is to make it more the controlling window which always catches the events on the underlaying session applications. As every window needs its own ocx, I provided 40 instances which are hopefully enough to maintain every window.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/win32api&quot; class=&quot;og_links&quot;&gt;Win32 API samples&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.oehive.org/taxonomy/term/604">colored</category>
 <category domain="http://www.oehive.org/taxonomy/term/606">drawing</category>
 <category domain="http://www.oehive.org/taxonomy/term/609">gdi32</category>
 <category domain="http://www.oehive.org/taxonomy/term/610">gdi32.dll</category>
 <category domain="http://www.oehive.org/taxonomy/term/612">message blaster</category>
 <category domain="http://www.oehive.org/taxonomy/term/611">msgblst32.ocx</category>
 <category domain="http://www.oehive.org/taxonomy/term/608">runtime</category>
 <category domain="http://www.oehive.org/taxonomy/term/605">square</category>
 <category domain="http://www.oehive.org/taxonomy/term/607">titlebar</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <category domain="http://www.oehive.org/taxonomy/term/134">Operating System and Application Interfaces</category>
 <category domain="http://www.oehive.org/taxonomy/term/150">All Projects</category>
 <enclosure url="http://www.oehive.org/files/wWinCaptions.zip" length="9389" type="application/zip" />
 <group domain="http://www.oehive.org/win32api">Win32 API samples</group>
 <pubDate>Thu, 23 Apr 2009 15:12:10 +0000</pubDate>
 <dc:creator>Dries</dc:creator>
 <guid isPermaLink="false">1470 at http://www.oehive.org</guid>
</item>
<item>
 <title>Video on calling web services from the 4GL/ABL</title>
 <link>http://www.oehive.org/node/1432</link>
 <description>&lt;p&gt;I have a video up on amduus.com on how to call out to web services with example coding.&lt;/p&gt;
&lt;p&gt;The video can be seen at &lt;a href=&quot;http://amduus.com/training/Using_bprowsdldoc.html&quot; title=&quot;http://amduus.com/training/Using_bprowsdldoc.html&quot;&gt;http://amduus.com/training/Using_bprowsdldoc.html&lt;/a&gt;&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/devtools&quot; class=&quot;og_links&quot;&gt;Development Tools Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.oehive.org/node/1432#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/595">Video Call Web Service</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <category domain="http://www.oehive.org/taxonomy/term/134">Operating System and Application Interfaces</category>
 <category domain="http://www.oehive.org/taxonomy/term/292">Web Services &amp;amp; Other Integration Technologies</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <group domain="http://www.oehive.org/devtools">Development Tools Group</group>
 <pubDate>Tue, 03 Mar 2009 19:36:14 +0000</pubDate>
 <dc:creator>Scott Auge</dc:creator>
 <guid isPermaLink="false">1432 at http://www.oehive.org</guid>
</item>
<item>
 <title>Example function to return various date formats.  YYYYMMDD</title>
 <link>http://www.oehive.org/project/YYYYMMDD</link>
 <description>&lt;p&gt;In this example function you pass to it the format you want YYYYMMDD  YYMMDD  ISO etc. along with date and time delimiters you wish to use. This does use the NOW statement which is not in older versions.&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/devtools&quot; class=&quot;og_links&quot;&gt;Development Tools Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.oehive.org/taxonomy/term/592">Date time manupulation examples in a function YYYYMMDD</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <enclosure url="http://www.oehive.org/files/filenametimestamp.p" length="4977" type="text/x-pascal" />
 <group domain="http://www.oehive.org/devtools">Development Tools Group</group>
 <pubDate>Fri, 27 Feb 2009 16:51:21 +0000</pubDate>
 <dc:creator>dherrin</dc:creator>
 <guid isPermaLink="false">1424 at http://www.oehive.org</guid>
</item>
<item>
 <title>Testing character values to see if they are integer, decimal or character values.</title>
 <link>http://www.oehive.org/project/isNumber</link>
 <description>&lt;p&gt;This set of examples show various methods to test for character, integer, and decimal values.&lt;br /&gt;
The various test methods came from a discussion on the PEG and suggestions by members and myself.&lt;/p&gt;
&lt;p&gt;Typical time results per 100,000 iterations of the functions.  &lt;/p&gt;
&lt;pre&gt;
+--------------------------------------------------+
¦-123                                              ¦
¦                                                  ¦
¦fn-ISCHAR-loop:   31510 ms no  Loop method        ¦
¦fn-ISCHAR:         3681 ms no  DEC(x) error method¦&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/devtools&quot; class=&quot;og_links&quot;&gt;Development Tools Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/project/isNumber&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <category domain="http://www.oehive.org/taxonomy/term/588">ischar isinteger isnumber tests</category>
 <category domain="http://www.oehive.org/taxonomy/term/142">Code Samples</category>
 <category domain="http://www.oehive.org/taxonomy/term/150">All Projects</category>
 <enclosure url="http://www.oehive.org/files/isnumber.p" length="13913" type="text/x-pascal" />
 <group domain="http://www.oehive.org/devtools">Development Tools Group</group>
 <pubDate>Tue, 17 Feb 2009 21:10:27 +0000</pubDate>
 <dc:creator>dherrin</dc:creator>
 <guid isPermaLink="false">1412 at http://www.oehive.org</guid>
</item>
</channel>
</rss>
