Link to home
Start Free TrialLog in
Avatar of masterpoe
masterpoe

asked on

EXE icons in a project with no form

I have an application with no form, but I the compiled exe to have an icon. The only way I see to create an app icon is in Project Properties by setting the app icon to the icon of an existing form. Anyway to get around this without adding a form?
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

You have to add a form even if you never show it!
Avatar of masterpoe
masterpoe

ASKER

I need to be able to run this program with going through an installation process. If you add a form, it requires an installation process. I need to get around adding a from; if it's possible.
you have to go through an installation process with or without a form!  
Emoreau it's ok. Even if you don't need the window, you will find (sooner or later) that you need an installation process (VB library for example).

You won't need an installation process if the target PC has all the VB updates that the developer PC has.

I've tried to do the same thing (program with no installation) and found no other way.
If it is a DLL/OCX you can register it with regsvr32.exe found in the system directory.

The icon can be changed later with the Shortcut to the program by hand. It should default with the default VB program icon, that square frame.

You can add an icon without using a form, by using the "Add ActiveX Designer" for things like Active Reports, which has a property page for an icon which can be set in the program properties.
ASKER CERTIFIED SOLUTION
Avatar of aut
aut

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
NICE JOB! Thanks.