J JaWits Honorary Poster Joined Jun 1, 2016 Posts 270 Reaction 58 Points 136 Nov 12, 2018 #1 mga boss paano ako mag o open ng Word file using button sa C#. I already have a saved file(word doc) ang gagawin nalang is gusto ko sana pag click ko ng button mag o open yung word na'yon. kung san sha naka save.
mga boss paano ako mag o open ng Word file using button sa C#. I already have a saved file(word doc) ang gagawin nalang is gusto ko sana pag click ko ng button mag o open yung word na'yon. kung san sha naka save.
S S p i c y Forum Veteran Nov 12, 2018 #3 if.click=open worddoc Last edited by a moderator: Feb 1, 2019
P PadrePatatas Addict Nov 12, 2018 #4 Code: string file = @"D:\Temp\MyFile.pdf"; Process.Start(file); Source: You do not have permission to view the full content of this post. Log in or register now. I-oopen nya yung file gamit ang default word app.
Code: string file = @"D:\Temp\MyFile.pdf"; Process.Start(file); Source: You do not have permission to view the full content of this post. Log in or register now. I-oopen nya yung file gamit ang default word app.
A asunayuuki09 Eternal Poster Nov 13, 2018 #5 Microsoft.Office.Interop.Word //Add mo above assembly Application application = new Application(); Document document = application.Documents.Open("C:\\word.doc"); //path ng document mo
Microsoft.Office.Interop.Word //Add mo above assembly Application application = new Application(); Document document = application.Documents.Open("C:\\word.doc"); //path ng document mo