home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #3 / K-CD-3-2002.ISO / OpenOffice / f_0046 / sbasic.jar / text / sbasic / common / 03130500.xml < prev    next >
Encoding:
Extensible Markup Language  |  2001-09-07  |  2.3 KB  |  35 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Shell Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03130500"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         span.T1{
  7.                 font-weight:bold;}
  8.         </style></head><body>
  9.   
  10.   
  11.   <help:to-be-embedded Eid="shell" xmlns:help="http://openoffice.org/2000/help">
  12.   <p class="Head1"><help:link Id="66566">Shell Function [Runtime]</help:link></p>
  13.   <p class="Paragraph">Starts another application and defines the respective window style, if necessary.</p>
  14.   </help:to-be-embedded>
  15.   <p class="Paragraph"><span class="T1">Syntax</span>:</p>
  16.   <p class="Paragraph">Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) <help:key-word value="Shell" tag="kw66566_1" xmlns:help="http://openoffice.org/2000/help"/></p>
  17.   <p class="Paragraph"><span class="T1">Parameter</span>:</p>
  18.   <p class="Paragraph">Pathname: Complete path and program name of the program to be started.</p>
  19.   <p class="Paragraph">Windowstyle: Optional integer expression that specifies the style of the window in which the program is executed. The following values are possible:</p>
  20.   <p class="Paragraph">Description</p>
  21.   <p class="Paragraph">0 - The focus is on the hidden program window.</p>
  22.   <p class="Paragraph">1 - The focus is on the program window in standard size.</p>
  23.   <p class="Paragraph">2 - The focus is on the minimized program window.</p>
  24.   <p class="Paragraph">3 - The focus is on the maximized program window.</p>
  25.   <p class="Paragraph">4 - Standard size program window, without focus.</p>
  26.   <p class="Paragraph">6 - Minimized program window, focus remains on the active window.</p>
  27.   <p class="Paragraph">10 - Full-screen display.</p>
  28.   <p class="Paragraph">Param: Any string expression that specifies the command line to be passed.</p>
  29.   <p class="Paragraph">bSync: Boolean expression that defines whether a DDE connection to the application can be established immediately after starting (True) or not (False).</p>
  30.   <p class="Paragraph"><span class="T1">Example:</span></p>
  31.   <p class="PropText">Sub ExampleShellForWin</p>
  32.   <p class="PropText">Shell( "c:\win95\calc.exe",2)</p>
  33.   <p class="PropText">end sub</p>
  34.   <p class="PropText"/>
  35.  </body></html>