We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Load from URL

Can a Word document from another server be loaded into a WordDocument object? For example, if I know the URL to the file located in a Sharepoint doc library.

Thanks,
Dan

3 Replies

AD Administrator Syncfusion Team October 14, 2006 05:37 AM UTC

Hi Dan,

Thank you for your interest in Essential DocIO.

Currently we have only support for loading a word document files from local file system and we do not have a support for loading the word document files from URL. I will consult regarding this feature with our development team and I will update to you as soon as I hear back from them.

Sorry for the inconvenience.

Regards,
Prabhu



AD Administrator Syncfusion Team March 7, 2008 07:06 AM UTC

Hi,

Regarding the Opening the document from URL:
-----------------------------------------------------------

Without the feature implementation we can Open the document from Url using our DocIO. DocIO has support for opening documents from stream. we can retrieve document using .NET classes and then pass the stream to DocIO.

Here is the codesnippet to open the document from Stream:

Dim ms As MemoryStream = New MemoryStream()
ms.Write(buffer, 0, buffer.Length)
ms.Seek(0, SeekOrigin.Begin)
stream.Close()

''Creating a new document.
Dim doc As WordDocument = New WordDocument()
''Open the template document from the filestream.
doc.Open(ms, FormatType.Doc)
doc.Save("Sample.doc", FormatType.Doc, response, HttpContentDisposition.InBrowser)
End Sub

Please refer the below sample which illustrate the above
http://websamples.syncfusion.com/samples/DocIO.Web/5.2.0.25/P39453/main.htm

Please take a look into this sample and let me know if this helps you.

Best Regards,
Bhuvana




RG Ricardo Gomes replied to Administrator March 15, 2018 09:19 PM UTC

Hi Dan,

Thank you for your interest in Essential DocIO.

Currently we have only support for loading a word document files from local file system and we do not have a support for loading the word document files from URL. I will consult regarding this feature with our development team and I will update to you as soon as I hear back from them.

Sorry for the inconvenience.

Regards,
Prabhu


yes I accept

Loader.
Live Chat Icon For mobile
Up arrow icon