Private Sub PictureBox5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox5.Click
PictureBox5.BackgroundImage = System.Drawing.Image.FromFile("C:\Documents and Settings\User\My Documents\Visual Studio 2008\Projects\TestFruitIQ\TestFruitIQ\Resources\1.bmp" )
End Sub
if (System.IO.File.Exists("stringOfFilePath"))
{
MessageBox.Show("File is exist!");
}
else
{
using (OpenFileDialog op = new OpenFileDialog())
{
if (op.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
string fileForUpload = op.FileName;
//TODO : up load picture...
}
}
}
Date :
2011-10-13 21:21:46
By :
Numenoy
No. 9
Guest
ของนู๋เปน vb .net นะค๊
Date :
2011-10-13 21:39:11
By :
ปากกาด้ามเดียว
No. 10
Guest
Private Sub optCathaleeya_Click()
imgStar.Picture = LoadPicture(App.Path & "\mam.jpg")
End Sub
คัยได้ตอบหนูทีว่ามันคืออะไรบ้าง