I have spent countless hours but can't seem to figure it out. I have enabled
"Open Documents in Client Applications by Default" under Site Collection Features and
"Open in the client application" under Advanced Settings in Library Settings for the Document Library
But it seems like it only open using the client application when I open documents while sitting inside the Document library, it always opens in the browser when I embed the link to the documents or insert it as a web part.
Any suggestion would be greatly appreciated.