I am opening word file through my windows explorer like application made by VB.Net 2008 Express Edition in XP-SP3 platform. Through my interface user double clickes the file and open the document just like windows explorer. In my application the file path is in a network path and which is hidden partially in my program.
e.g. if there is a file in \\a\b\c\d\e.doc, user only able to see the c\d\e.doc portion in my application.
Now my problem is after the word file has opened, if user goes to File Menu->Save As option in that document the entire path is visible. i.e. the \\a\b\c\d\e.doc path is exposed.
Can anyone suggest me any procedure or tricks to hide that portion of that path? I am attaching the following code for your reference which I am using to open a doc file from my application.
Thanking you in advance :-)
Public Function gfOpenFileByProcess(ByVal InFileNameWithPath As String, ByRef OutError As String) As Boolean
OutError = ""
Dim prNew As New Process
prNew.StartInfo.WorkingDirectory = Path.GetDirectoryName(InFileNameWithPath)
prNew.StartInfo.FileName = Path.GetFileName(InFileNameWithPath)
Catch ex As Exception
OutError = ex.Message