Does anyone know of a way to programmatically get the hWnd of the hidden
top-level window in a VB app, when you only have a module and no forms in
your app?

Thanks,

Pete