Question StartupNextInstance - e.BringToforeground not firing

gchq

Well-known member
Joined
Dec 14, 2007
Messages
168
Programming Experience
10+
Hi

I have ClickOnce app that is set as a single instance app.

In ApplicationEvents there is this

VB.NET:
Private Sub MyApplication_StartupNextInstance(sender As Object, e As Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs) Handles  Me.StartupNextInstance
             e.BringToForeground = True
        End Sub

But the running app is not brought to the foreground - any idea why?

Thanks
 
Back
Top