943,981 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2920
  • VB.NET RSS
Sep 13th, 2007
0

allowing users to change image

Expand Post »
How do you allow a user to change the image displayed in the picture box?
It's part of an extra credit assignment, but I don't remember reading anything in the book about it.
Similar Threads
Reputation Points: 817
Solved Threads: 32
Nearly a Posting Virtuoso
Duki is offline Offline
1,474 posts
since Jun 2006
Sep 13th, 2007
0

Re: allowing users to change image

hi

Provided you know the location of the file, use this:
VB.NET Syntax (Toggle Plain Text)
  1. button1.Image = Image.FromFile("myIcon.ico")
Hope it helps
Reputation Points: 23
Solved Threads: 10
Junior Poster
williamrojas78 is offline Offline
111 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Need a BE project idea in VB.NET(Urgent)
Next Thread in VB.NET Forum Timeline: Console Output





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC