Hi all
This is my c# code in some Dll
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
namespace LP_Misc
{
public class LP_Registery
{
LP_Registery()
{
ReadMyTestRegKey();
}
public void ReadMyTestRegKey()
{
RegistryKey regkey;/* new Microsoft.Win32 Registry Key */
regkey = Registry.CurrentUser.OpenSubKey(@"Software\PCBMatrix\LPWizard\experimental");
string[] valnames = regkey.GetValueNames();
string val0 = (string)regkey.GetValue(valnames[0]);
Console.Write("--------------------------------The {0} val is {1}", valnames[0], val0);
}
}
}
I am trying to call it from some vb code in another dll .
Like this
Imports LP_Misc
.
.
.
Dim T As LP_Registery()
I don't get any errors but it just not enters to the C# code . It just jumps over it and goes over .
any idea ?