Solved

Changing Icon for ActiveX EXE

Posted on 2002-05-07
4
345 Views
Last Modified: 2010-05-02
Hi,
I want to change the Icon of my ActiveX Exe which has no visual interface not even the form. How can i do it??
Please help me out in this.
0
Comment
Question by:vikky_sharma
4 Comments
 
LVL 1

Expert Comment

by:ramani_gr
ID: 6993567
Hi,

You can do it.

1) Add a blank form to your activex exe project and this form, you are not going to show at anytime.
2) Go to property window of this dummy form, and set your icon file in the icon property of this dummy form.
3) Go to project property, go to the make tab, there you can see Icon combo box.  Here you select the dummy form you just added.
4) compile it.

Then you would get this icon with this exe.

Good luck.
0
 
LVL 15

Accepted Solution

by:
ameba earned 200 total points
ID: 6993690
Add resource file to project (use VB6 Resource Editor Add-in)
Add icon to resource file, it will have ID = 101
Change ID of icon resource to string:   ID ="0"
Save, Compile.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7722332
Hi vikky_sharma,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept ameba's comment(s) as an answer.

vikky_sharma, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7779995
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now