ZennoLab Assemblies Documentation
Launch(BrowserType,Boolean) Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class > Launch Method : Launch(BrowserType,Boolean) Method

Type: ZennoLab.InterfacesLibrary.Enums.Browser.BrowserType

The required type of browser to launch.

Type: System.Boolean

The true if need to use the current profile; otherwise false.

Changes the instance browser type to the required one. Works only in ProjectMaker and ZennoPoster.
Syntax
public void Launch( 
   BrowserType browserType,
   bool useProfile
)

Parameters

browserType

Type: ZennoLab.InterfacesLibrary.Enums.Browser.BrowserType

The required type of browser to launch.

useProfile

Type: System.Boolean

The true if need to use the current profile; otherwise false.

Example
The following example uses the Launch method.
instance.Launch(ZennoLab.InterfacesLibrary.Enums.Browser.BrowserType.WithoutBrowser, true);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members
Overload List