i have written a code to select a text in flow documet reader and bring it into view:
docView1.Focus( );
docView1.Select ion.Select(text Range.Start, textRange.End);
docView1.BringI ntoView(textRan ge.Start.GetCha racterRect(Logi calDirection.Fo rward));
but flowdocumentrea der.selection is not supported in .net framework 3.0 and i want to run code in computers that has not framework3.5
what can i...
User Profile
Collapse
-
flowDocumentReader Selection propperty
-
i wanna select some text in flow document reader and bring it into view
what can i do?Leave a comment:
-
nstalling SP1 needs over 30 minutes and my application is multimedia and i can not say to users to install my little app over 30 minutesLeave a comment:
-
no that feature is accessible in 3.0
its so simple
using a flowdocumentrea der.selection.s elect() method.
its so simpleLeave a comment:
-
i didnt used any feature that needs 3.5 SP1. and installing SP1 needs over 30 minutes and my application is multimedia and i can not say to users to install my little app over 30 minutesLeave a comment:
-
but my code run correctly on my system and if i install .net framework 3.5 SP1, my code will run in other systems
so that my code has no problem. its because of some bugs in .net frame work 3Leave a comment:
-
i have installed .netframework 3 on that system but the property SELECTION of FLOW DOCUMENT READER throws an exceptionLeave a comment:
-
mjsafa started a topic Method not found: system.windows.controls.flowdocumentreader.get_sel ection()in .NETMethod not found: system.windows.controls.flowdocumentreader.get_sel ection()
i wrote this cod:
docView1.Select ion.Select(text Range.Start, textRange.End);
and this work correctly on my machine
but in other machines this will throw exception:
Method not found: system.windows. controls.flowdo cumentreader.ge t_selection()
what can i do?
is this for version of .netframework? -
that problem was not resolved but i found the code line and deleted that line
but i found so much same errors
i think for working with wpf i must install .netFX 3.5 sp1
n wayLeave a comment:
-
i deleted some lines of my xaml code and it worked correctly
the problem is for my xaml code.
the code i deleted is regarding to a sound player control that was using a data binding to an XML file fore list of sounds and a control that played soundLeave a comment:
-
i put a try catch in my first line of code and commented other parts of code
but the problem didn't resolved. i think its for my xaml code
what can i do?Leave a comment:
-
but that 237 MB version of .net framework will take 30 minutes to installLeave a comment:
-
no it does not run
it close at beggining of run
it is not code error
because when i install .net framework 3.5 SP1 (237 MB) the program will run correctly but when i install redistributable version of .net frame work, the programm will crash suddenly.
i dont know why.Leave a comment:
-
error code 0xe0434f4d on exit
hi
i have written a program in wpf platform that run correctly on my system
but it dont work on other systems
i have installed .net framework 3.5 sp1 on my system
but in other systems i installed redistributable version of .netframework 3.5
No activity results to display
Show More
Leave a comment: