Topic: Simple ShellExecute or similar.
Hi Everybody
I'm looking for a command that will open either a file or url depending on what is in the TABLE
Best I could come up with was the following (and it ain't working);
var S : String ;
uses ShellApi;
begin
s :=SQLExecute('SELECT Menu1URL2 FROM MainDatabase WHERE id=1');
ShellExecute(Handle,'open',s,nil,nil, SW_SHOWNORMAL);
end;
Far from being a programmer anything too complicated and it starts looking like spaghetti.
Thanks for your help
Mike