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.


Param

String that specifies additional arguments passed to the program.

bSync

यदि यो मानलेसत्य लाई सेट गरेको खण्डमा शेल आदेश र सबै खLibreOfficeDevका कार्यहरूले शेल प्रक्रियाहरू पूरा हुदा सम्म पर्खिरहन्छ । यदि यो मानलेझुठो लाई सेट गरेको खण्डमा शेलले शिधै फर्कन्छ । पूर्वनिर्धारित मान झुठो हुन्छ ।

त्रुटि सङ्केतहरू

5 अवैध कार्य-विधि कल

53 फाइल फेला परेन

73 विशेषता लागू गरिएन

Example:


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