Click here to Skip to main content
16,005,162 members
Home / Discussions / C#
   

C#

 
Generalscroll and focus bug Pin
bwells3-Mar-03 9:22
bwells3-Mar-03 9:22 
GeneralHelp: Unable To Copy Data (In Structure) from Unmanged MFC/C++ App to .NET Pin
Gaul3-Mar-03 9:00
Gaul3-Mar-03 9:00 
GeneralSaving Treeview/Listview selections Pin
vlusardi3-Mar-03 7:47
vlusardi3-Mar-03 7:47 
GeneralRegistry and dWord values Pin
codeweenie3-Mar-03 7:36
codeweenie3-Mar-03 7:36 
GeneralRe: Registry and dWord values Pin
leppie3-Mar-03 7:51
leppie3-Mar-03 7:51 
GeneralRe: Registry and dWord values Pin
codeweenie3-Mar-03 8:05
codeweenie3-Mar-03 8:05 
GeneralRe: Registry and dWord values Pin
Paul Riley3-Mar-03 8:31
Paul Riley3-Mar-03 8:31 
GeneralRe: Registry and dWord values Pin
codeweenie3-Mar-03 9:46
codeweenie3-Mar-03 9:46 
Paul Riley wrote:
Either use Interop to get at the API registry functions or convert to and from a string using SetValue.

Can you show me an example? I am not following you. Thing is the value that I am writing into the registry is a value that Windows Media Streaming server needs. This is not for a program of my own. I am trying to automate some stuff so converting it to or from a string is not really the answer, I don't think. I am able to feed the value in as a dword value as long as I keep it below that 2147483647 number and do it like this:
regKey.SetValue("MaxBandwidth", 2147483647);

However if I try to do this, the number gets converted to a string:
regKey.SetValue("MaxBandwidth", 4294967295);

So then I tried this:
UInt32 maxValue = 4294967295;
regKey.SetValue("MaxBandwidth", maxValue);
This also gets converted to a string.


Thanks,
Bill K.
GeneralRe: Registry and dWord values Pin
Paul Riley3-Mar-03 11:56
Paul Riley3-Mar-03 11:56 
GeneralRe: Registry and dWord values Pin
leppie3-Mar-03 9:05
leppie3-Mar-03 9:05 
GeneralRe: Registry and dWord values Pin
codeweenie3-Mar-03 9:53
codeweenie3-Mar-03 9:53 
GeneralHelp! Release the COM Pointer Pin
sning3-Mar-03 7:25
sning3-Mar-03 7:25 
GeneralRe: Help! Release the COM Pointer Pin
Jarrod Marshall3-Mar-03 8:11
Jarrod Marshall3-Mar-03 8:11 
GeneralRe: Help! Release the COM Pointer Pin
Stephane Rodriguez.3-Mar-03 8:16
Stephane Rodriguez.3-Mar-03 8:16 
Generalembedding HTML and trapping events.... Pin
LongRange.Shooter3-Mar-03 5:51
LongRange.Shooter3-Mar-03 5:51 
GeneralRe: embedding HTML and trapping events.... Pin
Michael Mac4-Mar-03 9:05
Michael Mac4-Mar-03 9:05 
GeneralThreads and multiple http connections Pin
PeterJensen3-Mar-03 5:05
PeterJensen3-Mar-03 5:05 
GeneralRe: Threads and multiple http connections Pin
leppie3-Mar-03 6:33
leppie3-Mar-03 6:33 
GeneralRe: Threads and multiple http connections Pin
PeterJensen3-Mar-03 7:26
PeterJensen3-Mar-03 7:26 
GeneralRe: Threads and multiple http connections Pin
grv5754-Mar-03 15:05
grv5754-Mar-03 15:05 
Generaltype conversion Pin
egon3-Mar-03 3:01
egon3-Mar-03 3:01 
GeneralRe: type conversion Pin
leppie3-Mar-03 6:56
leppie3-Mar-03 6:56 
GeneralRe: type conversion Pin
egon3-Mar-03 8:00
egon3-Mar-03 8:00 
QuestionDraw a rectangle in a richtextbox? Pin
red2k3-Mar-03 2:25
red2k3-Mar-03 2:25 
AnswerRe: Draw a rectangle in a richtextbox? Pin
jtmtv183-Mar-03 6:39
jtmtv183-Mar-03 6:39 

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.