+ Reply to Thread
Results 1 to 2 of 2

VB Forms and Userforms

  1. #1
    Andrea
    Guest

    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. #2

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1