The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ragdog on September 19, 2010, 07:46:04 AM

Title: ShellExecute Folder
Post by: ragdog on September 19, 2010, 07:46:04 AM
Hi

I open a Folder with ShellExecute
and select a specific folder and selecting a file in it.


Here is my result

   invoke lstrcpy,addr hExplorePath,CTEXT ("/select, ")
   invoke lstrcat,addr hExplorePath,CTEXT ("c:\mytools\test.exe")
   invoke ShellExecute,hMain,CTEXT ("open"),CTEXT ("explorer.exe"),addr hExplorePath,NULL,SW_SHOWNORMAL


Now have i this problem thats show the opening folder with selected file in background
i nedd this in foreground

SOLVED
BringWindowToTop

Greets,