Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.Net And API Problem

Status
Not open for further replies.

dazzer123

IS-IT--Management
Nov 24, 2003
128
GB
Hi, I have a vb.net Parent form which contains a child form, on the click of a button on the child Microsoft Excel is opened and, using some API calls and the handle of Excel and the vb.net Parent Form, Excel is then set as a child of the vb.net Parent.

The problem I am having is that when you minimize my application and then click on the taskbar to restore my application it is restored and given focus but remains behind the currently open windows, I suspect it is because I have these two applications (Mine and Excel) 'tied' together and it is having problems restoring both, does anyone have any ideas as to how I can solve this problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top