Results 1 to 5 of 5

Thread: displaying wmf from resources in picturebox

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    57

    displaying wmf from resources in picturebox

    I have several images loaded as resources and would like to display them programatically to picturebox
    Howerver
    Pic1.Image = My.Resources.ResourceManager.GetObject("111.wmf")
    does not work
    Pic1.Image = CType(My.Resources.ResourceManager.GetObject("111.wmf"), Image)
    doesnt work either

    Pic1.Image = My.Resources._111
    works but i cant use a variable

    any help?

    thanks
    Last edited by edubnmrg; Mar 11th, 2016 at 04:59 PM.

Tags for this Thread

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