|The hard part is to stop a programme from running when minimized, no to make it continue to run.|
Where is this button that the application is counting? If it is in the same application then of course it will stop counting.
If it is in another application then you need to check the way your app communicates with the other app. How is this being done? Is your application pulling the information or is the other application pushing it to the VB application.
Remember that VB6 in an event driven system. It does nothing until an event occurs that will make it do something.