hello guyz
im trying to execute the following piece of code, in order to open a word document located on the server and then to edit it
Dim strFile As String = Server.MapPath("~/TestFolder/Folder 1/contract1.doc")
Dim wa As Word.Application
Dim strFileinfo As New FileInfo(Server.MapPath("~/TestFolder/Folder 1/contract1.doc"))
wa = CreateObject("Word.Application")
If strFileinfo.Exists Then
Label3.Text = strFile
End If
wa.Documents.Open(strFile)
wa.Quit()but when it comes to
wa.Documents.Open(strFile)it won't be exe ...
Go to the complete details ...