archives

The goal is to simulate a motion by filling this path drawn over a background image using JavaScript only. Will consider a simple way, cut in solid color, with transparent background. In real situation will be, say, a meaningful path with respect to some landscape.

Continue Reading  

In C# ENUMs are storage efficient data structure acting at run-time just like primitive types. The following presents one way to generate an enumeration class within a dynamic assembly using database data.

Continue Reading  

Few months back I ran into a strange behavior regarding breakpoints. Debugging a c# solution in Visual Studio 2008 I’ve noticed the breakpoints I have “click” removed during one debug session reappear as soon as session ends.

Continue Reading  

Under some circumstances, filtering a Datatable using its Select method may result in throwing following exception: “Min (some value) must be less than or equal to Max (-1) in a Range object.”

Continue Reading  

When it comes to NULL values, PowerBuilder treats them a little different than other languages. Not only that, when null is added, compared to or concatenated with any variable the entire result will become null, but also when given a null parameter most PowerBuilder functions will simply return NULL and perform no action.

Continue Reading  

Every MS SQL Server database consists of at least two physical operating system files and these files are specified when a database is created or altered. One and possibly more (secondary files) are used for the data (as well as indexes and allocation pages) and one for the transaction log.

Continue Reading  

The purpose is to gain access to the message information in code by extracting it from a raw email message. For this we will parse the content of the email using the IMessage interface.

Continue Reading  

The contents of a particular drop down datawindow depends on the value of another drop down datawindow. For example we need to filter some employees based on the team they belong to. In the current datawindow, Teams will be a drop down datawindow whose contents depend on the value of another DDDW – Departments.

Continue Reading  

In order to feed calendar clients (like MS Outlook, Google Calendar) it is required to supply a plain text file with the ‘.ics’ extension.

Continue Reading  

Often it is useful to showcase a web application to potential customers allowing them to live test the application features. For this you need to publish and maintain a demo version with some relevant base data. A service application, triggered to run at a given time, basicly will clean the database by restoring it from […]

Continue Reading