நிரல்கூறு
உள்ளடக்கங்கள்
அகவரிசை 🔎︎

# Shell Function

Starts another application and defines the respective window style, if necessary.

## தொடரமைப்பு:

Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync])

## அளவுருக்கள்:

### Pathname

Complete path and program name of the program that you want to start.

### Windowstyle

Optional integer expression that specifies the style of the window that the program is executed in. The following values are possible:

0 | The focus is on the hidden program window.
1 | The focus is on the program window in standard size.
2 | The focus is on the minimized program window.
3 | focus is on the maximized program window.
4 | Standard size program window, without focus.
6 | Minimized program window, focus remains on the active window.
10 | Full-screen display.

### Param

Any string expression that specifies the command line that want to pass.

### bSync

If this value is set to true, the Shell command and all LibreOffice tasks wait until the shell process completes. If the value is set to false, the shell returns directly. The default value is false.

## பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

53 கோப்பு கிடைக்கவில்லை

73 நடைமுறைப்படுத்தப்படவில்லை

## எடுத்துக்காட்டு:

    Sub ExampleShellForWin

        Shell("c:\windows\calc.exe",2)

    End Sub