I have a SpeedButton in my form and I want it to open an avi file with a related program. I tried Windows.winexec but it does not seem to work.
You want ShellExecute - see http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx for the API, as well as this link http://delphi.about.com/od/ windowsshellapi / a / executeprogram.htm to learn how to use it from Delphi.
Source: https://habr.com/ru/post/1727100/More articles:Which programming language is most suitable for implementing the windows form dialog box? - user-interfaceInstall Silverlight template from code? - templatesspl_autoload does not work when the script is run from the command line - phpHow to create a UITextView with a three-dimensional shadow border? - coding-styleRecompile Vim for pythoncomplete # Fill in the modules * other * than the standard library? - pythonLanguages ββwith direct compatibility C - c ++Network Reduction (Java) - javaCan we "not override a specific method ..." compile a temporary error in the implementation of the interfaces? - javaHow to write the right static methods - multithreaded safe - multithreadingCSS selector style - cssAll Articles