Autor Beitrag
DelphiFreund
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 120

Win XP
D7 Enterprise
BeitragVerfasst: Fr 30.07.04 14:27 
Diese Fehlermeldung bekomme ich immer, wenn ich versuche ein neues *.jpg Bild zu laden.
Das erste Bild lässt sich laden, wenn ich ein neues Laden will kommt sie.

Kann mir jemand helfen?

Gruß Delphifreund
newbie44
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 117

Windows XP, Windows ME
D6 Pers, D7 Enterprise
BeitragVerfasst: Fr 30.07.04 14:50 
Wo bzw. wann sagt er das immer?

Sebby :(

_________________
Dumm darf man sein, aber zu helfen muss man sich wissen.
DelphiFreund Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 120

Win XP
D7 Enterprise
BeitragVerfasst: Fr 30.07.04 14:53 
Ich hab ne Datenbank, in der stehen Dateipfäde, wenn ich die Auswahl ändere soll ein neues Bild in ein Image geladen werden. Alle Bilder jpg. Beim wechseln kommt der Fehler
newbie44
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 117

Windows XP, Windows ME
D6 Pers, D7 Enterprise
BeitragVerfasst: Fr 30.07.04 14:59 
Ist das eine Bilddatenbank? Ich weiß leider nicht warum er das nicht laden kann, bin ja erst ein Newbie, ich würde gerne Helfen, kann leider nicht

Sebby :( :cry:

_________________
Dumm darf man sein, aber zu helfen muss man sich wissen.
DelphiFreund Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 120

Win XP
D7 Enterprise
BeitragVerfasst: Fr 30.07.04 15:00 
Nein, keine Blobfelder. Nur der Link als String. Bsp.: 'E:\Eigene Dateien\...\Hallo.jpg'
DelphiFreund Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 120

Win XP
D7 Enterprise
BeitragVerfasst: Fr 30.07.04 15:31 
Ich bin jetzt selbst draufgekommen: Die Lösung ist eigentlich mehr als simpel:

Man muss in Image das Bild erst löschen:

ausblenden Delphi-Quelltext
1:
2:
3:
  Image1.Picture.LoadFromFile('E:\Eigene Dateien\...\Hallo1.jpg');
  Image1.Picture:= nil;
  Image1.Picture.LoadFromFile('E:\Eigene Dateien\...\Hallo2.jpg')


Gruß DelphiFreund