Is it possible to open the Main view of a Graphic Display via external coding?
I'm asking it because if you want to integrate your VBA code further in a Graphic Element, than you should consider use a Graphic Element PG2 with a formula called: LateBoundViewRef.
Using it you can open any view you want.
Here is an example:
LateBoundViewRef("[Control Structure]Root\Lost And Found\Test","Name","Config View",True)
You can use this code in a button, for example....
With VB it's possible to access the API, called AIP in 800xA.
I have explained this before:
The easiest way to do it is to put your code in a Display Element used in the Application Bar.
But, when doing some special stuff in VB, when later on use the PG2 Graphic Display, then maybe it's not possible to implement....
> "I want to open the main view of the graphic display on the screen. I want to do this in Aspect Server."
No. You can't do this.
VBA automation can access the 800xA object model and read / write data to the system. Thats all. You can't render a graphic.
A graphic is rendered by the Workstation Client software. VBA automation does not connect to the client.
As general advice, since the Aspect Servers are critical to the operation of your system, running third party apps on them is something you should try to avoid. Run your apps on application servers or workstations.