Enable JavaScript in the browser to display LibreOfficeDev Help pages.

Shell Function

འཇུག་སྤྱོད་གཞན་འགོ་བཙུགསཔ་དང་་སོ་སོ་ཝིནཌོ་བཟོ་རྣམ་དེ་ངེས་འཛིན་འབདཝ་ ཉེར་མཁོ་ཨིན་པ་ཅིན།

Syntax:

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

Parameters:

འགྲུལ་ལམ་མིང་།

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.

note

Parameter Windowstyle is only effective on Windows systems. On other systems the parameter is ignored.


The following values are possible:

Windowstyle

Meaning

0

ཆེད་དམིགས་དེ་གསང་བའི་ལས་རིམ་ཝིན་ཌོ་གུ་ཨིན།

Not implemented in LibreOfficeDev.

1

ཆེད་དམིགས་དེ་ལས་རིམ་ཝིན་ཌོ་ཚད་ལྡན་ཚད་གུ་ཨིན།

Not implemented in LibreOfficeDev.

2

ཆེད་དམིགས་དེ་ཝིན་ཌོ་ལས་རིམ་ཆུང་ཀུ་བཟོ་གུ་ཡོད།

3

ཆེད་དམིགས་དེ་ལས་རིམ་ཝིན་ཌོ་སྦོམ་བཟོ་ཡོད་མི་གུ་ཡོད།

4

ལས་རིམ་ཝིན་ཌོ་ཚད་ལྡན་ཚད་ཆེད་དམིགས་མེདཔ་སྦེ།

Not implemented in LibreOfficeDev.

6

ཆུང་ཀུ་བཟོ་ཡོད་མི་ལས་རིམ་ཝིན་ཌོ་ ཆེད་དམིགས་དེ་ཤུགས་ལྡན་ཝིན་ཌོ་གུ་ལུསཔ་ཨིན།

Not implemented in LibreOfficeDev.

10

གསལ་གཞི་གངམ་བཀྲམ་བཏོན།


note

Windowstyle 3 and 10 are equivalent in Windows systems.


པེ་ར་ཨེམ།

String that specifies additional arguments passed to the program.

བི་སིའི་ནིཀ།

གནས་གོང་དེ་ བདེན་པ་ལུ་གཞི་སྒྲིག་ཡོདཔ་ཨིན་པ་ཅིན་ཤལ་བརྡ་བཀོད་་དེ་དང་LibreOfficeDev ལས་ཀ་ཚུ་ཆ་མཉམ་ཤལ་བྱ་སྒོའི་ལམ་ལུགས་མཇུག་མ་བསྡུ་ཚུན་ཚོད་བསྒུགཔ་ཨིན། གནས་གོང་དེ་རྫུན་མ་ལུ་གཞི་སྒྲིག་ཡོདཔ་ཨིན་པ་ཅིན་ཤལ་དེ་དེ་འཕྲལ་ལས་སླར་ལོགཔ་ཨིན། སྔོན་སྒྲིག་གནས་གོང་་དེ་རྫུན་མ་ཨིན།

Error codes:

༥ ནུས་མེད་བྱ་སྒོའི་ལམ་ལུགས་བོད་བརྡ་

༥༣་ ཡིག་སྣོད་འཚོལ་མ་ཐོབ་ ༥༣་ ཡིག་སྣོད་འཚོལ་མ་ཐོབ་ ༥༣་ ཡིག་སྣོད་འཚོལ་མ་ཐོབ་ ༥༣་ ཡིག་སྣོད་འཚོལ་མ་ཐོབ་ ༥༣་ ཡིག་སྣོད་འཚོལ་མ་ཐོབ་ ༥༣་ ཡིག་སྣོད་འཚོལ་མ་ཐོབ་

༧༣ ཁྱད་རྣམ་བསྟར་སྤྱོད་མ་འབདཝ་

Example:


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