Hi,
I wonder if there is a way to open a word document using infragistics instead of the Microsoft library?
Thanks in advance.
Amro Elkenawy
I know, this thread is about five years old now and I am sure there have been major improvements on the IF libraries.
I am looking for the exact functionality originally posted in this thread. I have a Word-Document that is design and structured and contains variables such as "##text##". What I want to do is open that Document at runtime, search all the paragraphs for "##text##", replace it with a new TextRun und save the result to a new Word-file.
I am using Infragistics 16.1
Has the functionality been added by now? Could you please provide an example how to accomplish this task?
Regards,
Andreas
Hi Amro,
We do have only round round-trip VBA code support for macros, so you can’t add macros in to the excel file via IG Classes. You can read here more about the macros support here : http://help.infragistics.com/NetAdvantage/ASPNET/2012.2/CLR4.0/?page=ExcelEngine_Support_for_Excel_Workbooks_with_VBA_code.html
You can add a macros to any IG generated excel file as usual using the Excel functionality.
I hope this answer your question.
You welcome.
I use it from years, as long I use IG components (from ~2003), but I used only the WinForm version, not the server version.
The code bheind approach of TXTextControl is too "engineering" and less Object Oriented, I talk about the version 13, but expect this aspect it work well and can load/save in RTF and save in PDF formats, over Word.
IMO for your final need (search text inside a Word/RTF document, and modify it) it's the ONLY WAY!
Few years ago I received a reply from IG similar that you've had today. But the problem is not Dimi, or IG's workers, is that funcionalllity is not required by many peoples, then IG dont write a control like this. ... leaving the leadership to TXTextControl.
Best and have a nice WE
Hi David,
I lloked at the TX Text Control, it looks promissing.
I'll give it a try, thanks.
Best regards,
Amro
Hi Dimi,
Thank you, I'll surely do since my company is using the Infragistics tools and my task is to explore the abilities of both Excel and Word controls.
Another question is: Is it possible to add macro's to the Excel documents created by the IG classes?
Thanks again. :)