Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 856
  • Last Modified:

VB.net get path of Background image of a panel on clicking it

In VB.net what code would I use to get path of Background image of a panel on clicking it?
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
CodeCruiserCommented:
BackgroundImage property is of type Image so it does not contain the path. What you can do is to use the Tag property of the panel to store location of the image file when setting the background image.
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now