How to open microsoft word on windows with specific document in VB.NET

1 Answer

0 votes
Module Module1

    Sub Main()

        Dim psi As New ProcessStartInfo

        psi.FileName = "WINWORD.EXE"
        psi.Arguments = "d:\test.doc"

        Process.Start(psi)

    End Sub

End Module


' run:
' 
' 

 



answered Oct 4, 2018 by avibootz

Related questions

1 answer 269 views
1 answer 307 views
1 answer 312 views
1 answer 277 views
277 views asked Aug 10, 2018 by avibootz
1 answer 267 views
1 answer 344 views
1 answer 315 views
...