hi all,
i have added 3 .png files [done.png, failed.png, busy.png] to my project & changed them to "embedded resource" [from this wht i understand is that they will be integrated within the exe hence eliminating the dependency on the actual location it is stored]
i have 1 picturebox on my form whose image i have to change as per the output of something else
this is wht my code looks like :
but it gives me error during run time.. am i using the right code ? or is there an alternate method for this ?Code:If text1.text = "Done" then picturebox1.image = my.resources.done.png end if If text1.text = "Failed" then picturebox1.image = my.resources.failed.png end if




Reply With Quote