Navigation:  thinBasic Modules > OS (Operating System) > OS_Service ... >

OS_ServiceStart

Previous pageReturn to chapter overviewNext page

 

Description

 

Function will try to start a service.

 

Syntax

 

n = OS_ServiceStart( [ComputerName, ] ServiceName)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

ComputerName

String

Yes

Name of the computer on the LAN. If missed function will work on local computer

ServiceName

String

No

Name of the service

 

Remarks

 

Restrictions

 

Functionality tested only on LAN.

 

See also

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com