Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: mypacman Pin
Not Active19-Aug-04 5:15
mentorNot Active19-Aug-04 5:15 
QuestionHow to store and retrieve metadata about a database table column? Pin
Salil Khedkar19-Aug-04 2:51
Salil Khedkar19-Aug-04 2:51 
QuestionWhat is the optimal way to transfer files over sockets? Pin
Salil Khedkar19-Aug-04 2:44
Salil Khedkar19-Aug-04 2:44 
GeneralClass Properties Pin
minity19-Aug-04 1:52
minity19-Aug-04 1:52 
GeneralRe: Class Properties Pin
Nick Parker19-Aug-04 5:55
protectorNick Parker19-Aug-04 5:55 
GeneralEditing the Registry Pin
Stuggo19-Aug-04 0:52
Stuggo19-Aug-04 0:52 
GeneralRe: Editing the Registry Pin
BrcKcc19-Aug-04 4:06
BrcKcc19-Aug-04 4:06 
GeneralRe: Editing the Registry Pin
Salil Khedkar19-Aug-04 20:20
Salil Khedkar19-Aug-04 20:20 
(1) See the MSDN documentation on Uuidgen.exe fo learning how you can geneate a GU/UU/CLS ID.
(2) Here is the code to put it in registry

a. Create the key hierarchy using this code

public void CheckRegistryKey(string sKeyname)
{
RegistryKey oRegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\" + sKeyname, true);
if(oRegistryKey==null)
{
oRegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE", true);
oRegistryKey.CreateSubKey(sKeyname);
}
}

b. Set the string clsid value using this
public void SetStringValue(string sKeyname, string sValueName, string sValue)
{
RegistryKey oRegistryKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\" + sKeyname, true);
if(oRegistryKey==null)
{
oRegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE", true);
oRegistryKey.CreateSubKey(sKeyname);
}

oRegistryKey.SetValue(sValueName, sValue);
}
GeneralControl properties Pin
lustuyck18-Aug-04 23:52
lustuyck18-Aug-04 23:52 
GeneralRowFilter Pin
Reinier van de Wetering18-Aug-04 22:56
Reinier van de Wetering18-Aug-04 22:56 
GeneralRe: RowFilter Pin
sreejith ss nair19-Aug-04 19:10
sreejith ss nair19-Aug-04 19:10 
GeneralConvert DataGrid.DataSource to DataTable Pin
kGeniusProject18-Aug-04 22:45
kGeniusProject18-Aug-04 22:45 
Generala Question on DataGrid in WebForm Pin
NickyWang18-Aug-04 21:29
NickyWang18-Aug-04 21:29 
GeneralRe: a Question on DataGrid in WebForm Pin
googou18-Aug-04 22:05
googou18-Aug-04 22:05 
GeneralRe: a Question on DataGrid in WebForm Pin
NickyWang18-Aug-04 22:19
NickyWang18-Aug-04 22:19 
GeneralCustom Control Serialization Pin
Member 1697718-Aug-04 21:25
Member 1697718-Aug-04 21:25 
GeneralDatabase transaction from client - XMLWEBService - COM+ Pin
yu-yu18-Aug-04 21:23
yu-yu18-Aug-04 21:23 
GeneralFacing problem while calling C# Functions(DLL) from Visual Basic(EXE) Pin
Ami Shah18-Aug-04 20:43
Ami Shah18-Aug-04 20:43 
GeneralFacing problem while calling C# Functions(DLL) from Visual Basic(EXE) Pin
Ami Shah18-Aug-04 20:41
Ami Shah18-Aug-04 20:41 
GeneralMaking an application pause Pin
eggie518-Aug-04 18:16
eggie518-Aug-04 18:16 
GeneralRe: Making an application pause Pin
Tom Larsen19-Aug-04 6:52
Tom Larsen19-Aug-04 6:52 
GeneralRe: Making an application pause Pin
eggie519-Aug-04 7:23
eggie519-Aug-04 7:23 
GeneralRe: Making an application pause Pin
Salil Khedkar19-Aug-04 20:34
Salil Khedkar19-Aug-04 20:34 
QuestionObfuscation / Secure source code? Pin
econner18-Aug-04 18:12
econner18-Aug-04 18:12 
AnswerRe: Obfuscation / Secure source code? Pin
Tom Larsen19-Aug-04 7:01
Tom Larsen19-Aug-04 7:01 

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.