'Public Function Open(fileName As String) As Aspose.Word.Document' is obsolete: 'Use Document constructor instead.'
I am getting this warning in the following line of code.
Doc = Word.Open(MapPath(".") + "\\Documents\\pft_header.doc")
What alternative i should be using. Could u guide me.
‘Public Function Open(fileName As String) As Aspose.Word.Document’ is obsolete: 'Use Document constructor instead.'
Document doc = new Document(myFileName);