I've written an activeX control in VB6 to all graphical editing and creation of gantt chart schedules. It works fine when embedded in HTML, but whenever I put it in an excel document it runs so slowly as to be unusable - the OS is continuously paging stuff to disk.

The control is only 90K or so, and it only allocates 5 or 6K of memory on top of the control's basic properties. Any ideas for improving performance?

Please help or I'll have to start my entire project again on C++ or something!

Thanks,
Ben