开发者

Opening file with associated program

开发者 https://www.devze.com 2022-12-15 12:19 出处:网络
I have SpeedButton on my form and I want it open avi file with associated program.I tried 开发者_开发知识库Windows.winexec but it doesn\'t seem to be worked.You want ShellExecute - see http://msdn.mic

I have SpeedButton on my form and I want it open avi file with associated program.I tried 开发者_开发知识库Windows.winexec but it doesn't seem to be worked.


You want ShellExecute - see http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx for the API and also this link http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm for details of how to use it from Delphi.

0

精彩评论

暂无评论...
验证码 换一张
取 消