COM add-in form show question

D

dcjohnson50

I'm developing a COM add-in for Excel using VB 6.0. So far, it works
well with one exception, I haven't been able to keep one of my forms
on top of Excel, yet be modeless.

My code to call the form is as follows:
MyForm.Show vbModeless

The Show function is defined as such:
--------------------------------------------
object.Show style, ownerform

ownerform Optional. A string expression that specifies the component
which "owns" the form being shown. For standard Visual Basic forms,
use the keyword Me
--------------------------------------------

The ownerform parameter is the key here, but so far it's kicking my
butt. I searched a few pages deep but didn't find anything. Any help
would be appreciated.

Thanks,
David
 

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