We ‘ve also provided the code for a more complex example of integration with external applications, namely Microsoft Excel. These days the data entry or analytical applications with no Excel integration are simply hard to find. Be that saving of data in native Excel format or CSV, accepting data entered in Excel or dynamically creating Excel Charts based on the database queries ndash; we see it everywhere. Microsoft Excel is one of the most popular business applications ever .
This solution involves two ActiveX objects embedded in an HTML page with instant as well as on demand data synchronization between the objects. One of these ActiveX objects is the Flash Player control, executing Flex application. The second ActiveX is a Spreadsheet from Microsoft Office Web Components (OWC). You may think about Spreadsheet as of miniature Microsoft Excel application running inside the HTML page.
Disclaimer: This particular sample works under IE in Windows XP, but has some issues on Windows 2000. I ‘m sure, if you are still running Window 98 you may face some issues as well, which we ‘ll be happy to fix for its customers. If you do not see the spreadsheet while running this example, most likely you do not have OWC installed – get it from this site .
Meanwhile try to make changes in the left (Flex) and right (Excel) spreadsheets and the data should be replicated back and forth. We ‘d appreciate any suggestions/critique of this application.
Application like this opens the doors to some interesting project ideas: we also know how to generate and execute formulas on the fly, provide proper reporting and printing, and more. But that ‘s later. Let ‘s finish the book first.