#204850 - 2012-04-21 05:44 PM
Time-Clock KF App
|
ShaneEP
MM club member
   
Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
|
Hey guys, I just wanted to share my time-clock/payroll kixforms app. I’ve been creating this slowly over the past year or so, and it’s been in production for about 9 months. If anyone has time, try it out and make suggestions (Performance in particular.)
FILES: OTC_42.kix The most recent version of the main app code.
(none of the below files are needed for the main portion of the program to function.) clock/main/password.ico The icon files used in the app. OTC_Updater.kix The most recent version of the app update code. OTC_Updater.exe OTC_Updater.kix packaged using Kix2Exe. OTC_42.exe All above files packaged into one client-side file using Kix2Exe. Settings.ini A sample settings file. A new will be used if a directory other than the one containing this file is specified. Test_User_times.ini A sample employee file. If this file is copied to the time directory you specify, Test User will show as an employee.
SETUP: Simply run the otc_42.kix or otc_42.exe to start from scratch. I included an example settings.ini and a test_user_times.ini file if you want to use those. The administration password for the included settings.ini file is “password”. The password for Test User is "1236".
It will prompt you for the time directory on first run (a server share in our case) which will be written to HKCU\Software\OTC. This saved directory is the folder that the time files and settings file will be created in.
Also, if you place a file called otc.exe in this directory, the client will compare the version against itself on startup and prompt to update if necessary. If yes, then it will run otc_updater.exe. This is how I avoid having to manually update the app on all the clients every time I make a change.
It does include an InstallKixForms() function in the main app, but I have REMed it out so as to not interfere with your setups.
Attachments
otc.zip (132 downloads) Description:
Edited by ShaneEP (2012-04-21 06:51 PM)
|
|
Top
|
|
|
|
#204851 - 2012-04-21 05:44 PM
Re: Time-Clock KF App
[Re: ShaneEP]
|
ShaneEP
MM club member
   
Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
|
be gentle... 
Some screen shots below...
Attachments
 Description: Main Form
 Description: Payroll calculations
 Description: Time entry mods
 Description: Time entry report
Edited by ShaneEP (2012-04-21 06:53 PM)
|
|
Top
|
|
|
|
#204867 - 2012-04-21 08:09 PM
Re: Time-Clock KF App
[Re: ShaneEP]
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4567
Loc: USA
|
You just reminded me of a bug we found when you where trying to print using the Internet Explorer Object...
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=201671#Post201671
Obviously this is not a Five Alarm bug, but I would be interested in Ruud's comments on this. I think I'll post a note in the beta section.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 988 anonymous users online.
|
|
|