|
|
|
| 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 "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 |
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 |
Copyright ©2000 by Kyle Baker. Please read our disclaimer.