The component object model was developed as a platform-independent and programming language-independent object-oriented system. To avoid dependency on any language-specific type system, COM implements its own set of datatypes. When working with COM interfaces, you have to deal with the COM type system, which is seamlessly integrated with C/AL datatypes. In the next example, we will see how NAV datatypes correspond to COM types.
Create a page object in C/SIDE object designer. Create a blank page without the page wizard and source table - required page content will be configured manually.
Open the properties for the new page and change the value of the PageType property from the default value Card to Worksheet.
Global variables required for the walkthrough are listed in the following table:
Name
DataType
FromFileName
Text
ToFileName
Text
FileSize
Integer
FileCharset
Text
NoOfCharsToCopy
Integer
All of these variables serve as data sources...