that code builds a path, looking at it its comprised of:-
a hardcoded server: \\msgchhost\
a user id: from strUserID
a hardcoded directory tsprofile
so its trying to install / copy the file to say
\\msgchhost\doran_lum\tsprofile
so you would need to find your Citrix message server's URL name in place of \\msgchhost\
you would need to confirm that your profiules are stored in he same manner
the obshell****n shells out to the OS to install the certificate, all the code before sets up the various parameters used in that OS shell call
if you are struggiling understanding what its doing then put a watch on the code and step though it seeing what is done on each line.
debugging visual basic - Google Search