kaisersoze Posted August 27, 2004 Posted August 27, 2004 I have a list of picture boxes. when user clicks on then then i need to get the physical path of the picture. How to do this? Quote Note: I think as a programmer not as a human, so use my answer at your will
PWNettle Posted August 27, 2004 Posted August 27, 2004 I have a list of picture boxes. when user clicks on then then i need to get the physical path of the picture. How to do this? Is this a legacy VB question or a .Net question? Quote
*Experts* DiverDan Posted August 28, 2004 *Experts* Posted August 28, 2004 How are the pictures loaded? If they're loaded from a file, then store the path in a variable and access it from the picture box click or mouse up event. You can use a dual purpose function ("Get" or "Set") or a global array to store the path. I prefer the function as it reduces the need for global variables, but both will work equally well. Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
PWNettle Posted August 29, 2004 Posted August 29, 2004 Is this a legacy VB question or a .Net question? Wow, I could've sworn I replied to a copy of this on the VB forum. Either I'm losing my miind (entirely possible) or someone merged the threads across the forums? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.