Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
About RG ?
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: About RG ? (Read 1425 times)
0 Members and 1 Guest are viewing this topic.
2e4lite
Guest
About RG ?
«
on:
August 25, 2014, 06:56:18 AM »
Is there only one way to store data into the registry--to store it as a string? Why? If not, Can illustrate it with routine?
Thanks in advance!
Logged
Lee Mac
Seagull
Posts: 12914
London, England
WWW
Re: About RG ?
«
Reply #1 on:
August 25, 2014, 07:11:24 AM »
The
vl-registry-write
function can write both strings (
REG_SZ / REG_EXPAND_SZ
) & integer values (
REG_DWORD
), e.g.:
Code - Auto/Visual Lisp:
[Select]
(
vl-registry-write
(
strcat
"HKEY_CURRENT_USER
\\
"
(
vlax-product-key
)
"
\\
FixedProfile
\\
General"
)
"test"
123
)
The above will write to the same location as
setenv
.
Logged
Lee Mac Programming
•
Twitter
•
Exchange App Store
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
About RG ?