I want to create a button that opens a supplied word document in their standard word handler like office or openoffice. But how do you find the Location of the exe (Or its folder) and using it to open the Word Document.
I have tried to usewith no use. Please help!VBCode Code:
Function GetFilenameOnly(ByVal Fullpath As String) As String Return System.IO.Path.GetFileNameWithoutExtention(FullPath) End Function




Reply With Quote
