Haiyangwhu
13 years agoContributor
How to create a value of REG_EXPAND_SZ type in registry?
Hi,
I need to create a value of type REG_EXPAND_SZ in registry. And i learn from support document that it should be able with method Section.SetOption.
"When working with the registry, the
However, i have no idea how to modify or create value of REG_EXPAND_SZ type, everytime i modify or create such value, it changes to REG_SZ type.
How to tell Section that the value type i wish it to?
Thanks.
I need to create a value of type REG_EXPAND_SZ in registry. And i learn from support document that it should be able with method Section.SetOption.
"When working with the registry, the
Section.SetOption method lets you modify or create values of the REG_DWORD, REG_SZ and REG_EXPAND_SZ types only."However, i have no idea how to modify or create value of REG_EXPAND_SZ type, everytime i modify or create such value, it changes to REG_SZ type.
How to tell Section that the value type i wish it to?
Thanks.