Results 1 to 19 of 19

Thread: Create BAT file that opens CMD then directory and runs program from that directory

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    you use the Public sub on your ribbon button:
    Sub OnActionButton(control As IRibbonControl)
        ' Callbackname in XML File "onAction"
        ' Callback for event button click
        ' Callback fuer Button Click
        Select Case control.ID
             Case "yourButtonNameHere"
                 CombinePDF  "C:\MIHAI\DOC\ASIG\DOSARE", "Output.pdf"
            Case Else
        End Select
    End Sub
    Last edited by Aussiebear; 12-24-2024 at 05:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •