.net - RichTextBox removing images in windows 8 -
my application uses richtextbox control (.net 3.5) edit rtf documents. in windows xp 7 works fine, on windows 8 richtextbox reason not load images: if there image in rtf file, control remove when loading file (whether using load method or manually changing rtf property document's rtf code).
is there explanation why happens? or how can resolved?
edit: (detailed explanation on how recreate issue)
i used simple rtf file, single .bmp image in (and nothing else).
the application empty .net 3.5 application, single button , single textbox, following code in button's click event:
dim rtb new richtextbox rtb.loadfile("c:\2.rtf") textbox1.text = rtb.rtf
when run, after click button following appears in textbox:
{\rtf1\fbidis\ansi\ansicpg1252\deff0{\fonttbl{\f0\froman\fcharset177{\*\fname times new roman;}times new roman (hebrew);}} \viewkind4\uc1\pard\rtlpar\nowidctlpar\qc\lang1037\kerning1\f0\rtlch\fs24\par }
as can see, image omitted.
i use visual studio 2008 (with vb.net 3.5), on windows 8.1 machine.
Comments
Post a Comment