Hoping someone out there can help. I have a fairly simple piece of code for viewing files


Basically passes the path of a file to the process and let Windows deal with how to open it. Have also tried

Dim myProcess As New System.Diagnostics.Process
      With myProcess
        .StartInfo.UseShellExecute = True
        .StartInfo.FileName = tFileInfo.FullName
        .StartInfo.CreateNoWindow = False
      End With

Works beautifully on my machine, but on three others i have tested it on, it opens PDF and TXT files no problem, but as soon as I attempt to open a Word file or an Excel file
I get "There is not enough memory or disk space to open Word" and similar in Excel if the application is not already open. If the Office app is open, the code works perfectly. Has anyone come across this before?

Solved this. Not related to the code at all, but the user name