Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.
function ExtractTextFromWordFile(const FileName:string):string; var WordApp : Variant; CharsCount : integer; begin WordApp := CreateOleObject('Word.Application'); try WordApp.Visible := False; WordApp.Documents.open(FileName); CharsCount:=Wordapp.Documents.item(1).Characters.Count;//get the number of chars to select Result:=WordApp.Documents.item(1).Range(0, CharsCount).Text;//Select the text and retrieve the selection WordApp.documents.item(1).Close; finally WordApp.Quit; end; end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.