Connecting Tech Pros Worldwide Help | Site Map

Displaying non-modal forms via interop from COM DLLs

Newbie
 
Join Date: Jul 2009
Posts: 2
#1: Jul 17 '09
I am trying to load a VB6 program into VB .Net project via COM. I have exactly the same problem as this thread from 2005. I would appreciate if anyone has an answer to this. Thanks

http://bytes.com/groups/net-vb/38279...terop-com-dlls
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#2: Jul 21 '09

re: Displaying non-modal forms via interop from COM DLLs


It seems that the link provided in the other thread has some good advise on how to fix the problem:

Quote:

Originally Posted by article

Instead of using forms in ActiveX document applications, Microsoft recommends that you use other UserDocuments to get the same results. As described in this article, the inconsistent behavior of forms may cause confusion for clients. UserDocuments can offer many of the same features as forms. UserDocuments have easier manipulation than forms in an ActiveX document application.

....

I'd recommend checking out UserDocuments like the article suggests.
Reply