1Danke
ERLEDIGT
JA
JA
ANTWORTEN
2
2
ZUGRIFFE
825
825
EMPFEHLEN
-
Hallo zusammen,
eine kleine Frage wie lade ich ein Bild mit einem FilebrowserDialog oder File... in eine Picturebox?
Gibt bestimmt ne simple Lösung, aber ich komm net drauf
Schonmal ein großes THX
-
Hi
Ja gibt es
Code csharp:1 2 3 4 5 6 7 8
OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "JPEG | *.jpg"; if (ofd.ShowDialog() == DialogResult.OK) { pictureBox.ImageLocation = ofd.FileName; // oder // pictureBox.Load(ofd.FileName); }
Grüße Nico
----------------------
Xing
----------------------
Zitat von Mark Twain (1835-1910)
Zitat von Mike Wilson - Biographie über Larry Ellison (CEO Oracle)
-
Danke funktioniert einwandfrei, mußte es nur in VB ändern
Ähnliche Themen
-
[VB 2005.net] Picturebox drehen oder Bild in der Box drehen
Von Alaitoc im Forum .NET Windows FormsAntworten: 6Letzter Beitrag: 14.12.07, 08:49 -
Grrrrrr: Bild in Picturebox bearbeiten und speichern oder drucken!
Von Wessy im Forum Visual Basic 6.0Antworten: 2Letzter Beitrag: 27.10.05, 21:17 -
Bild aus Accessdatenbank in Picturebox oder Image anzeigen
Von Pherdacil im Forum Visual Basic 6.0Antworten: 1Letzter Beitrag: 27.05.05, 15:29 -
Beliebige Datei in Image oder PictureBox laden
Von wasserflasche im Forum Visual Basic 6.0Antworten: 2Letzter Beitrag: 03.06.04, 10:01 -
"pictureBox" Bild laden
Von Thorben im Forum C/C++Antworten: 2Letzter Beitrag: 17.12.03, 15:18





Zitieren

Login





