Question : Using Winamp OCX in VFP

I have an OCX for winamp that reports the file length,title,freq,etc with parameter of "detail", I haveVB samples which are gibberish to me, these snippets seem to be the way it's used in VB. Can someone help me get these variables defined in Foxpro ?
** from clsWinamp.cls  file
Public Type TrackDetail
    Title As String
    Artist As String
    TrackNumber As String
    Status As WinampPlayStatus
    Freq As String
    Rate As String
    Length As Long
    CurrentPos As String
End Type

**and from Form File:
Private Sub Winamp1_TrackChanged(detail As OCXAmp.TrackDetail)
txtTitle.Text = detail.Title
txtArtist.Text = detail.Artist
txtFreq.Text = detail.Freq & " kHz"
txtRate.Text = detail.Rate & " Kbps"
Dim tracklengthtotal As Long
Dim trackLengthseconds As Long, trackLengthMinutes As Long
txtTrackNo.Text = detail.TrackNumber
Dim TotalMins As Long, TotalSecs As Long
    TotalMins = Fix(detail.Length / 60)
    TotalSecs = detail.Length Mod 60
    txtLength.Text = Format(TotalMins, "00") & " :" & Format(TotalSecs, "00")
End Sub

Answer : Using Winamp OCX in VFP

1) You will need a "local loop" at each location. This is the leased line that connects your office to frame-relay providers point-of-presence (POP) at that location.  The speed of these local loops will be based on the service (port speed, CIR) that you obtain from your frame-relay provider.

2) If you are not obtaining frame-relay service for all locations from the same provider, you will need to arrange for a "network-to-network" interface (connection) between the different providers involved.

>Or just subscribe  from USA service provider will take care the whole setup ?

That would definitely make your life easier.

But here's the catch. Frame-Relay is a... fading technology. New installations have dropped significantly. And some frame-relay providers are not offering frame-relay to new customers. If you're an existing customer and you want to ADD new sites, they'll accommodate you.  But if you are a new customer, you can not get a new connection.

The trend these days seems to be towards MPLS for private multi-access networking.
Random Solutions  
 
programming4us programming4us