Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

VB Forms and Userforms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrea - 21 Mar 2006 17:20 GMT
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
awaters@linnhoffmarch.com - 22 Mar 2006 11:09 GMT
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!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.