EsbCreateApplication

Creates a new application, either on the client or the server. If the application is created on the server, it is also started.

Syntax

EsbCreateApplication (hCtx, AppName)
ByVal hCtx    As Long
ByVal AppName As String
ParameterDescription

hCtx

VB API context handle.

AppName

Name of application to create. See Application Name Limits.

Notes

Return Value

None.

Access

For a server application, the caller must have application Create/Delete/Edit privilege (ESB_PRIV_APPCREATE).

Example

Declare Function EsbCreateApplication Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String) As Long

Sub ESB_CreateApplication ()
   Dim sts As Long
   Dim AppName As String    AppName = "Sample"   '*******************
   ' Create Application
   '*******************
   sts = EsbCreateApplication (hCtx, AppName) 
End Sub

See Also