new.Matrix hat folgendes geschrieben: |
Also erstmals danke für deine Mühe und Hilfe! |
Kein Problem, dafür gibt's das Forum ja
new.Matrix hat folgendes geschrieben: |
Leider klappts bei mir immer noch nicht, jetzt kommt ne exception Cannot locate resource 'images/1.gif' obwohl der Ornder so ziemlich überall ist :-S ich raffs echt nicht |
Überall muss der Ordner nicht sein, sondern da, wo Deine exe liegt.
Ich habe für meinen Test eben in meiner Solution im Visual Studio einen neuen Ordner angelegt und dann mittels "Add" -> "Existing Item" eine Bilddatei hinzugefügt. Bei der Bild-Datei dann in den Eigenschaften "Build Action" auf "None" und "Copy to Output Directoy" auf "Copy if newer". Ich hab mal einen Screenshot angehangen.
Wenn ich nun mein Projekt erstelle, wird automatisch der Unterordner im Debug- bzw. Release-Ordner erstellt und die Datei dort rein kpoert.
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".