Results 1 to 5 of 5

Thread: Button show resource?

  1. #1

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    Button show resource?

    I have an IMG as a resource and Im wondering how to how it with a button?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Button show resource?

    In future, please assume that a single sentence is NEVER enough to provide a FULL and CLEAR description of your problem. For a start, do you mean you want to display the image on the Button or you want the use to click the Button and have image displayed somewhere else? If it's the latter then where do you want the image displayed. Also, how exactly did you add this resource in the first place? Was it added on the Resources page of the project properties? If not then accessing it is not quite so simple.

    Please take the time and make the effort to provide ALL the relevant information in your first post, so we don't have to guess or make assumptions, possibly wasting everyone's time with irrelevant solutions.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    Re: Button show resource?

    I want a button to show an IMG thats already saved as a resource.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Button show resource?

    Quote Originally Posted by Iamazn View Post
    I want a button to show an IMG thats already saved as a resource.
    That is STILL an inadequate description. Did you read what I posted? I asked you two questions and you have failed to answer either of them. We could guess exactly what you want and we might even be right but then we might be completely wrong too, and then we've wasted our time and yours.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    Re: Button show resource?

    For a start, do you mean you want to display the image on the Button or you want the use to click the Button and have image displayed somewhere else?
    The second one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width