hi, i got a sample from internet and i'd like to test it but this sample contains only a vb file (not form) so i added a new form into the project, i also added a button there but I don't know how imports the code from the unit, e.g.
the unit code starts as below
so, my form starts as
but i get "Type 'ADWrapper' is not defined"
so my question is how I should proceed to use the methods from the namespace PC or the ADWrapper class.
Thanks in advance,
m0dest0.
the unit code starts as below
VB.NET:
Namespace PC
Public Class ADWrapper
so, my form starts as
VB.NET:
Imports PC
Public Class TestingAD
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyADWrapper As ADWrapper = New ADWrapper()
but i get "Type 'ADWrapper' is not defined"
so my question is how I should proceed to use the methods from the namespace PC or the ADWrapper class.
Thanks in advance,
m0dest0.