Creates Folder Snippets


15 May, 2013   

ASP example code shown here how to create a folder called New Folder1

23 January, 2012   

How to create a folder named NewFolder2 by ASP. Here shown an example code

When placed in startup scripts, this snippet activates every time user opens a file. It then traverses the directory path backwards and looks for user created project folders. If one is found, script offers to switch it on. This is very useful when working with a number of projects at a time.

This PHP script will get the day of the week from the server date and then display an image (jpg or gif) to match.

PHP’s rmdir function does not allow the deletion of a folder if it is not empty.

This sql statement enables to detect duplicates entries over a key and creates a seq column which says which one is the sequence of the duplicates. This way you can take only the seq = 1 and still be able to identify all duplicates

09 April, 2011   

On form, insert a Page Break after the first group of fields. This creates two "pages" in the form, which can be toggled using a command button on each.

17 July, 2013   

This one creates a back of the current workbook.

This is a short way of positioning display objects in a grid layout. It makes use of the modulo operator (%) to position each display object along the x axis and the floor method of the Math class for the y position. This example creates 20 instances of a custom display object called MyDisplayObject positioning each instance in a grid 5 columns...

This function will not recurs subdirectories - it will only return a list of sub folder on the "first" level.

The following code snippet shows you how to open special Explorer windows, like My Computer, Control Panel, Printers, Fonts and more... Written by Nir Sofer

20 October, 2012   

Create dynamic variables from a query or a list.

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.

09 February, 2011   

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

26 December, 2012   

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

19 October, 2014   

Creates a picture based on your IP address.

This is a PHP Class that calculates the size, number of files & folders of a specific directory.

30 December, 2010   

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

An example code to restore MSSQL database from backup

10 November, 2012   

Visual Basic code example for creating a Global Hotkey (active throughout Windows)