Entering week 2 of "try and fail" to use the rich text box with an output from word :-(

G

G. Tarazi

Well, this is week 2, and I am still struggling with this rich text box.



How can you know if an application is created by Microsoft? Simple, it's
designed to be used in a very limited way, or designed just to look nice,
but not to be used in any real way :)



Well, let's start from the beginning:



Have you tried to assign a value to a rich text box, with the formatting?
Not that simple, 2 DOM trees and XHTML to achieve that.

Why? Someone forgot to create a method for that, and as a result, huge
amount of working hours lost for all the developers in the world who tried
to do that, just because someone at Microsoft didn't spend an hour to create
it.



If just someone did add a function that assigns a value to a rich text box
programmatically, it would have taken him a day of work, comparing to
thousands of days of work lost by all the InfoPath developers in the world
who tried to do that.



But again, its Microsoft, I am assuming that 2 have a vision and know what
they are doing, and the rest are just writing code with no clue of what is
going on, and the test team usually tests the toolbar and the menu bar, and
that's it :)



Anyway, problem number 2, how can I assign the Rich Text control a rich text
formatted by another Microsoft Office Product programmatically?, well, it is
Microsoft Office, what I can't assign this box a word text or an excel
spreadsheet?



It's not InfoPath xhtml (= Very, Very, Very limited xhtml, not the real
one), I don't care, why it's named OFFICE? #$@#!$#$



They are office too, see, when a company use the name office for a set of
products, we expect these products to work together, but who cares, the
toolbar is blue, and the end user is able to save the form, and that's it.



Are you looking for advance functionality, forget it, it's there in the
imagination of the seals people.



And this is week 2, and I still can't copy from Word to InfoPath
programmatically :-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top