VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Setting an activeX DLL Add-In's Icon in the Add-in's ToolBar.(Without codes!)

by Van Den Driessche Fran?ois (2 Submissions)
Category: OLE/COM/DCOM/Active-X
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 20th April 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Setting an activeX DLL Add-In's Icon in the Add-in's ToolBar.(Without codes!)

Rate Setting an activeX DLL Add-In's Icon in the Add-in's ToolBar.(Without codes!)



    and click on it.
2°) In the list of available Add-Ins search for "Visual Basic 6 Resource Editor"
    and check "StartUp" and "Loaded" in the "Load behavior" and 
    click "OK".
3°) Now we can add a new Resource file to the project by clicking
    on the "Project" menu and selecting the last one "Add New Resource File".
    Give a name to the new file ("YourName.RES") and click "OK".
4°) In the project window, we open the "Related documents" and double
    click on the file "YourName.RES" to open the "VB Resource Editor".
5°) In the Toolbar of the resource editor click on the "Add Icon" icon.
    Search your icon and click OK.
6°) Now you see a folder "Icon" with your icon in it.
7°) Right click on this last one and choose "Propreties".
8°) Change the ID of the icon with "APPICON" and click OK and save
    your RES file.
9°) Save your project.
10°)After you select File|Make DLL, the RES file is part of the 
    compiled DLL add-in. The VB Add-In Toolbar application is coded 
    to look for such an icon resource reference in a DLL add-in and, 
    if it finds it, to use it as the icon on its toolbar button.

Attention! I don't know if in a previous version of VB6 there was a
Resource Editor available. If not let me know I'll try to help you.

Download this snippet    Add to My Saved Code

Setting an activeX DLL Add-In's Icon in the Add-in's ToolBar.(Without codes!) Comments

No comments have been posted about Setting an activeX DLL Add-In's Icon in the Add-in's ToolBar.(Without codes!). Why not be the first to post a comment about Setting an activeX DLL Add-In's Icon in the Add-in's ToolBar.(Without codes!).

Post your comment

Subject:
Message:
0/1000 characters