FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour External Application inside my Application
Posts: 25
Joined: Wed Apr 12, 2006 01:51 AM
External Application inside my Application
Posted: Thu Jun 26, 2008 11:32 PM

[English]
Hi Everybody:
Can I run "notepad.exe" in a MDI enviroment as a child window?
I've Seen wcapture or recently ActiveX-"shell.explorer" in action, containing webpages in the way I want for "notepad...." (not wcapture).
Are there any ActiveX or method out there, wich can acomplish this?
I just want to know is the child application is open, minimize, restore or close.
I Just wondering.

Regards and Thanks for your help in advance.

[Español]
se puede llamar a una aplicación, como "notepad.exe" dentro de una ventana hija de un Ambiente MDI? con wcapture, se puede hacer algo parecido, aunque el funcionamiento del ActiveX-"shell.explorer" permite una pagina web con dichas características.
Hay algún método por ahi?
bastaría (por el momento) con saber si dicha aplicación esta abierta o cerrada, minimizar y restaurar.

Saludos y gracias por sus comentarios.

Fco Gamboa

Posts: 25
Joined: Wed Apr 12, 2006 01:51 AM
It works - Funciona !!
Posted: Fri Jun 27, 2008 04:58 PM

STATIC FUNCTION Calculadora()
LOCAL nhWin
WinExec( "Calc" )
nhWin:=FindWindow( 0, "Calculadora" )
Setparent(nhWin, oWnd:oWndClient:hWnd)
RETURN NIL

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
External Application inside my Application
Posted: Sat Jun 28, 2008 10:40 AM

Fco,

Though you can use SetParent() for that purpose, you may unstabilize the system. In other words: your application may crash, depending on the window that gets "adopted" as child.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 25
Joined: Wed Apr 12, 2006 01:51 AM
Bad to Hear
Posted: Wed Jul 02, 2008 04:10 AM

Hi Antonio:

Sad to know that, mmm, I just wanted to call another modules from delphi or basic to my apps without fight with dlls.
Can youd give me any guideness to know what I'm dealing with? (like links or searching words)

Thanks

Fco Gamboa

Continue the discussion