[Help] Need some help W/ PictureBoxes in VB 2008 menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    insignia96's Avatar Banned
    Reputation
    33
    Join Date
    Oct 2008
    Posts
    304
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Need some help W/ PictureBoxes in VB 2008

    Okay i am making a Server CP and i have a picture box that has a status picture that changes when you start the server.

    This is the code i have for the button click:

    Code:
    Private Sub WorldStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WorldStart.Click
            WorldStatus.BackgroundImage = world_up.bmp
    
    
        End Sub
    This is the error i get
    Code:
    Name 'world_up' is not declared.
    all the pictures i am working with are in the resources file of the project

    [Help] Need some help W/ PictureBoxes in VB 2008
  2. #2
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it should be this

    Code:
    Private Sub WorldStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WorldStart.Click
            WorldStatus.BackgroundImage = My.Resources.world_up
    End Sub


  3. #3
    insignia96's Avatar Banned
    Reputation
    33
    Join Date
    Oct 2008
    Posts
    304
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks +rep

Similar Threads

  1. warrior head tier 2 --> tier 3 need some help please
    By katjenl in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 11-22-2006, 09:10 AM
  2. Need some help
    By _Shapes_ in forum World of Warcraft Model Editing
    Replies: 2
    Last Post: 11-11-2006, 02:18 PM
  3. NEED SOME HELP with Model Editing
    By Dwarf in forum World of Warcraft Model Editing
    Replies: 4
    Last Post: 09-12-2006, 08:12 PM
  4. realy need some major help, can you help me
    By Bludypeople in forum World of Warcraft General
    Replies: 14
    Last Post: 07-15-2006, 10:54 AM
  5. I Need some IE help please!
    By Shadowman2418 in forum Community Chat
    Replies: 0
    Last Post: 07-10-2006, 09:02 PM
All times are GMT -5. The time now is 07:15 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search