Change Broker.Application to another name

Hi.
I am using this line of code:
AB = new ActiveXObject("Broker.Application");
How can I change my amibroker application name to another name? something like Broker1.Application? because I would like to run 2 amibroker applications at the same time.

Thanks!

@roberttv92,

Only users with License Verified Badge are allowed to post on this forum.

In short, you can't change OLE server name because it is governed by Windows OLE registration of given exe. One OLE server has one name.

But you can run 2 instances at once with OLE - it is easy and does not require ANY changing of names. All you have to do is to run AmiBroker simultaneously on TWO different Windows User accounts.