Pick up a shovel and send us some code!

Code Garden

Are you a gardener?  Well, you don't have to be!  Pick up a shovel and send us some code!
Welcome to the Code Garden.  Growing here, you will find many useful, quick code segments.  We expect help with planting though, so pick up a shovel and send us your code.

Code Garden  |  Home  |  Programming  |   Question Forum  |  Contact Us

Quick Basic

Quick "PRINT"

A faster way to write "PRINT" instead of having to type it out each time is to make a "?".  When you push enter it will turn into "PRINT"

TPA

Visual Basic

Copying a file

FileCopy "CopyFile.Txt", "CopyFileTo.Txt"

TPA

Renaming a file

Name "ChangeFile.Txt" As "Changed.Txt"

TPA

Deleting a file

Kill "ThisFile.Txt"

TPA
Center Form Me.Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2 VB Overdrive
Center Form at top of screen Me.Move (Screen.Width - Me.Width) / 2, 0 VB Overdrive
Unload all forms For Each frm In Forms
Unload frm
Next frm
VB Overdrive
Exit Program Control-Break will exit a program (like if you get stuck in an endless loop.) TPA

Send us a quick code segment please!

*  These fields are required!
Subject*

Email*

Name*

Country

Website(if applicable)

Language of this code(visual basic, pascal, c, ect.)*

Code Segment*

 

Copyright ©2000 by Kyle Baker.  Please read our disclaimer.