Validate GUID’s – iHTML Code Snippet

The following Code Snippet checks whether variable contains a valid GUID (Global Unique Identifer) value and assigns a Boolean value to a variable named isGUID.

Continue reading

Posted in iHTML | Leave a comment

Validate Email Addresses – iHTML Code Snippet

This Code Snippet will allow you to validate the format of an email address using Regular Expressions.  This snippet check the value of a variable named :email

Continue reading

Posted in iHTML | Leave a comment

BUG Workaround: File tags inside iHTML Functions

If you use <iINCLUDE> <iFILE> or other iHTML Tags which call a file from within your Functions, and get the following Errors.  Error = Could Not Open File,  Error Code : 900

Continue reading

Posted in iHTML | Leave a comment

Executing DTS Packages with iHTML

This article covers the use of iHTML to execute Microsoft SQL sever DTS packages.

Continue reading

Posted in iHTML | Leave a comment

Using Excel Datasources

This article covers using MS Excel files as datasources and originally was geared towards ASP but applies to other programming languages. This article is also useful if you have problems with the import of Excel data into a database.

Continue reading

Posted in Data, MS Excel | Leave a comment

WML/HTML Agent Detection and Direction in iHTML

Here’s a snippet of code to help you build a site which serves both HTML and WML content to users. Several types of web clients/agents could potentially access your site, both traditional web browsers and WAP browsers, so it is important to determine the content that should be delivered to each client.

Continue reading

Posted in iHTML | Leave a comment

XML Declarations in iHTML Pages

If you are using iHTML to generate XML, here’s a tip to insure that it get’s parsed by “All” XML Parsers. The XML declaration must appear as the first line in an XML document. No other content or white space can precede it. Use of the <!iHTML> tag along on the first line of your iHTML file, produces a line return! This is not good. Some Parsers Overlook the first line rule.. and keep going until they find the XML Declaration. Many parsers throw errors, if they find the XML Declaration on any line other than the first, Not Good at all.

Continue reading

Posted in iHTML | Leave a comment

Calculate Dimensional Shipping Weight – iHTML code

The Dimensional weight of your packages is something to consider when building ecommerce applications that calculate shipping costs based on product weight values. This code snippet can help you determine the dimensional weight.

Continue reading

Posted in iHTML | Leave a comment