|
-
Jul 3rd, 2002, 04:29 PM
#1
Thread Starter
Fanatic Member
Trouble with slider control......
I will first start by saying I hate the Standard slider control, but it's all I can use since I have VB LE. My problem is this:
I'm making a slider to control the song progress slider in winamp. So before I play the file I set the slider1.max = GetSongLength.
The problem with this is, the song length is like 202.345 seconds, and the slider won't accept decimals. So I need to round off to like 202 seconds. I tried:
slider1.max = format(GetSongLength, "###")
but that doesn' t seem to work. How can I round this off? Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|