Monthly Archives: November 2014

you have choosen to open php file

I started having his problem with my local virtual host site in XAMPP. Every time I go to php file, it ask me to download the file. I search for solution online, some suggested add module to httpd.conf in xampp … Continue reading

Posted in Tutorials/Tips | Leave a comment

Login with facebook

This is quick tutorial on how to login with Facebook on wordpress. your email [fb_email]

Posted in Uncategorized | Leave a comment

Decimal value is automatically rounded off in Stimulsoft Fixed

I had a database field Qty which which was showing as integer in Stimulsoft MRT report but the value was actually of type double (decimal value). I played with formatting and added two decimal places to the number by right … Continue reading

Posted in Tutorials/Tips | Tagged , , , | Leave a comment

windiff ignore whitespace

From the menu, go to Edit -> Options then in the left pan, select compare

Posted in Tutorials/Tips | Tagged , , | Leave a comment

How to create voucher numbers in SQL?

This is a short tutorial on creating voucher numbers in SQL Server. I took most of the help from this so article but made my own changes. This can be very handy script if you are working in a financial … Continue reading

Posted in Tutorials/Tips | Tagged , , | Leave a comment

use regular expression for advance editing

You have a loooooong select box, you want to change value field for each option and want to make it same as the option value. You can use regular expression to make the changes rather than edit every single line. … Continue reading

Posted in Uncategorized | Leave a comment

How to remove 

 characters?

Use an editor such as Sublime Text, Go to Find -> Replace menu. Type: 

 in find Leave replace empty. click replace all.

Posted in Uncategorized | Leave a comment

WordPress Redirect Test

This page should redirect to google [redirect]

Posted in Uncategorized | Leave a comment

How to Enable Save as Excel in Stimulsoft

In ReporViewer.aspx, set ShowExportToExcel2007=”True” Now when you generate the report, and the dialog is presented, you will have an option to save the report to Excel.

Posted in Tutorials/Tips | Tagged , | Leave a comment

RAISERROR and Exceptions

RAISERROR with severity level below 10 are not catched by ADO framework. To fix it simply raise severity level to 10 or above or you can instead use THROW statement which has severity level of 16 by default and will … Continue reading

Posted in Tutorials/Tips | Tagged , , | Leave a comment