Dear Shawn K. Hall Thanks for your reply, can you give any sample code regarding shellexecute and enum the topmost window. thank you. P. Anand
"Shawn K. Hall" <[EMAIL PROTECTED]> wrote: Hi Anand, > ...i want to open any executable file in same application > where i call it. insted of opening in diffrent window it > should open in the same form (or may be a child form) in > same application. is there is any possible way to do it? Yes. You can use the SetParent API to shove any window into any other. Finding out the handle of the new applications primary form (like the notepad window) is the hard part, but possible either through ShellExecute or enumerating the top-most windows after you shell it out. Regards, Shawn K. Hall http://12PointDesign.com/ http://ReliableAnswers.com/ I've made more on my google ads in the last week than all of last month, and more than the previous 2 months combined. This book has so far more than quadrupled my online income: http://ReliableAnswers.com/AdSense/ '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [email protected] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups SponsorADVERTISEMENT --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Yahoo! Small Business - Try our new resources site! [Non-text portions of this message have been removed] '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [email protected] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
