Click here to Skip to main content
15,915,019 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Code sample for file & folder search Pin
malharone13-Jul-05 5:58
malharone13-Jul-05 5:58 
GeneralRe: Code sample for file & folder search Pin
JimClark6813-Jul-05 7:44
JimClark6813-Jul-05 7:44 
GeneralVisibility of a Dataset Pin
dptalt13-Jul-05 4:41
dptalt13-Jul-05 4:41 
GeneralRe: Visibility of a Dataset Pin
Dave Kreskowiak13-Jul-05 4:43
mveDave Kreskowiak13-Jul-05 4:43 
GeneralRead and Write Binary values to registry Pin
andyr200513-Jul-05 4:36
andyr200513-Jul-05 4:36 
GeneralRe: Read and Write Binary values to registry Pin
Dave Kreskowiak13-Jul-05 4:41
mveDave Kreskowiak13-Jul-05 4:41 
GeneralRe: Read and Write Binary values to registry Pin
andyr200513-Jul-05 6:10
andyr200513-Jul-05 6:10 
GeneralRe: Read and Write Binary values to registry Pin
Dave Kreskowiak13-Jul-05 8:57
mveDave Kreskowiak13-Jul-05 8:57 
First, yoiu should be opening CurrentControlSet, not ControlSet001.

Dim rk As RegistryKey
rk = Registry.LocalMachine.OpenSubKey("SYSTEM\CurrentControlSet\Control\Video\{yada yada yada}\000")
Dim data as Byte() = rk.GetValue("ValueName")

Will return whatever the data for ValueName is in the registry. If you have to return the default value (unnamed) for a key, just use:
Dim data as Byte() = rk.GetValue("")

I think you can figure out how to write the data back.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Read and Write Binary values to registry Pin
andyr200523-Jul-05 8:30
andyr200523-Jul-05 8:30 
GeneralRe: Read and Write Binary values to registry Pin
Dave Kreskowiak23-Jul-05 10:48
mveDave Kreskowiak23-Jul-05 10:48 
GeneralRe: Read and Write Binary values to registry Pin
andyr200524-Jul-05 6:55
andyr200524-Jul-05 6:55 
GeneralRe: Read and Write Binary values to registry Pin
Dave Kreskowiak25-Jul-05 0:31
mveDave Kreskowiak25-Jul-05 0:31 
GeneralRe: Read and Write Binary values to registry Pin
andyr200525-Jul-05 6:06
andyr200525-Jul-05 6:06 
GeneralRe: Read and Write Binary values to registry Pin
Dave Kreskowiak25-Jul-05 11:22
mveDave Kreskowiak25-Jul-05 11:22 
GeneralClose a modal form on mouseclick outside .... Pin
MaWeRic13-Jul-05 2:50
MaWeRic13-Jul-05 2:50 
GeneralRe: Close a modal form on mouseclick outside .... Pin
Fu Manchu13-Jul-05 3:10
Fu Manchu13-Jul-05 3:10 
GeneralRe: Close a modal form on mouseclick outside .... Pin
Anonymous13-Jul-05 4:10
Anonymous13-Jul-05 4:10 
GeneralRe: Close a modal form on mouseclick outside .... Pin
Dave Kreskowiak13-Jul-05 4:40
mveDave Kreskowiak13-Jul-05 4:40 
GeneralRe: Close a modal form on mouseclick outside .... Pin
MaWeRic14-Jul-05 4:18
MaWeRic14-Jul-05 4:18 
GeneralRe: Close a modal form on mouseclick outside .... Pin
Dave Kreskowiak14-Jul-05 4:33
mveDave Kreskowiak14-Jul-05 4:33 
GeneralPhilosophy: UserControl to UserControl Pin
Sled Dog13-Jul-05 2:43
Sled Dog13-Jul-05 2:43 
GeneralAttachment in outlook express Pin
Rizwan Bashir13-Jul-05 2:22
Rizwan Bashir13-Jul-05 2:22 
GeneralRe: Attachment in outlook express Pin
Dave Kreskowiak13-Jul-05 2:35
mveDave Kreskowiak13-Jul-05 2:35 
GeneralRe: Attachment in outlook express Pin
Rizwan Bashir13-Jul-05 2:43
Rizwan Bashir13-Jul-05 2:43 
GeneralMaking a usercontrol Transparent Pin
Fu Manchu13-Jul-05 2:12
Fu Manchu13-Jul-05 2:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.