Is it possible to have a VB pushbutton visible on a specific workstation on 800xa System?
There are a lot of different ways. Is this button only in one graphic display or should it be in the workplace?
1.) You could set it visible only with special permission, or set it operable only with special permission. If you have a extra login on this machine only you may give that user a special 800xa permission and use that. (e.g. use "second signature"
2.) You may add a security definition aspect to the object you try to operate with the button. You give write permission only for a special computer.
3.) You could start a special workplace designed only for that user or maschine, something like that in a Batch file:
if /i %username% == ABBService GoTo SPECIAL:
if %computername% == CLCB01 GoTo SPECIAL:
DO start /D"...AfwWorkplaceApplication.exe -workplace="WP_normal"
DO start /D"...AfwWorkplaceApplication.exe -workplace="WP_special"
The simple solution is to check the computername and to make your button visible if is fit.
In PG2 there is no buildin method for the computername, so you have to use scripting.
In VB6 it is easy because you can add VB6 code to your graphics. (Ok, you get a warning that it is not portable)
So select "View Code" in your graphic and put in the end of the UserControl_Initialize() a line like:
button.visible = (Environ$("ComputerName") = "MySpecialOne")