![]() |
VB Forms and Userforms
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 |
VB Forms and Userforms
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! |
All times are GMT +1. The time now is 11:13 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com