Hey everyone,
is here a way to invoke Windows Forms or WPS ui as part of a PB 2022R3 application ?
My need is to use an Excel Control to be able to view Excel files without having Excel installed.
Thanks
//Steen
Hey everyone,
is here a way to invoke Windows Forms or WPS ui as part of a PB 2022R3 application ?
My need is to use an Excel Control to be able to view Excel files without having Excel installed.
Thanks
//Steen
I have attached a zip file to this response.
It contains a C# .NET Framework Windows Forms project that is an example of wrapping a Window Forms control to build an Active/X control that can be be used as a control in PowerBuilder. There is a PDF file called guide.pdf that details the steps.
I hope it's useful, it's a little arcane, and the wrapping means if you have alof of methods and attribures you want to use from your .NET control there's a bit of work to do, but for me, it has proved very useful.
It's a rushed bit of documentation, but I hope I included all the necessary steps.
Credit should go to Bruce Armstrong who write the orignal artlicel tghat inspired me any years ago.
Let me know if you have any questions :-)
If you know of a .NET control for viewing Excel files then you could COM wrap it and use it as an Active/X control in PowerBuilder, placing it on a window like any other Active/X control. I did this a long time ago to add the Microsoft Chart Controls to a PowerBuilder application, so I know it is possible.
Hi,
You could use Google Docs to view them. You set your default to open xlsx with a web browser and there's an extension to make that possible. Later I'll try to tell you which one (when I'm back to work).