"Jean Fournier" <bi****@sympa.ca> wrote in message
news:sH******************@news20.bellglobal.com...
Hi,
i have a program that communicate with an other in DDE that transmit the
output (in String format) of a Timer(countdown) like this:
T#0d0h0m0s0ms Exemple: T#0d0h5m30s0ms then T#0d0h5m29s0ms and over. I
would like to be able to convert to Time format or Integer format to be
able to use it in a progress bar.
Pardon for my poor english...
Merci!
JF
My guess is that if you have it in a string then you must have the
individual variables such as numdays, numhours, numminutes, numseconds. In
that case simply convert it to seconds (sum up days, hours, mins, secs).
Once you have this total figure, building a progress bar is simple.