Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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:MyFolderPoetry.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.