Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
QuestionAccessing a C API from C#/VB Pin
DEWright_CA24-Feb-06 6:48
DEWright_CA24-Feb-06 6:48 
AnswerRe: Accessing a C API from C#/VB Pin
leppie24-Feb-06 6:55
leppie24-Feb-06 6:55 
AnswerRe: Accessing a C API from C#/VB Pin
Dave Kreskowiak24-Feb-06 9:19
mveDave Kreskowiak24-Feb-06 9:19 
QuestionUsing the local area network with c# Pin
imads124-Feb-06 6:21
imads124-Feb-06 6:21 
NewsRe: Using the local area network with c# Pin
leppie24-Feb-06 6:50
leppie24-Feb-06 6:50 
Questionplease convert this to c# code Pin
superPaul10124-Feb-06 4:58
superPaul10124-Feb-06 4:58 
AnswerRe: please convert this to c# code Pin
Dario Solera24-Feb-06 5:03
Dario Solera24-Feb-06 5:03 
AnswerRe: please convert this to c# code Pin
Judah Gabriel Himango24-Feb-06 5:06
sponsorJudah Gabriel Himango24-Feb-06 5:06 
using Microsoft.Win32;
...
public object Get_Reg(string regPath, string regKey, string target)
{
    RegistryKey reg = null;
    RegistryKey regMain = null;

    try
    {
        reg = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, target);
        regMain = reg.OpenSubKey("SOFTWARE\\" + RegPath);
        return regMain.GetValue(regKey, string.Empty);
    }
    catch(Exception ex)
    {
        return null;
    }
    finally
    {
        if(reg != null)
        {
            reg.Close();
        }
    }
}

GeneralRe: please convert this to c# code Pin
superPaul10124-Feb-06 5:17
superPaul10124-Feb-06 5:17 
GeneralRe: please convert this to c# code Pin
Judah Gabriel Himango24-Feb-06 5:20
sponsorJudah Gabriel Himango24-Feb-06 5:20 
GeneralRe: please convert this to c# code Pin
superPaul10124-Feb-06 5:28
superPaul10124-Feb-06 5:28 
GeneralRe: please convert this to c# code Pin
Guffa24-Feb-06 6:27
Guffa24-Feb-06 6:27 
GeneralRe: please convert this to c# code Pin
superPaul10124-Feb-06 6:35
superPaul10124-Feb-06 6:35 
GeneralRe: please convert this to c# code Pin
Judah Gabriel Himango24-Feb-06 6:54
sponsorJudah Gabriel Himango24-Feb-06 6:54 
AnswerRe: please convert this to c# code Pin
metinsr24-Feb-06 6:44
metinsr24-Feb-06 6:44 
AnswerRe: please convert this to c# code Pin
shabonaa25-Feb-06 0:32
shabonaa25-Feb-06 0:32 
QuestionC# and ADO Pin
papa198024-Feb-06 4:51
papa198024-Feb-06 4:51 
AnswerRe: C# and ADO Pin
Judah Gabriel Himango24-Feb-06 5:00
sponsorJudah Gabriel Himango24-Feb-06 5:00 
GeneralRe: C# and ADO Pin
papa198024-Feb-06 5:16
papa198024-Feb-06 5:16 
QuestionHelp Needed Linked Lists Pin
usmanali12324-Feb-06 4:08
usmanali12324-Feb-06 4:08 
AnswerRe: Help Needed Linked Lists Pin
Judah Gabriel Himango24-Feb-06 5:23
sponsorJudah Gabriel Himango24-Feb-06 5:23 
GeneralRe: Help Needed Linked Lists Pin
usmanali12324-Feb-06 20:12
usmanali12324-Feb-06 20:12 
GeneralRe: Help Needed Linked Lists Pin
Judah Gabriel Himango25-Feb-06 14:45
sponsorJudah Gabriel Himango25-Feb-06 14:45 
QuestionCheck file parameter Pin
Ronni Marker24-Feb-06 3:35
Ronni Marker24-Feb-06 3:35 
AnswerRe: Check file parameter Pin
Steve Hansen24-Feb-06 3:55
Steve Hansen24-Feb-06 3:55 

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.