|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Text from a Word.DocHello,
i must read all Text from a word document with VB.net and save them in a string variable, but i don´t know how :-( ? Can anybody help me ? Thanks Robin try this
dim strFile as string Dim fs as new IO.Filestream("C:\myworddoc.doc", FileMode.Read, FileAccess.Read) Dim sr as new IO.StreamReader(fs) strfile = sr.ReadToEnd -- -iwdu15 Hello,
thanks but now i have the binary String from the Worddokument. I need all word´s without pictures etc. Thanks Robin Show quoteHide quote "iwdu15" <jmmgoalsteratyahoodotcom> schrieb im Newsbeitrag news:C8843D2D-3424-4F55-B24D-CE2D919E7389@microsoft.com... > > try this > > dim strFile as string > Dim fs as new IO.Filestream("C:\myworddoc.doc", FileMode.Read, > FileAccess.Read) > Dim sr as new IO.StreamReader(fs) > > strfile = sr.ReadToEnd > > > -- > -iwdu15
initialize a complex constant in a class
Help with ADODB.Command Error Resetting Properties Panel GetChanges gives null column value in error RaiseEvent not working correctly webbrowser control border check box data binding in VB.Net 2003 Is it possible to save a JPEG file as a Tif with specifically the JPEG compression in Vb.net? If yes clickonce Exiting Exception |
|||||||||||||||||||||||