How do I add my icon to a VB.net exe file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeeeeeeek
    New Member
    • Dec 2006
    • 1

    How do I add my icon to a VB.net exe file?

    How do I add my icon to a VB.net exe file? someone please give me step by step directions on how i can do this. Im an amature in programming !
  • Ben3eeE
    New Member
    • Dec 2006
    • 8

    #2
    do you mean the little icon in the top left corner ?
    try this in form load

    Code:
    Dim AppPath As String
    AppPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath)
    Me.Icon = New Icon(AppPath & "\icons\programicon.ico")

    Comment

    Working...