A bit complex.
You should use latest version of dzHW.dll (
Useful Library)
1. Add a global variable
Dim hWnd
2. Somewhere in your code before hiding the form add
hWnd = dzhw.GetActiveWindowHandle
3. Add in your icon click event sub
dzHw.BringWindowToFrontC(dzHW.GetClassName(hWnd, 100))
Your form should be visible again