ninel
Active member
I have a 3rd party dll created on .net. I need to create a vb.net app calling the properties/methods of that dll.
I have the code in C# to do this, but how can I change it to work in vb.net?
ADSLib.ADSData pData = New ADSLib.ADSData();
If (pData.ValidaClockId(txtClockId.text, txtPin.text)) Then
{
Response.redirect("process.aspx?clock_id=" + txtClockID.Text +
"&command=" + e.CommandArgument.ToString(), true);
}
Else
{
lblMessages.Text = "Invalid ClockID or PIN Code!";
return;
}
Thanks,
Ninel
I have the code in C# to do this, but how can I change it to work in vb.net?
ADSLib.ADSData pData = New ADSLib.ADSData();
If (pData.ValidaClockId(txtClockId.text, txtPin.text)) Then
{
Response.redirect("process.aspx?clock_id=" + txtClockID.Text +
"&command=" + e.CommandArgument.ToString(), true);
}
Else
{
lblMessages.Text = "Invalid ClockID or PIN Code!";
return;
}
Thanks,
Ninel