Controls in VBA

A

Alberto

Hello, i'd like to make more smart my controls in my VBA project. Instead of
Windows Forms 2.0 which ist the primary option when using Windows Forms I am
trying to use the controls of Microsoft Windows Common Controls 6.0 (SP6).
In particular: ListView, ListviewControl, ImageList, ImageCombo... and I'm
experiencing problems when using these controls. I´d like to show a list of
mails and an special icon associated depending of the sender. This ist not
possible with Windows Forms 2.0 and that's why i'm exploring this option.

Is it maybe not recommend the use of these controls in a VBA project??

Thank you.
 
K

Ken Slovak - [MVP - Outlook]

What problems are you experiencing, please be specific.

What version of Outlook and what version of Windows?

Where are you trying to use those controls, in an Outlook custom form or a
VBA UserForm?
 
A

Alberto

So i'm using:

Outlook 2003 11.8217 (SP3).
Windows XP Professional (SP2)

I'm trying to use these forms in an VBA UserForm.

Basically the problem appears in design mode when trying to link an
ImageList to a control which could use symbols or icons, i.e. Toolbar
Control, ListView...

I add one or more pictures to the ImageList Control, that's no problem. The
problem comes when i go to the Toolbar Control, click on (custom) and the
property pages will show. On the General tab I select Imagelist but there's
anything else than <None>. I was expecting to see the previously fullfilled
ImageList1 as selectable but it's not there, so I cannot add pictures to the
project (i didn't really go further because adding pictures is the only thing
i'm at this point interested on)

So, i would be very very happy if it was possible to use properly these
controls in VBA Forms..

Any help?

Thank you in advance...
 
K

Ken Slovak - [MVP - Outlook]

It's very hit or miss, some of the VB6 controls work OK in UserForms, others
not so much. For example a DTPicker is OK, the image controls and image
lists don't seem compatible.

I'd probably do the coding in VB as a COM addin, then all those common
controls would work correctly.
 
A

Alberto

Thanks Ken,

Writting an adding will be the next stage. At the moment I'll try to
survive within this environmment.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top