MS Word with .Net Application

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,

i want u open and work on word document using .NET application.
ie., i have to create an application with in that word document must open.
for eg., i used below code for showing PDF file within my .net application:
Private Sub AssignFileName(ByVal fileName As TextBox, ByVal loader As AxAcroPDFLib.AxAcroPDF)
        ofd.Filter = "Pdf files (*.pdf)|*.pdf"
        If ofd.ShowDialog() = Windows.Forms.DialogResult.OK AndAlso ofd.FileName.Length > 0 Then
            If File.Exists(ofd.FileName) Then
                fileName.Text = ofd.FileName
                loader.LoadFile(fileName.Text)
                loader.Show()
                Me.Refresh()
            End If
        End If
    End Sub
for this i added reference AxAcroPDFLib.AcroPDFLib.dll

like this i want to open ms word doc within my .net application.

how to do?

pls guide me.

suriya

View the full article
 
Back
Top