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 147 views
1 answer 176 views
1 answer 166 views
1 answer 153 views
153 views asked Aug 10, 2018 by avibootz
1 answer 133 views
1 answer 202 views
1 answer 162 views
...