I have an app (VB6 of course) that, among other things, downloads some
data from SQLServer. This is an in-house only application. The user
has to log in to access the server data but all users use the same
login ID.
I have some code in the program that makes a record of the fact that
the user has done a down-load and, to make it unique for each user, I
am reading a UserName from the registry on the user's computer.
(from: HKCU\Software\Microsoft\Office\9.0\Common\UserInfo)
Unfortunately, as I've just discovered, this registry entry does not
exist on everyone's computer.
So, my question is: what registry entry should I read that would yield
a unique identification of the user (or his computer) that I can count
on being there on every computer (they're all running Windows XP).
Maybe his log-in name? Or the computer name?
Any suggestions?
Thanks.
Ralph - 21 Jun 2008 18:51 GMT
> I have an app (VB6 of course) that, among other things, downloads some
> data from SQLServer. This is an in-house only application. The user
[quoted text clipped - 18 lines]
>
> Thanks.
In the future, it is best to cross-post and not multi-post. You received a
response to this in another group. Which group? That is one of the problems
with multi-posting. <g>
Martin - 23 Jun 2008 13:49 GMT
>> I have an app (VB6 of course) that, among other things, downloads some
>> data from SQLServer. This is an in-house only application. The user
[quoted text clipped - 22 lines]
>response to this in another group. Which group? That is one of the problems
>with multi-posting. <g>
Yes, I understand that. I posted here first and, after a day with no
response, I posted again over in the other group (where I got several
answers).