Sunday, January 14, 2007

Open any document in IFix via shell

Below is a sample procedure to open a text in IFix.

Private Sub CommandButton1_Click()
    Dim ret As Long
    Dim hwnd As Long

    hwnd = FindWindow(vbNullString, Application.Caption)
    ret = shellExecute(hwnd, "Open", "c:\DVPendingFileRenameOp.log", vbNullString, vbNullString, 4)
End Sub

Note: Application is an IFix global variable.

No comments:

Rust and WebAssembly quick start guide 2025

Rust and WebAssembly quick start guide 2025 As of December 2025, Rust and WebAssembly is reorganizing. Documentation is currently out of da...