D
Diane
Group,
I am doing some programming in VB that reads an RTF document and appends
text to it. For testing, I've created RTF documents from WORDPAD and run my
VB program, all processing works great. Now when I test my code on existing
RTF documents that were originally created in MSWORD and "saved as" an RTF
document, I am reading lines and lines of garbage... such as listed
below......
I am trying to understand if I can clean up these MSWORD/RTF documents, or
the difference between an RTF document created in WORD PAD versus an RTF
document created from MSWORD and SAVED AS "RTF".
These MSWORD/RTF' documents are being "corrupted" after I try to use
system.IO functions in my VB program.
My MSWORD/RTF garbage.....
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose
02020603050405020304}Times New Roman;}{\f36\froman\fcharset0\fprq2{\*\panose
02040602050305030304}Book Antiqua;}{\f246\froman\fcharset238\fprq2 Times New
Roman CE;}
{\f247\froman\fcharset204\fprq2 Times New Roman
Cyr;}{\f249\froman\fcharset161\fprq2 Times New Roman
Greek;}{\f250\froman\fcharset162\fprq2 Times New Roman Tur;}{\f251\fbidi
\froman\fcharset177\fprq2 Times New Roman (Hebrew);}
Thanks,
I am doing some programming in VB that reads an RTF document and appends
text to it. For testing, I've created RTF documents from WORDPAD and run my
VB program, all processing works great. Now when I test my code on existing
RTF documents that were originally created in MSWORD and "saved as" an RTF
document, I am reading lines and lines of garbage... such as listed
below......
I am trying to understand if I can clean up these MSWORD/RTF documents, or
the difference between an RTF document created in WORD PAD versus an RTF
document created from MSWORD and SAVED AS "RTF".
These MSWORD/RTF' documents are being "corrupted" after I try to use
system.IO functions in my VB program.
My MSWORD/RTF garbage.....
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose
02020603050405020304}Times New Roman;}{\f36\froman\fcharset0\fprq2{\*\panose
02040602050305030304}Book Antiqua;}{\f246\froman\fcharset238\fprq2 Times New
Roman CE;}
{\f247\froman\fcharset204\fprq2 Times New Roman
Cyr;}{\f249\froman\fcharset161\fprq2 Times New Roman
Greek;}{\f250\froman\fcharset162\fprq2 Times New Roman Tur;}{\f251\fbidi
\froman\fcharset177\fprq2 Times New Roman (Hebrew);}
Thanks,