This code is working nicely with local files, but getting error when i refer fileName from URL using DocX library of Novacode. Kindly provide some way to resolve this. Thank you.
try
{
string fileName = "http://api.92logics.com/myfile.docx";
DocX doc = DocX.Load(filePath);
int TotalLists = doc.Lists.Count;
}
catch (Exception ex)
{
string ErrorMessage = ex.Message;
}