Results 1 to 7 of 7

Thread: Image on Form

  1. #1

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Talking

    Hi Everybody!

    Does anyone know how to change the icon that is on the top left hand side of a form? What I'm talking about is the image on the left of the caption of a specific form. I hope this isn't confusing. Any suggestions would be appreciated.

    Thanks.
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,092
    look at the forms Icon property on the properties box
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    New Member
    Join Date
    Nov 2000
    Location
    Montreal, Canada
    Posts
    14
    At design time:
    go to form properties
    look for ICON property

    At run time:
    Form1.Icon = LoadPicture("c:\myicon.ico")
    File not found!
    Abort, Retry, Get a Beer...

    L8r

  4. #4

    Thread Starter
    Hyperactive Member vbuser1976's Avatar
    Join Date
    Sep 2000
    Location
    Yonkers, NY
    Posts
    404

    Talking THANKS!

    Thanks for all your help and enjoy your weekend!
    -vbuser1976
    VB6 Enterprise SP6
    SQL 7.0 SP2
    VBScript, HTML, Javascript, C++, a little UNIX

  5. #5
    Hyperactive Member Jareware's Avatar
    Join Date
    Nov 2000
    Location
    Silicon Valley, CA
    Posts
    275

    Talking Wow!

    This is something even I would have known an answer to!

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,092
    Well you must be wise beyond your status! However, not everyone was blessed with your immense knowledge. That is what this forum is for, to get the answers that your having trouble finding yourself.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  7. #7
    Hyperactive Member Jareware's Avatar
    Join Date
    Nov 2000
    Location
    Silicon Valley, CA
    Posts
    275
    This site rules! I just got my always-on-top form to remain always-on-top with instructions from this site! Woohoo! *overreaction*


    -JR-

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