In my application I am providing a html file.
I am having a button in my dialog. On clicking that buton, i want to show the html file in Safari (or any other browser that is available). How to do this.
If it's a help file, don't forget that OS X provides a standard framework for dealing with those. Otherwise, you could use something like the following, which will open a resource file using the default application for that file type: