cando
asked on
lyrics search
does anybody know how to search and retrieve cd lyrics from the lyrics server at www.lyrics.ch? I have a couple of http components but dont know how to do what i want.
thanks for your help
cando
thanks for your help
cando
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
cando
I tested it and it works fine but here is the new button click procedure on the mainform
procedure TForm1.Button1Click(Sender : TObject);
var
FindThread: TFindWebThread;
begin
FindThread := TFindWebThread.Create (True);
FindThread.FreeOnTerminate := True;
FindThread.strUrl :=
'http://search.lyrics.ch/query/normal?' + 'artist=' +
ArtistEdit.Text + '&album=' + AlbumEdit.Text + '&song=' + SongEdit.Text;
FindThread.Resume;
end;
also you may need to check the edit for spaces and replace them with + signs
Later
BoRiS
I tested it and it works fine but here is the new button click procedure on the mainform
procedure TForm1.Button1Click(Sender
var
FindThread: TFindWebThread;
begin
FindThread := TFindWebThread.Create (True);
FindThread.FreeOnTerminate
FindThread.strUrl :=
'http://search.lyrics.ch/query/normal?' + 'artist=' +
ArtistEdit.Text + '&album=' + AlbumEdit.Text + '&song=' + SongEdit.Text;
FindThread.Resume;
end;
also you may need to check the edit for spaces and replace them with + signs
Later
BoRiS
ASKER
I seem to be having trouble with the piece that recieves the data, there are variable problems. If you would send me a working example, that would be great.
cando
cando@ix.netcom.com
cando
cando@ix.netcom.com
ASKER
I seem to be having trouble with the piece that recieves the data, there are variable problems. If you would send me a working example, that would be great.
cando
cando@ix.netcom.com
cando
cando@ix.netcom.com
cando
I have mailed it to you....
Later
BoRiS
I have mailed it to you....
Later
BoRiS
Will the result of your work will be freeware? :-)
Regards, Madshi.