?
Solved

Changing Icon for ActiveX EXE

Posted on 2002-05-07
4
Medium Priority
?
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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.
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…
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…
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

800 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