Results 1 to 3 of 3

Thread: [RESOLVED] Icon

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Resolved [RESOLVED] Icon

    I can't seem to get this code working, i am trying to change the icon of a form

    VB Code:
    1. Private Sub Form_Load()
    2. Dim TrayPath As String
    3. TrayPath = App.Path + "\ent.ico"
    4. End Sub

    VB Code:
    1. frmTray.Icon = TrayPath

    I also tried:
    VB Code:
    1. frmTray.Icon = App.Path + "\ent.ico"

    I dont know why but they both give error's.
    If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.

    If you fail, try and try again, its the only way to success.

  2. #2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Re: Icon

    Thanks,
    Chris1990.

    for some reason i always forget the loadpicture part.
    If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.

    If you fail, try and try again, its the only way to success.

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