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 182 views
1 answer 207 views
1 answer 215 views
1 answer 178 views
178 views asked Aug 10, 2018 by avibootz
1 answer 160 views
1 answer 240 views
1 answer 200 views
...