K
Keith
Hi,
I have a c# class that I am trying to create an instance of from
vb.net, and am getting the error "Sub New() is not accessible in this
context because it is 'Private'. Declaration (c#) and instantiation
(vb.net) are below:
<snip of C#>
namespace LogicTec.JLTRE.Data
{
public class SystemUserClass
{
private SystemUserClass() { }
/* some methods and members here... */
}
}
</snip of C#>
<snip of VB>
Dim userClass As New LogicTec.JLTRE.Data.SystemUserClass
</snip of VB>
Help me!!!!!
I have a c# class that I am trying to create an instance of from
vb.net, and am getting the error "Sub New() is not accessible in this
context because it is 'Private'. Declaration (c#) and instantiation
(vb.net) are below:
<snip of C#>
namespace LogicTec.JLTRE.Data
{
public class SystemUserClass
{
private SystemUserClass() { }
/* some methods and members here... */
}
}
</snip of C#>
<snip of VB>
Dim userClass As New LogicTec.JLTRE.Data.SystemUserClass
</snip of VB>
Help me!!!!!