When i try to open a URL with a certain web browser using
ShellExecute like this:
it fails! The web browser opens the home page instead of the URL!
When i try to open a document (.txt or .rtf of .doc) with Wordpad or Word this way:
it fails to find the specified file. This happens only when the path to the file includes a folder with a name including spaces. For example,
if file='C:\MyFolder\Poetry.doc' then there is no problem. But if
file='C:\My Folder\.doc' then Wordpad opens with this message: "C:\My Cannot find this file".
Any idea why these strange thinks happen?
Note: Ι use Delphi6 and Fully qualified filenames.