VB Forms and Userforms

  • Thread starter Thread starter Andrea
  • Start date Start date
A

Andrea

Hello,

i have another question for you!

I implement a form in a dll, made with VB6, and i use the DLL in an
excel workbook, now i want to make the dll form the same as a userform,
i try with setwindowpos and setparent but it doesn't work, i have the
dll form always on top (over) any userform i open from excel, or if i
don't set the topmost style i have the dll form always under the
userforms!

Thank for the help!
Andrea
 
DLL forms should always appear on top, without using SetWindowPos,
because they have to be modal.
However, we find that when you are running a DLL in the VB IDE the
problem you mention does occur.
I this is what you are doing, then try running the compiled DLL to see
what happens.
Withe regards to debugging the DLL, it is a constant pain in Excel!
 

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

Back
Top