Hello,
Without sharing the program, and giving some sort of explanation, it is not possible for me to advice.
But still, my recommendation would be using a PHP-MySQL based solution. Depending on your actual need, Javascript can also be a solution. Anyway web based solution seems the only way to go.
Please share the file and provide more details.
Best Regards,
Serdar Yalcin