Autor Beitrag
bernd29
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 116

winxp
D7 und VB6
BeitragVerfasst: Sa 19.03.05 18:16 
Hallo an Alle , :wave:

Meine playlist funktioniert sehr gut nur wen ich Extractfilename hinzu füge bekomme ich folgende fehler meldung zu wenig timer was mache ich falsch?

gruss bernd :lupe:
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 19.03.05 18:19 
Etwas Code wäre günstig um die helfen zu können...

AXMD
bernd29 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 116

winxp
D7 und VB6
BeitragVerfasst: Sa 19.03.05 18:51 
Hallo,

hier der code

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
procedure TForm1.AddBtn1Click(Sender: TObject);
var
  I: integer;
begin
   { setup a simple playlist so we can demonstrate how to handle it }
if OpenDialog3.Execute then
   for i:=0 to opendialog3.Files.Count -1 do
    begin
      JvPlaylist1.AddItem(Extractfilename(opendialog3.Files.Strings [i]),nil );
    end;
end;


wen ich JvPlaylist1.AddItem(Extractfilename(opendialog3.Files.Strings [i]),nil ); weg lasse geht er aber das wäre nicht sinn der sache

gruss
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 20.03.05 18:35 
Zitat:
     JvPlaylist1.AddItem(Extractfilename(opendialog3.Files.Strings [i]),nil );

Warum extractfilename?? Die JvPlaylist musst du doch mit dem gesamten Dateinamen füttern, angezeigt wird dann nur der Rest, oder (muss nachher mal bei mir nachschauen, aber ich glaub so wars)? Bei der JVCL iss glaub ich auch ein Bsp. dafür dabei... ( :arrow: "...[JVCL-Ordner]\Examples\...").

_________________
Programmers never die, they just GOSUB without RETURN
bernd29 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 116

winxp
D7 und VB6
BeitragVerfasst: Mo 21.03.05 09:04 
hallo ,

hab den fehler hatte mit playlist nix zu tun aber danke für eure mühe

gruss bernd
:autsch: