Solved

Cool Bar Image Assignment

Posted on 1998-12-05
7
172 Views
Last Modified: 2013-12-25
I am using the ImageList1 Control to specify images by selection.  I have selected .ico, .gif, and .jpg to see which type would display on the Cool Bar.  

In the Cool Bar properties I have specified the ImageList1 for the images and still no images display.

When I use a bit map instead of an ImageList1 no individual buttons are accesible for index execution....?
0
Comment
Question by:optical
7 Comments
 
LVL 3

Expert Comment

by:Sendoh
ID: 1488719
Hi !
Could you post some portion of the code for further understanding of you scenario ??
Thanks.
0
 

Author Comment

by:optical
ID: 1488720
Simply, using the ImageList control with the CoolBar control either one bitmap from a c program is displayed as one or from multiple images in ImageList no images display.

I need individual images to get selected so they operate as icons....

Code in another computer not easily transportable right now.  will post as necessary.  All the assignment is in the Property boxes of the ImageList and CoolBar.
0
 

Expert Comment

by:cemoses
ID: 1488721
Currently registering and check topic on Blobs and visual basic.
0
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.

 

Author Comment

by:optical
ID: 1488722
Still no images, keep this open, I will continue to research this regarding BOTH
TOOLBAR and COOLBAR.  I copied the MDI TOOLBAR, the buttons worked
but the ImageList did not work.
0
 
LVL 15

Expert Comment

by:ameba
ID: 1488723
ImageList - this is the same problem as in other 2 questions, isn't it?
You have VB5 and VB6 on the same machine?
0
 

Author Comment

by:optical
ID: 1488724
Yes, but I found that even the Tool Bar only works in the MDI parent and not any child form.
0
 
LVL 1

Accepted Solution

by:
bear454 earned 50 total points
ID: 1488725
The images in the imagelist all have an index (and if you assign, a key).  The coolbar has a property for each bar that refers to the index (of key) of the desired image.

At design time, on the coolbar property pages, on the General tab, the Imagelist box should be set to the name of the imagelist.  On the Bands tab, the Image box should be set to the index (or key) of the desired image.

The image will not be displayed at design time.
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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

911 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