Autor Beitrag
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: So 04.05.03 08:24 
Hallo

ich wollte ein kleines Tolls bauen, welches mir die Bilder eines Ordners anzeigt und ich die mit den Cursortasten durchklicken kann.Funzt auch soweit. Nur mein Problem, wenn ich unter Win98 nen Bild laden will, kommt ne Fehlermeldung:

Die Datei ... oder einer ihrer Kompenten... wurde nciht gefunden. zuvor wird das Bild zur Hälfte aber geladen. WARUM??

thÄnxX

fcg

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Mo 05.05.03 19:10 
Versuch es mal, indem du die einzelen Parameter in " packst
So in etwa: "C:\test.exe" "Parameter1" "Parameter auch mit Leerzeichen"
fcg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Di 06.05.03 14:14 
habe es so bis jetzt versucht:

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
for i:=0 to ParamCount do
 begin
  param := param + ' ' + ParamStr(i);
 end;

param := copy (param,2,length(param));


aber es funzt nit...

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Di 06.05.03 14:17 
Nein, das ist die falsche Methode.
Du musst den Parameter in Anfügrungszeichen --> " <-- übergeben und dann das ganze mit showmessage etwas ausprobieren.
fcg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Di 06.05.03 17:24 
bringt leider trotzdem nichts :-( mit und ohne.

Unter Xp funzt es jau auch, da brauch auch auch nur ParamStr(1) anzugegebn, aber 98 teilt die Paramter ja so komisch auf...

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.