1 / 9

Integrating new look

Integrating new look. In this presentation… Integrating your underlying iSeries application with 3 rd party applications. Using DDE and the API. Using Call and Declare. Integrating new look. Integrate new look

kellan
Download Presentation

Integrating new look

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Integrating newlook • In this presentation… • Integrating your underlying iSeries application with 3rd party applications. • Using DDE and the API. • Using Call and Declare.

  2. Integrating newlook • Integrate newlook • Refers to integrating newlook with standard desktop applications, such as MS Word, Excel, Lotus Notes and Email. • Key newlook tools • Designer • Macro Editor

  3. Integrating newlook – DDE & API • DDE macro actions • LinkInitiate • LinkExecute • LinkPoke • LinkTerminate

  4. Integrating newlook – DDE & API • Sample DDE commands • Word[SetDocumentVar “Balance”, “999.99”][EditSelectAll][UpdateFields][SendKeys {home}] • Excel[Workbook.Activate (“Sheet1”)][Echo (0)]

  5. Integrating newlook – Call & Declare • Call and Declare • Declare (library, procedure, alias, return values, arguments) • Call (procedure, arguments and return values) • Sample Call and Declare • Declare(Kernel32.dll, WritePrivateProfileStringA, WritePrivateProfileString, Boolean, ByVal Section as String, ByVal Key as String, ByVal Value as String, ByVal File as String) • Call(WritePrivateProfileString, "Section", "Key", "Data", "myapp.ini", rc)

  6. Integrating newlook – DDE & API • newlook API (for external applications) • NL_GetVersion • NL_EnumInstances • NL_GetValue • NL_SetValue • NL_RunMacro

  7. Integrating newlook – DDE & API • Using the newlook API • 32 bit • Visual BasicSamples\Visual Basic\ApiTest • Visual C++Samples\Visual C++\ApiTest • Other languagesLink with NLAPI.DLL

  8. Summary • newlook can be used to integrate your underlying iSeries application. • The key tools used in integrating your application are Designer, Macro Editor and the Expression Builder. • You can use DDE and API calls to export data to common desktop applications, e.g. MS Word and Excel.

  9. Workshop 6 newlook 8 Training

More Related