Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jun : ShellExecute not working on Vista

www.cryer.info
Managed Newsgroup Archive

ShellExecute not working on Vista

Subject:ShellExecute not working on Vista
Posted by:"Mike" (in..@mrtec.com)
Date:Fri, 22 Jun 2007 22:04:36

The following code works on XP but not on Vista. I have not been able to
find a working solution. Could it be Vista file permissions? I'm stumped.
Does anyone have any ideas?  A code snippet?  TIA!
----
ShellExecute(Application.Handle,'open',pchar(opendialog1.filename),nil,nil,SW_SHOW);

Mike

Replies:

www.cryer.info
Managed Newsgroup Archive