Changing icon ?

Discussion in 'Archives' started by scary tiger, Aug 10, 2007.

Changing icon ?
  1. Unread #1 - Aug 10, 2007 at 11:10 AM
  2. scary tiger
    Joined:
    Mar 12, 2007
    Posts:
    97
    Referrals:
    0
    Sythe Gold:
    0

    scary tiger Member

    Changing icon ?

    Changing icon ?How can i do it Example if i press the command button The icon it will change (VB Icon to Mozilla icon) and if i press it again it will change to original icon (VB icon)
    Thanks this site is help me so much
    beacuse i will gonna make an trainer on RS
     
  3. Unread #2 - Aug 10, 2007 at 11:30 AM
  4. LeetScape
    Joined:
    May 27, 2007
    Posts:
    126
    Referrals:
    0
    Sythe Gold:
    1

    LeetScape Active Member

    Changing icon ?

    Icon (top left image on taskbar) or image? (image would be easier, just use visible = false/true)

    Code:
    Private Sub Command1_Click()
    Me.Icon = "" 'Path to icon
    End Sub
    
     
  5. Unread #3 - Aug 10, 2007 at 11:58 AM
  6. scary tiger
    Joined:
    Mar 12, 2007
    Posts:
    97
    Referrals:
    0
    Sythe Gold:
    0

    scary tiger Member

    Changing icon ?

    i got an error Compile error Type:Mismatch
     
  7. Unread #4 - Aug 10, 2007 at 4:23 PM
  8. timk777
    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0

    timk777 Active Member

    Changing icon ?

    Because it has to do with the way you load the picture.
    Code:
    Private Sub Command1_Click()
    Dim Path as string
    Path = "" 'Path to file
    Me.icon = LoadPicture(Path)
    End sub
    
     
  9. Unread #5 - Aug 10, 2007 at 5:52 PM
  10. The Rogue
    Referrals:
    0

    The Rogue Guest

    Changing icon ?

    An easy way would be to assign the mozzila icon to one of the forms, then do either:

    To go to normal
    me.icon = loadpicture("")

    Then to switch to mozzilla(the form is the one with the icon of mozzila):
    me.icon = form2.icon

    I think thats what you want.
     
  11. Unread #6 - Aug 11, 2007 at 12:02 AM
  12. hmm
    Joined:
    Jan 21, 2007
    Posts:
    181
    Referrals:
    2
    Sythe Gold:
    5

    hmm Active Member

    Changing icon ?

    or you could click the form and change the icon property so it compiles inside the program, lol
     
  13. Unread #7 - Aug 11, 2007 at 2:57 AM
  14. scary tiger
    Joined:
    Mar 12, 2007
    Posts:
    97
    Referrals:
    0
    Sythe Gold:
    0

    scary tiger Member

    Changing icon ?

    LOL thanks the rogue
     
< So...you want a decent pker and good money maker and good stats...? | selling lvl 65 with 90 mage and 82 str! awsome acc >

Users viewing this thread
1 guest


 
 
Adblock breaks this site