Visual Basic 6 Code
Functions/Procedures
InQuotes Function
PauseTime Proc.
Remove Invld Chr Function
Database Insert Proc.
Database Select Function
Database Delete Proc.
Database Update Function
Make Enter key to act as TAB
Time calculation
Change 1st char to Ucase
Populate MSFlxGrid with db data
How to use CASE
Save file
Open file
Populate TreeView w/database
Catch RDO Error
This procedure creates pause time, with a Timer on the form
'****************************************************************** '* Value(s)passed: ..... '* Value(s)returned: ..... '* Date: 05-12-2002 '* Author: Ahmad E. Ashparie '* ___________________________________________ '* Modification Log '* Date Author Description '* ------ -------- ------------- '* '******************************************************************* Public Sub PauseTime(PauseDuration As Long) Dim PauseTime, Start, Finish, TotalTime PauseTime = PauseDuration / 3 ' Set duration. Start = Timer ' Set start time. Do While Timer < Start + PauseDuration DoEvents ' Yield to other processes. Loop End Sub
HOME
|
ABOUT
|
CONTACT US
Copyright © 2009 ASP-VBCode