you can use the setparent api for this.
 
Public Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
 
shell() return an instance handle for the opened app as far as I know, so if there is a way to get the window handle from this, you can then use this code to place the app into your picturebox or other container:
 
setparent app_handle, container_control
 
The only drawback I can think of, is if the app opens a new window itself, this wont be inside your container control unless you can think of a way to capture the handle when it occurs.
 
Darren


To unsubscribe, send an email to:
[EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5497957.6576270.3001176/D=groups/S=:HM/A=2372354/rand=426265259


Yahoo! Groups Links

Reply via email to