FileView
Ever get those annoying ASP error codes?
Wish you could see the line in question?
FileView.ASP allows you to see the line of code that is at fault
Original Author: Mike Collins
Inputs
fileview.asp?file=[filename]&line=[linenumber]
Returns
Diplays the file with the selected line highlighted.
Side Affects
None that I know if.
API Declarations
Copyright (c) 2000 Mike Collins
Code
'Place this in a module for use in the future:
Public Sub Object_Center(Frm As Form, Cntrl As Object)
'To call it, you would simply do:
'Call Object_Center(Form1, Text1)
'and that will center Text1 in the middle of your
'screen, no matter how big, or where Form1 is
Cntrl.Top = (Screen.Height * 1#) / 2 - Cntrl.Height / 2
Cntrl.Left = (Screen.Width * 1#) / 2 - Cntrl.Width / 2
End Sub
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.