Solved

Changing Icon for ActiveX EXE

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

738 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