>In VB6 the main window handle is actually a hidden window, so you'd need to >get the form's handle
Good grief! I suppose that makes sense considering how VB6 windows behave. >It would be quicker to re-write the pop up form in VB6, and add the .net database >layer logic as dll with a com wrapper, if there is one, or just implement some ado >in vb6 for the database stuff. Or we-write the vb6 stuff in .net :) My colleague has decided to write the "picker" UI in VB6 and all the data stuff will be in a .NET DLL with an Interop wrapper. The lesson from this is that VB6-.NET Interop of library code is not too hard, but doing so with Forms/dialogs is very hard to improbable. I haven't tried wrapping .NET Controls as ActiveX for VB6 to consume, I almost did a few weeks ago and then remembered all the registering of COM and the install footprint and I abandoned the idea. Greg