🔒 Closed C#

Status
Not open for further replies.

JaWits

Fanatic
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.
 
Microsoft.Office.Interop.Word
//Add mo above assembly

Application application = new Application();
Document document = application.Documents.Open("C:\\word.doc"); //path ng document mo
 
Status
Not open for further replies.

About this Thread

  • 4
    Replies
  • 749
    Views
  • 4
    Participants
Last reply from:
asunayuuki09

Online now

Members online
1,061
Guests online
5,367
Total visitors
6,428

Forum statistics

Threads
2,349,966
Posts
29,365,362
Members
1,089,424
Latest member
gigaman123
Back
Top