vb.net - Allow user to insert a custom image -


i in middle of making vb.net (visual basic 2010 express) application when hatched idea. want users able insert own images application. how so? know has open file dialog.

you can following code. if want show in picturebox, can follow below code, else can save byte data of image db.

    openfiledialog1.showdialog()     picturebox1.image = image.fromfile(openfiledialog1.filename) 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -