>Hi
>I have small project that doing one thing : inserting one line of data to table AAA and exiting.
>insert..
>quite
>
>I have other (big) project with label that show the reccount of AAA and other information from the big project.
>I added timer in the big project to update the labelb.
>
>The problem is that when my small project getting the focus I have to activate menually the big project (and of course my timer not relevant).
>
>I look for way coding in my small project 'Give the focus to the big after exiting', or any other solution?
Check
Re: How do I do this again! Window on Top... Thread #
1302783 Message #
1302787Basically, SetForegroundWindow is the function you would probably use. But you need to pass window handle of your other project.
If it's not broken, fix it until it is.
My Blog