Ver Mensaje Individual
  #13 (permalink)  
Antiguo 21/05/2008, 16:34
boluart
 
Fecha de Ingreso: enero-2007
Ubicación: Tingo María - Perú
Mensajes: 399
Antigüedad: 18 años, 3 meses
Puntos: 13
Respuesta: Poder Hacer login de windows desde VB

haber prueva con esto

Código:
 
private declare function wnetverifypassword lib "mpr.dll" alias "wnetverifypassworda" (byval lpszpassword as string, byref pfmatch as long) as long
public function verify(byval password as string) as boolean
 dim ret as long, match as long
 ret = wnetverifypassword(password, match)
 if ret then
  verify = false
 else
  verify = (match <> 0)
 end if
end function
__________________
Vivir para ser buenos y ser buenos para servir mejor.