AmosFiveSix.com

Experience, Knowledge, Creativity

  • Increase font size
  • Default font size
  • Decrease font size
Home Code Samples
Code Samples

QueryTree for VB.Net

E-mail Print PDF

Visual Studio 2010The QueryTree library provides an easy way to process hierarchical data in a database. See my portfolio for information on the Document Builder project that used the Query Tree component.

Read more...
 

PHP Code for Custom View for JEvents Component

E-mail Print PDF

PHPWhile developing the new Joomla 1.5 website for Community Legal Aid I added a calendar of events using the JEvents component. To give the calendar a professional look that matched the site, I had to create a custom JEvents template. This involved plumbing the undocumented depths of JEvents and rewriting much of the PHP code and all of the CSS styles. Below is just a sample of the code which writes out an individual event on the calendar. The main routine is writeEventListItem().

Read more...
 

Jet Data Provider for .Net

E-mail Print PDF

This is sample code from a Jet/Access provider I write in VB.net. It was meant to wrap more directly around DAO/Jet than using the OleDb data provider. I never put it into production. I've included only a few of the classes.

Read more...
 

XmlPropertyBag for VB6

E-mail Print PDF

This class is part of a library I wrote in Visual Basic 6.0 back in 2001. It allows you to easily persist an entire object model hierarchy. It works similarly to VB's built-in property bag. Objects you want to persist have to implement appropriate interfaces and you then write them to the property bag and call the Save() method to write out the XML file. Call Load() and it gives back the entire object hierarchy. Keep in mind this was back in the day before .Net made serializing a lot easier.

Read more...