Msg string problem

fonebone
07-17-2003, 06:58 PM
In my Alarm Clock, how can I extract the current set Alarm Time from this code:

CurrentTime = (Int(Timer) / 10) * 10
StopTime = (WinAlarm.ListTime.ListIndex)
StopTime = StopTime * 900 'seconds (15 minutes)
If StopTime = CurrentTime Then
AlarmMessage.Show
End If

..and then put it at the end of the System Tray icon Tool Tip Message:

TrayI.szTip = "Alarm Call set for: ? ? ? ? "

Thanks in advance

Iceplug
07-17-2003, 07:05 PM
Wouldn't that be StopTime?
And why are you multiplying by 15 minutes?

fonebone
07-17-2003, 07:21 PM
Wouldn't that be StopTime?
And why are you multiplying by 15 minutes?
Iceplug: Thanks for your post but the title of this thread is "string prob" and not, as ur trying to weedle it, "numeric nosiness"
(however, when you fork over the second part of the Msg string I'll let you in on the 5 minute and 10 minute Snooze factor - rofl)

Regards

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum