EsbCreateApplication() creates a new application, either on the client or the server. If the application is created on the server, it is also started.
EsbCreateApplication (hCtx, AppName)
ByVal hCtx As Long ByVal AppName As String
hCtx | Essbase VB API context handle. |
AppName | Name of application to create. application names can be 8 characters long, and can contain all special characters allowed in DOS file names. No spaces, commas, backslashes, or periods are allowed. |
Declare Function EsbCreateApplication Lib "ESBAPIW" (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 SubEsbCreateDatabase()