, hello there.. can anyone teach me how to display picture using the Application.startup path?.. i don't have any idea about it. i want to locate the picture in my bin folder inside my debug folder as i selected the name of the candidate in the combo box.

Recommended Answers

use picturebox.load method and pass ur Apppath where u keeping the pic.

Dim picpath As String
        picpath = Application.StartupPath & "\img1.jpg"
        picturebox1.Load(picpath)

make sure pic will be there in the apppath

Jump to Post

All 2 Replies

use picturebox.load method and pass ur Apppath where u keeping the pic.

Dim picpath As String
        picpath = Application.StartupPath & "\img1.jpg"
        picturebox1.Load(picpath)

make sure pic will be there in the apppath

PictureBox1.Load(Application.StartupPath + "\image.jpg")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.