stupid treeview/multipage bug

W

ward

Hi,

I've just learned (by testing on two different computers)
that
1 when you put a multipage control on a form,
2 and a treeview control on the multipage,
3 and when you switch (during design or while running the
program) between the two pages a few times,

you've got a sure way to make Word crash. (You'll also
notice that extra treeview nodes get created automatically)

Anybod knows a way around this, or do I better not use a
multipage control? (I need the tree view, so leaving that
out is no option)
Maybe i can update MSCOMCTL.ocx?

Configuration of both computers: Win 2000 SP3, Word 2000,
Treeviewcontrol 6.0

thanks,
Ward
 
J

Jezebel

UserForms are flaky beasts at the best of times. Quite a few controls that
show up in the 'Additional components' list are actually designed for VB
forms -- as you've discovered, they just don't work on a UserForm.

The solution depends how much work you want to do. The Rolls Royce answer is
to write the form in VB, compile it to a DLL, then add it as a reference to
your VBA project.
 
P

Peter Hewett

Hi Ward

I've abandoned two projects after significant development because TreeView
just does not work properly/consistently when used with a VBA form. It's VB
or bust I'm affraid, but then you have an additional component to distribute
:(

Cheers - Peter
 

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