How To Make public sub form ShowDialog
I have Module and i want to put a code that i can use it in all project to open forms .
I have Tried to put this code in Module Put Not Working
Public Sub OpenForm(ByVal Frm As Form)
Frm = New Frm()
frm.ShowDialog()
End Sub
The Error Is " Type 'Frm' is not defined "
Kind Regards And Thanks For Help Salem