Change Folder Snippets


01 March, 2011   

Mouse Move Paint . A simple program for drawing using mouse move event in vb.net 2005 version... This code is compatible with : VB 2005, VB 2008, VB 2010 Steps For Creation:- --------------------------- 1. Change the background color of the form1 as white. 2. Then, double click the form and change the event as mouse move click event. 3. Now,...

21 January, 2011   

Sometimes the time set on your server isn't accurate to what your local time is. If you can't change it, you can adjust it yourself. If your server thought it was 12 midnight, but it was really 7 pm, this will roll the $today variable back five hours to be correct.

Change Graphics Based on Season

18 February, 2011   

Change Graphics Based on Season

A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.

15 March, 2011   

Some people are unaware that it is possible to change the color when you highlight text in your browser. It is so easy to with two selectors; just be careful you don’t ruin your site with it.

In order for this to work, you will need to copy mysqldump.exe and mysql.exe from the MySQL bin Program Files folder into the same directory as your executing PHP script. If you know the direct path to these for your server, you can use those instead.

Toggle a column bit regardless of state. Useful to change state without doing a query first to detect the state of the bit.

16 April, 2012   

This CSS code will change link font-size

11 February, 2012   

JavaScript Code to change the color of the scroll bar

16 November, 2013   

You can use this function when you correct a iban number in your commercial projects.

07 September, 2019   

Normally the tab key moves to the next focusable thing. This inserts a tab character in instead.

09 February, 2011   

Class to back up entire databases and email them out, or individual tables.

07 February, 2011   

If you don't set the wmode on a flash embed it will float over the top of an overlay which can be a pretty big deal. This is ideal in environment with lots of legacy video code or where users will be posting new code and teaching them about wmode is a lost cause. This should work in all browsers.

You may add rounded corners to your CSS3-based elements, like a border or button. You can change the radius to increase or decrease the rounding of the corners. This is a styles definition rounding of each corner, it lets you individually round each of the 4 corners (still not supported in IE).

30 April, 2011   

Countdown to the start of Summer in the Northern Hemisphere: June 21, 2011; 1:16 PM Eastern Daylight Time (EDT)

03 January, 2013   

For this code 2 command buttons and 1 text box required

26 December, 2012   

This cron will do the same on Windows as session management works on Linux

Copy the declarations and code below and paste directly into your VB project.

03 April, 2011   

Often when working on scripts alert boxes are placed inside loops as a debugging tool. You can sometimes end up with hundreds of alert boxes and no way to stop them. This script placed at the start of your code will give you an option to disable the alert boxes after a pre-determined number set by you.