[thelist] PHP & COM on Windows

Joe Ngo chilijoe at gmail.com
Mon Aug 1 03:27:53 CDT 2005


Yes. Perhaps the original poster misunderstood what COM is used for.
It seems he's looking for a way for the client to launch notepad.exe.
In which case he should looking for client-side ways of doing it.

On 8/1/05, Ken Schaefer <ken.schaefer at gmail.com> wrote:
> Are you running PHP as a webpage? If so, why do you expect notepad.exe
> to be visible to the interactive user? Unless you happen to be running
> your webpage in the same security context as your interactive logon
> -or- you enable that security context to interact with your desktop
> (only do that for privileged processes), then the two processes will
> have differing security contexts, and each context has it's own
> desktop.
> 
> Cheers
> Ken
> 
> On 8/1/05, Tim Massey <Tim.Massey at itrm.co.uk> wrote:
> > I'm starting to get into COM scripting from PHP and have come across an
> > annoying issue. I can start an instance of notepad.exe but the app never
> > gets focus or is visible on screen.
> >
> > It definitely runs - and is seen in Task Manager - but I can not see it!
> > I have tried the appactivate() method without success.
> >
> > Does anyone know of a good reference sites to learn more about using COM
> > from PHP?
> >
> > Many thanks.
> >
> > Tim.
> --
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
> 


-- 
Take back the web!
http://www.spreadfirefox.com


More information about the thelist mailing list