hey Danke für die schnelle antwort
aber ich habe das problem behoben ^^
Delphi-Quellcode:
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ShellApi, StdCtrls;
type
TForm2 =
class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form2: TForm2;
implementation
{$R *.dfm}
procedure TForm2.Button1Click(Sender: TObject);
begin
ShellExecute(0,
nil, '
C:\Program Files (x86)\VideoLAN\VLC\vlc.exe', '
--started-from-file --fullscreen --playlist-enqueue "C:\Users\User\Desktop\00_00.mp4"',
nil, sw_Normal)
end;
end.
die ShellApi muste nur in die uses ^^