Solved

Changing Icon for ActiveX EXE

Posted on 2002-05-07
4
343 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

757 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

21 Experts available now in Live!

Get 1:1 Help Now