Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
Note: I think as a programmer not as a human, so use my answer at your will
  • *Experts*
Posted

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.

Member, in good standing, of the elite fraternity of mentally challenged programmers.

 

Dolphins Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...