Results 1 to 4 of 4

Thread: Winamp and Labels

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    2

    Winamp and Labels

    My current project was ment to be for a friend but its coming on good - i have one issue, i have tried the winamp module but it makes a horrible box flash behind my program, is there any way i can get the artist and song title from winamp and put the artist on a seperate label and same for the song title?

    Ok my label problem.. how do i limit a label? say i have a long line like this:

    ddjsfnfndfdjsfbdjkfbskdjfbdsjkfdfjhdfkjhsjfhsdjfkhsfjkdsfh

    how can I limit it o say 30 characters on the label then at the end it will add a ...

    thanks

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: Winamp and Labels

    Moved from the CodeBank

  3. #3
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    Re: Winamp and Labels

    to limit your lable use this...
    VB Code:
    1. str = "ddjsfnfndfdjsfbdjkfbskdjfbdsjkfdfjhdfkjhsjfhsdjfkhsfjkdsfh"
    2. If Len (str) > 30 Then
    3.     Label.Caption = Left (str, 30) & "..."
    4. Else
    5.     Label.Caption = str
    6. End If
    If an answer to your question has been helpful, then please, Rate it!

    Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.


  4. #4

    Thread Starter
    New Member
    Join Date
    Apr 2006
    Posts
    2

    Re: Winamp and Labels

    Thanks that worked - had to modify a little.

    Ok so I still got to try and do the Winamp thing and can I ask how i would use a vb program to talk to php?

    such as define the php then get a var ($) ? I want to do this to get the version number.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width