Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Thu May 11, 2017 6:20 pm

I need to read the contents of Word file (in English or other languages) that was uploaded to server into a webpage textbox using VB script.

Thanks!

kdr13
 
Posts: 72
Joined: Fri Apr 15, 2016 4:35 pm

Fri May 12, 2017 2:42 am

Dear kdr13,

Thanks for your inquiry.
Please use the GetText method to get the text of the document. Then you could handle it accroding to your requirement.
Here is sample VB code for your kind reference.
Code: Select all
        Dim doc As New Document(Server.MapPath("~/Sample.docx"))
        Dim text As String = doc.GetText()

If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri May 12, 2017 4:13 am

Thank you!

kdr13
 
Posts: 72
Joined: Fri Apr 15, 2016 4:35 pm

Fri May 12, 2017 5:43 am

Dear kdr13,

Thanks for your feedback.
Please feel free to contact us if you have any question.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc