This is my first question here.
In my work, we connect to our internal network with smart cards.
Thus, when we want to connect to Citrix, we just open CheckPoint's Hammer (from all programs menu), then press ctrl+alt+delete and then type our personal password (for the smart card).
Since we don't have username and password for Citrix, I don't know how to connect automatically using VBA (i.e. from Excel).
I found a code that requires username and password, which I don't have (it starts well and then stucks):
Sub checkConnected()
Dim cli As New WFICALib.ICAClient
cli.SetProp "Address", "255.255.255.255"
cli.SetProp "Username", "xxxxxxxxxx"
cli.SetProp "Password", "xxxxxxxxxx"
cli.SetProp "Domain", "xxxxxxx"
cli.Startup
cli.Launch = True
cli.Connect
Debug.Print cli.AUTHUsername
Debug.Print cli.Connected
Debug.Print cli.GetSessionCount
End Sub
I would love to get your Help. Thank you!