Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15990

Read Registry Dword Value

$
0
0
Hello;
i have a code.For Read Dword registry Value..

If lDataTypeValue = REG_DWORD Then
td = Asc(Mid$(sValue, 1, 1)) + &H100& * Asc(Mid$(sValue, 2, 1)) + &H10000 * Asc(Mid$(sValue, 3, 1)) + &H1000000 * CDbl(Asc(Mid$(sValue, 4, 1)))
sValue = Format$(td, "000")
End If

And its working,But maximum chars = 3 , i need 5 chars.

Name:  RDPPort.png
Views: 30
Size:  860 Bytes

Thank you....
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 15990

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>