Software / Technology Tips

Printing blob columns in background from Servoy interface

We can print images stored in blob(Media) columns in different ways. One of the interesting way to accomplish this task is by using executeProgramInBackground method. Using this method we can execute actions at the command line. This works on both Mac and WindowsXp Operating Systems. First we need to create a temporary file from the…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

GET POSTAL CODE BY USING GOOGLE GEOCODE MAPS API IN VB.NET

During working with one of my desktop application. I had to implement how to get the exact PostalCode with respect to the Address values supplied, as there are more than one PostalCode exists for a combination of City and StateProvidence for USA country may be for others also. After looking into and trying for getting…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Using Scheduler plugin in Servoy

– When a job needs to be executed periodically we need the help of Scheduler plugin. – Using this plugin we can set a schedule for execution of a job in our Servoy application. – We can set the start and end time of the job, the duration or gap of the execution of the…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Ways to parse an HTML document text

This tip shows how we can parse an HTML document using HTMLDocumentClass and Regular Expression Problem: We need to parse a html document and get only the style element from the whole html document text. Lets say our html document is as below: My Page .style1{height:30px;width:100px} This is the home page Solution: Using HTMLDocumentClass: HtmlDocument…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

CSS: Combine multiple images into a Sprite to load pages faster

In most web pages we do have images which affects the time required to load the page. Let us take an example, if we have 5 images with each having a size 50KB the web page will load five images(250KB)  and for these five images the server would need five httpRequest which is a time…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

To Get Directions between two locations

We can get various details on the directions between two locations as XML like, total distance, total time taken by using various travel modes like(driving, cycling and walking etc.), all the way points and details of how to get there with directions. The code below explains how to send the web request and receive a…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to Print Receipt by POS Printer using VB.Net.

In RMS some times we need to print receipt like Sales Receipt, Gift Receipt etc by POS printer. Before printing the receipt we need to make a string with using  escape sequences, that escape sequences recognized by the printer. If an escape sequence specifies an operation that is not supported by the printer station, it…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Use an image in your website without linking it to source

Yes you have read it correctly. If you are asking youself how come, then the answer is using Data URI scheme. Data URI is a scheme by which you can add in-line data to a web page. How to do that: This includes the following steps 1. Encode the image to Base64 encoding. The following…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Can Css3 Transition replace jQuery animation?

CSS3 Transition is one of the coolest feature that can help achieve some of the effects of animation using CSS only. It is one of the specs of W3C working drafts but it is not supported in IE 8 and 9 beta.The browsers which support this property are Google chrome 7+,Opera 10+,Mozilla firefox 4.0 beta,webkit…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Difference between border and outline property in CSS

Few days ago i came to know about CSS outline property and i thought how it is different from border property. According to W3Schools “An outline is a line that is drawn around elements (outside the borders) to make the element ‘stand out’ “. W3C says outline differ from border in the following ways (ref:…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!