954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

displaying picture in picture box using application.startup path

, 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.

IT_Student_604
Light Poster
34 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

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

Pgmer
Master Poster
714 posts since Apr 2008
Reputation Points: 54
Solved Threads: 121
 
PictureBox1.Load(Application.StartupPath + "\image.jpg")
NetJunkie
Junior Poster
158 posts since Aug 2011
Reputation Points: 41
Solved Threads: 28
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: