LibreOffice 25.8 Help
ប្រសិនបើចាំបាច់ ចាប់ផ្តើមកម្មវិធីផ្សេងទៀត និងកំណត់រចនាប័ទ្មបង្អួចរៀងៗខ្លួន ។
Shell (Pathname As String[, Windowstyle As Integer[, Param As String[, bSync]]])
Name of the program that you want to start, optionally with complete path and/or arguments.
Optional integer expression that specifies the style of the window that the program is executed in.
Parameter Windowstyle is only effective on Windows systems. On other systems the parameter is ignored.
The following values are possible:
| Windowstyle | Meaning | 
|---|---|
| 0 | ការផ្តោតអារម្មណ៍គឺស្ថិតនៅលើបង្អួចកម្មវិធីដែលលាក់ ។ | 
| 1 | ការផ្តោតអារម្មណ៍គឺស្ថិតនៅលើបង្អួចកម្មវិធីក្នុងទំហំតាមស្តង់ដារ ។ Not implemented in LibreOffice. | 
| 2 | ការផ្តោតអារម្មណ៍គឺស្ថិតនៅលើបង្អួចកម្មវិធីដែលបានបង្រួមអប្បបរមា ។ | 
| 3 | ការផ្តោតអារម្មណ៍គឺស្ថិតនៅលើបង្អួចកម្មវិធីដែលបានពង្រីកអតិបរមា ។ | 
| 4 | បង្អួចកម្មវិធីទំហំតាមស្តង់ដារ ដោយគ្មានការផ្តោតអារម្មណ៍ ។ Not implemented in LibreOffice. | 
| 6 | បង្អួចកម្មវិធីដែលបានបង្រួមអប្បបរមា ការផ្តោតអារម្មណ៍នៅសល់លើបង្អួចសកម្ម ។ Not implemented in LibreOffice. | 
| 10 | បង្ហាញពេញអេក្រង់ ។ | 
Windowstyle 3 and 10 are equivalent in Windows systems.
String that specifies additional arguments passed to the program.
ប្រសិនបើតម្លៃនេះត្រូវបានកំណត់ទៅជា ពិត ពាក្យបញ្ជា Shell និងភារកិច្ចទាំងអស់របស់ LibreOffice នឹងរង់ចាំរហូតដល់ប្រតិបត្តិការសែលចប់សព្វគ្រប់ ។ ប្រសិនបើតម្លៃត្រូវបានកំណត់ទៅជា មិនពិត សែលត្រឡប់ដោយផ្ទាល់ ។ តម្លៃលំនាំដើមគឺ មិនពិត ។
Sub ExampleShellForWin
    Shell("c:\windows\calc.exe",2)
End Sub