Stand: 07.07.2009
EULANDAŽ ERP System Head Start thru Technology
The Application-Object is the Main-Object of the EULANDA-Object-Model and allows the access to the available clients.
Scripts which were carried out in EULANDA (for example menu commands) is the current client available over the global variable client.
Here hardly the necessity exists to address the Application-Object. If you be sure to take action from a strange program to the EULANDA you have to instance the Application-Object and choose a client.
Save the following script as a text file "client.vbs" on your desktop. The script will be start by a double click. It determines the available EULANDA-Clients and shows these with there alias.
VBScript File:Client.vbs dim i, App Set App = CreateObject("Eulanda.Application") for i = 0 to App.ClientCount-1 s = s & vbCR & CStr(i+1) & ". " & App.Clients(i).Alias Next MsgBox s, vbOKOnly, "EULANDA Client" Set App = Nothing