Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / June 2008



Tip: Looking for answers? Try searching our database.

Read a unique ID from the registry?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 20 Jun 2008 14:42 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
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).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.