Is there a way to set a window to the top on screen and set focus on it?
I'm having a menu in VB.Net calling a bunch of .exe. Everytime a window apears, it runs itself to the top on screen. But there was a window, problem-able one, with some .dll which make it always stood behind everthing on screen. I cannot fix the .dll, so I'm trying to get the screen to go to the top with my code.
Me.Activate()- Nothing happens...
Me.BringToFront()- Nothing happens...
Me.TopMost = True- Always on top, but no focus (dvmn it!!!)
All 11 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.