Is there an equivalent in VBA??

Is there an equivalent in VBA??

Anonymous
Not applicable
335 Views
5 Replies
Message 1 of 6

Is there an equivalent in VBA??

Anonymous
Not applicable
Is there an equivalent to this... (vl-registry-read (strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key)) "ProductName") in VBA?? I'm not a big fan of mixing VLSP/LSP with VBA. Thanks in advance!! -- Matt W The difference between genius and stupidity is that genius has its limits.
0 Likes
336 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Look into the registry API functions. A sample code is at http://www.freevbcode.com/ShowCode.Asp?ID=2598
0 Likes
Message 3 of 6

Speed_CAD
Collaborator
Collaborator
Hi...

Yes, but with Windows's API
Mauricio Jorquera
0 Likes
Message 4 of 6

Anonymous
Not applicable
I should've been more clear.... (I was in a hurry) More specifically... is there an equivalent to (vlax-product-key)??? (vl-registry-read (strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key)) "ProductName") Thanks (and sorry for the confusion)! -- Matt W The difference between genius and stupidity is that genius has its limits. "Allen Johnson" wrote in message news:40e415f0$1_2@newsprd01... | Look into the registry API functions. | A sample code is at http://www.freevbcode.com/ShowCode.Asp?ID=2598 | |
0 Likes
Message 5 of 6

Anonymous
Not applicable
Can you evaluate it? Command: (vlax-product-key) "Software\\Autodesk\\AutoCAD\\R16.1\\ACAD-301:409" "Matt W" wrote in message news:40e41b5b$1_2@newsprd01... > I should've been more clear.... (I was in a hurry) > More specifically... is there an equivalent to (vlax-product-key)??? > > (vl-registry-read (strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key)) > "ProductName") > > Thanks (and sorry for the confusion)! > > -- > Matt W > > The difference between genius and stupidity is that genius has its limits. > "Allen Johnson" wrote in message > news:40e415f0$1_2@newsprd01... > | Look into the registry API functions. > | A sample code is at http://www.freevbcode.com/ShowCode.Asp?ID=2598 > | > | > >
0 Likes
Message 6 of 6

Anonymous
Not applicable
I'm starting to think that for what I want to do, it might be a little bit easier to do it with LSP (or VLSP). Thanks for the feedback!! -- Matt W The difference between genius and stupidity is that genius has its limits.
0 Likes