Programming FAQ -- show off your cool tips here!
I am wanting to start a programming FAQ ( http://www.piqsoftware.com/projects/apochfaq/ ).
However, I do NOT want to cover the basic stuff like "how to make a command button" and that sort of junk.
If you have a cool tip or trick that you'd like to share, just post it here and I'll put it up -- with whatever credits you like (name, email, website, whatever)
Go for it! :)
mlewis - what do you think????
Armbruster: Please take this msg not to serious
VB Code:
Option Explicit
Private Sub Form_Unload(Cancel As Integer)
Dim intCounter As Integer
Dim intMax As Integer
Dim intHeight As Integer
Dim intWidth As Integer
intWidth = Me.Width
intHeight = Me.Height
If intWidth > intHeight Then
intMax = intWidth
Else
intMax = intHeight
End If
On Error Resume Next
For intCounter = intMax To 1 Step -1
Me.Width = Me.Width - 1
Me.Height = Me.Height - 1
Next intCounter
End Sub
This code was originally posted by Armbruster - I changed a few
things - so if I would claim now I wrote this procedure first who
is right??
To make it clear again I DID NOT write this procedure I only
wand to use it to show my point.
Face it if I would ask 20 developers to write a procedure which
close an app by "scrolling away" we would have at lease 2
simelare procedures.