Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/06/2007, 08:47
tecnicosht
 
Fecha de Ingreso: junio-2007
Ubicación: El mundo
Mensajes: 22
Antigüedad: 17 años, 8 meses
Puntos: 0
Re: Pasar programa de C a VB.NET 2005

Cita:
Iniciado por Anpiro Ver Mensaje
Hay varias webs que convierten codigo:

Aqui tienes una, nos e si te servira, pero pon en el google Converter c vb y te saldran muchas.

Saludos
Gracias pero ya había probado algo similar y no me funciona.

De:

if (rcvPack==null)
{
rcvPack=new dotnetWinpCap.ReceivePacket(this.ReceivePacket);
wpcap.OnReceivePacket+=rcvPack;
}

Me hace esto:

If rcvPack Is Nothing Then
rcvPack = New dotnetWinpCap.ReceivePacket(Me.ReceivePacket)
wpcap.OnReceivePacket() += rcvPack
End If

Pero me da error.
Me pone esto:

Error 1 'dotnetWinpCap.ReceivePacket' is a delegate type and requires a single 'addressof' expression as the only argument to the constructor. Form1.vb 50 55 P_NET


Salu2.