:: Huh ...
:: What a topic heh ...
:: Here copy pastes for the most used edits on Win XP registry
:: Define the username straight from the registry (Requires access to the specified key
reg export "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" tmp.reg
for /f "tokens=2 delims==" %%a in ('find /i "username" tmp.reg') do call stuff
#################################################################
#Here some Perl Registry monging
#First
package SomePackage ;
#Initialize using the proper module (comes with Perl installation )
use Win32::TieRegistry 0.20 qw(
TiedRef $Registry
Delimiter / ArrayValues 1 SplitMultis 1 AllowLoad 1
REG_SZ REG_EXPAND_SZ REG_DWORD REG_BINARY REG_MULTI_SZ
KEY_READ KEY_WRITE KEY_ALL_ACCESS
);
$Registry->{"CUser/Software/Software_provider/Product_name"}= {
"Folder_name" => {
"/Value_name" => [ "$REGVALUEDATA", REG_SZ() ],
},
} or die "I was not able to play with the registry " ;
1;
__END__
#################################################################
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
2 weeks ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!