Doc meant cleaning up your code so that you do not have Vars or Macro in your strings...

from:
$frmForm.Text = "NetCare $strVersion - D5PS2Z0J Logon System "
to:
$frmForm.Text = "NetCare " + $strVersion + " - D5PS2Z0J Logon System "

and from:
$fraBanner.PrintXY (10,0,"Netlogon on @WKSTA")
to:
$fraBanner.PrintXY (10,0,"Netlogon on " + @WKSTA)