Results 1 to 2 of 2

Thread: How to display icon on EXE that only contains a standard code module??

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    5

    How to display icon on EXE that only contains a standard code module??

    Can someone tell me how to display an icon on a compiled EXE that only contains a standard module (ie no forms).

    I was told that adding a resource file with the icon I wanted as the first icon in the file would do this, but it doesnt.

    Will i have to add in a redundant form and add the icon to this ?

    When I compile the project, I get an EXE with the standard VB program icon (which is a bit pants).

    Any help appreciated.

    Cheers


    *Bane*
    Just 1 more tweak and that should be.......OH DAMNIT!

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    I think you have to add a form with no controls, just the icon you want. That's what I do anyway.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

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