An object-oriented programming language developed by Microsoft that can be used in .NET.
If you're calling a function or sub in a module pass the owner window as a parameter.
For example,
Module Module1
Function Mbox(owner As IWin32Window, str As String)
Return MessageBox.Show(owner, str)
End Function
End Module