Help figuring out an application wide bug(Urgent)
Posted on 2005-04-17
I wrote a vb6 app that, well does a lot of things. It is a client based application. A brief overview :
It checks if broadband is available, if so uses that, if not uses modem.
It connects to a central server via vpn/mapped network drive.
It reads from a dm.ini file which tells it what ads to pull from the server.
It then dynamically creates an xml file which a flash player takes and plays the ads.
It runs 24/7, and has update times based on connection type.
My problem is that from time to time the program just hangs and there is no rhyme or reason that I can detect. We have 40 clients in the field and some work for months perfectly and then stop working. And it showed it has connected fine the very last time, disconnected etc.
I am using a timer that ticks every second to control the time. I can only think there is something with the timer.
it checks to see if broadband goes up, it also checks to see if it is a new hour to change the xml file(this is how we control scheduling for different times of the day.
I am open to any and all suggestions. Is there a better way to keep track of time ? Will wrapping the vb6 app around .net help ?(I dont know vb.net though).
We are getting ready to make a huge deal and we cant afford these hickups anymore.
Thank you. please respond soon!