I don't want it to be always on top
Printable View
I don't want it to be always on top
So when don't you want it to be on top then???
You don't want it to always be on top, but you want to force it to the foreground?
I'm confused.
*Does the confused highland fling with Hack whilst waiting for a reply.......
To front or not to front - that is the question?
I'm not sure why you are confused? Don't you think someone may want a nice feature that if you click the icon for the application, the one and only instance the developer wants available to the user, to come foreward to the foreground?
So if your app is running and the user tries to start it again, at that point you wish to bring the previous instance to the foreground.......?
exactly. Right now if just says "This program is already running." and terminates
So where's that code, in the first form load or something, is it checking for App.Previnstance?
(You do own the app don't you? - because if not it's a different approach)
If App.PrevInstance Then
MsgBox "Postit is already running.."
End
End If
Right - glad we got that sorted - what OS are you running the app on (makes a difference....)
Um... Definately 98 & 2000 pro.. however I would like it to work across the board if that wont make the code 100X longer
it should be ok, if you have a look at www.mvps.org/vb/ and look for the forcefore.zip sample you'll see why I mentioned it, but this shouldn't hurt on NT or 95 for that matter, because you can just get the os version, and if it's the earlier ones you can just use a SetForeGroundWindow........
hope this helps.....
awesome.... how since you are so resourceful... I want cryptology in my program as well... just something basic.. I actually already had it but it's some super complex code / module I got for basic, I havent used in 3 months and now it doesnt even run.. debugging it... uh .. no clue how... lol
any advise?
I dont want to spend money on these other COM's you can get, etc
no worries, you can use the Microsoft Crypto API......
check out this sample......