Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products

Integra Script Library Documentation


Context:

Function

Library/Class:

WinAPIWrapper



Function SetMsOfficeTopWindow() As

SetMsOfficeTopWindow (Byval Filename As String) As Integer

This function is calling a number of Windows API functions to activate the MS Office Word or Excel application initiated by Integra as the top Window on the user’s Windows Desktop.

Parameters:

    Filename (String)
      The function expects the filename that the MS Office application has in use to identify the correct task window.

Return Value:
    Integer. True or False.

Example:
    If Not SetMsOfficeTopWindow(“c:\MyDocument.doc”) Then
      Call MessageDialog(“Cannot activate as the top window”,0, _
        ”Make Top Window”)
    End If
 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024