Results 1 to 6 of 6

Thread: Icon for an Exe with no Form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    Probably something really simple that I'm missing, but how do I assign an icon to my project if it hasn't any Forms (ie. only Basic modules)?

  2. #2
    Lively Member
    Join Date
    Apr 2000
    Location
    Rafaela (Argentine)
    Posts
    107
    Why don't just add a form and use its icon? (don't call the form from any sub or function, and don't add any control to it, so it won't add a large amount of bytes to yor final exe)

  3. #3
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350

    External software

    I had this problem a lot, but I am using some of other programs to assign an icon to a exe file. MicroAngelo (www.impactsoft.com) is very good.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    I don't wan't a Form on my project that I'm not using, it's just bad code. Plus this way my project doesn't show up on the Windows List when it's running.

    Thanks Jhd.Honza, MicroAngelo is what I'm using already, I was wondering if there was a way to do it without it.

    I know that the method is probably exposed through the Shell32.dll it's just that I don't know which method I should use.

    Anyone know?

  5. #5
    Junior Member
    Join Date
    Mar 2000
    Location
    Ede, Gelderland, Nederland
    Posts
    26

    It's easy to made your have an icon and no form!

    To have a icon with no form is easy:

    Step 1. Start the 'Recourse Editor'

    Step 2. In the toolbar of the 'Recourse Editor' is a button to add a icon.

    Step 3. Select a icon

    Step 4. Make a exe

    Step 5. Make a link of the exe

    Step 6. Properties of the link, tab Link, another icon..., and make a choice!

    Sorry for bad English!

    LauPro

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    LauPro, thanks for the input, but I want the actual exe itself to have an icon.

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