Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RefEdits and normal forms / forms in a DLL David Welch Excel Programming 0 December 1st 04 03:49 PM
Forms that open from forms Azza Excel Programming 1 October 12th 04 10:54 PM
Calling Forms from Forms - Exit problems Stuart[_5_] Excel Programming 3 May 25th 04 06:50 AM
Userforms nath Excel Programming 1 May 20th 04 04:53 PM
Userforms Gary[_8_] Excel Programming 1 August 18th 03 03:26 PM


All times are GMT +1. The time now is 03:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"