Results 1 to 2 of 2

Thread: Resx + Images + BTN = PAIN HELP!!!1

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    99

    Resx + Images + BTN = PAIN HELP!!!1

    yo guys i am haveing a few issues with an app im developing gui style atm, basicly i have made both a resx and resource file, i want to use the resx file, i have added it to my project and now i just want make the command button image change on mouse over, i can do with with an image list but the bugger is 2 small ony 320 x 320 i belive, so i need to use resx files, how do i make btnStart.image=resx.start.jpg that an example btw please help me guys im well stuck on this one!

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    99
    HAHAHAHHAH SORTED WOOOOHOOOOO

    used a resorces file insted of resx coz resx pissed me off hahah
    Code:
        Private Sub btnStart_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnStart.MouseLeave
    Code:
     Dim rsxr As Resources.ResourceManager = New Resources.ResourceManager("Japanese_Teacher.img", System.Reflection.Assembly.GetExecutingAssembly())
    Code:
    btnStart.Image = rsxr.GetObject("Ikimasu.jpg")
    quality any questions ask, but looking at other posts and this one you should bebale to figure this out, also you can clean up and slap this code in a class make it hahaha a bit more classy sorry sorry ill get my coat now!

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