gull
asked on
Is it possible to run other applications in a Delphi component?
If i have another windows application (not activex, not dll just an everyday 10000$ apllication) can i run it in a Panel or anyathing else, without opening a new window?
Roundcrisis - that's not what he meant obviously.
Gull - in short - no you can't
Gull - in short - no you can't
Maybe you can if you go deep in the Windows API, Hijack the Windows handle of whatever you want to show in the panel and tell that window that it has a parent window...
But the API HELL that you'll have to go through would be enormous and I would not even know where to start...
But perhaps there's another option, by capturing the output of that application and displaying it in your panel. If you continuously update this image and pass events back to the other application, you might get something to work...
But the API HELL that you'll have to go through would be enormous and I would not even know where to start...
But perhaps there's another option, by capturing the output of that application and displaying it in your panel. If you continuously update this image and pass events back to the other application, you might get something to work...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,
Excellent solution!
Excellent solution!
for example to open word put a button or wathever and in the procedure add
ShellExecute(Self.Handle, nil, 'winword.exe', nil, nil, SW_NORMAL);
and , it is working
R.