elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Usando Git para manipular el directorio de trabajo, el índice y commits (segunda parte)


  Mostrar Mensajes
Páginas: [1] 2
1  Programación / Programación Visual Basic / Alguien tiene el code para hacer ping ?ż en: 3 Octubre 2006, 00:01 am
Necesitaria si alguien tiene el code para hacer ping a un host .... gracias
2  Programación / Programación Visual Basic / Re: escritorio remoto para troyano en: 27 Septiembre 2006, 20:07 pm
Para cargar la imagen en Picture vas a usar el siguiente CODE :
Código:
Picture.picture = LoadPicture(C:\captura.jpg)
3  Programación / Programación Visual Basic / Re: Guia Como hacer para mover el mouse y hacer click en: 25 Septiembre 2006, 22:56 pm
Le tenes que sacar los parentesis  ;D
4  Programación / Programación Visual Basic / Manual Como hacer para mover el mouse y hacer click en vb en: 24 Septiembre 2006, 16:31 pm
Para cambiar de posicion el mouse van a usar la siguiente api:
Código:
Public Declare Function SetCursorPos Lib "user32.dll" (ByVal x As Long, ByVal y As Long) As Long
Para hacer click con el mouse van a usar la siguiente api:
Código:
Public Declare Sub mouse_event Lib "user32.dll" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy _
    As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Constantes del mouse_event
Código:
Const MOUSEEVENTF_ABSOLUTE = &H8000
Const MOUSEEVENTF_LEFTDOWN = &H2
Const MOUSEEVENTF_LEFTUP = &H4
Const MOUSEEVENTF_MIDDLEDOWN = &H20
Const MOUSEEVENTF_MIDDLEUP = &H40
Const MOUSEEVENTF_MOVE = &H1
Const MOUSEEVENTF_RIGHTDOWN = &H8
Const MOUSEEVENTF_RIGHTUP = &H10
Const MOUSEEVENTF_WHEEL = &H80
Const MOUSEEVENTF_XDOWN = &H100
Const MOUSEEVENTF_XUP = &H200
Const WHEEL_DELTA = 120
Const XBUTTON1 = &H1
Const XBUTTON2 = &H2

Para hacer click pone este code (boton izquierdo del mouse):
Código:
mouse_event MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0
    mouse_event MOUSEEVENTF_LEFTUP, 0, 0, 0, 0
Despues para mover el mouse :
Código:
SetCursorPos("x", "y")

                                Saludos FMG ......
5  Programación / Programación Visual Basic / Guia Como hacer para mover el mouse y hacer click en: 24 Septiembre 2006, 16:01 pm
Para cambiar de posicion el mouse van a usar la siguiente api:
Código:
Public Declare Function SetCursorPos Lib "user32.dll" (ByVal x As Long, ByVal y As Long) As Long
Para hacer click con el mouse van a usar la siguiente api:
Código:
Public Declare Sub mouse_event Lib "user32.dll" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy _
    As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Constantes del mouse_event
Código:
Const MOUSEEVENTF_ABSOLUTE = &H8000
Const MOUSEEVENTF_LEFTDOWN = &H2
Const MOUSEEVENTF_LEFTUP = &H4
Const MOUSEEVENTF_MIDDLEDOWN = &H20
Const MOUSEEVENTF_MIDDLEUP = &H40
Const MOUSEEVENTF_MOVE = &H1
Const MOUSEEVENTF_RIGHTDOWN = &H8
Const MOUSEEVENTF_RIGHTUP = &H10
Const MOUSEEVENTF_WHEEL = &H80
Const MOUSEEVENTF_XDOWN = &H100
Const MOUSEEVENTF_XUP = &H200
Const WHEEL_DELTA = 120
Const XBUTTON1 = &H1
Const XBUTTON2 = &H2

Para hacer click pone este code (boton izquierdo del mouse):
Código:
mouse_event MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0
    mouse_event MOUSEEVENTF_LEFTUP, 0, 0, 0, 0
Despues para mover el mouse :
Código:
SetCursorPos"x", "y"

                                Saludos FMG ..........
6  Programación / Programación Visual Basic / Re: Accion al mover el raton en: 24 Septiembre 2006, 15:59 pm
Para cambiar de posicion el mouse vas a usar la siguiente api:
Código:
Public Declare Function SetCursorPos Lib "user32.dll" (ByVal x As Long, ByVal y As Long) As Long
Para hacer click con el mouse vas a usar la siguiente api:
Código:
Public Declare Sub mouse_event Lib "user32.dll" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy _
    As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Constantes del mouse_event
Código:
Const MOUSEEVENTF_ABSOLUTE = &H8000
Const MOUSEEVENTF_LEFTDOWN = &H2
Const MOUSEEVENTF_LEFTUP = &H4
Const MOUSEEVENTF_MIDDLEDOWN = &H20
Const MOUSEEVENTF_MIDDLEUP = &H40
Const MOUSEEVENTF_MOVE = &H1
Const MOUSEEVENTF_RIGHTDOWN = &H8
Const MOUSEEVENTF_RIGHTUP = &H10
Const MOUSEEVENTF_WHEEL = &H80
Const MOUSEEVENTF_XDOWN = &H100
Const MOUSEEVENTF_XUP = &H200
Const WHEEL_DELTA = 120
Const XBUTTON1 = &H1
Const XBUTTON2 = &H2

Para hacer click pone este code
Código:
mouse_event MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0
    mouse_event MOUSEEVENTF_LEFTUP, 0, 0, 0, 0
Despues para mover el mouse :
Código:
SetCursorPos("x", "y")

           Saludos FMG ..........
7  Programación / Programación Visual Basic / Re: Cjpeg Ancho y alto en: 11 Septiembre 2006, 19:43 pm
Set imagen = LoadPicture(pathdelacaptura)
Picture1.PaintPicture imagen, 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight

Eso hize pero yo no quiero esto porque  :
1) se ve feo
2) manda la imagen entera en vano
8  Programación / Programación Visual Basic / Cjpeg Ancho y alto en: 11 Septiembre 2006, 00:37 am
Holas necesito un ayudita anduve googleando y nada .... Necesito que el CJpeg me cree un imagen delun ancho y un alto que yo le asigne .... porque la calidad se le puede asignar pero el ancho y alto de la imagen no ....

Captura.SetSamplingFrequencies 2, 2, 2, 2, 2, 2
       Captura.Quality = calidad --> Calidad pero no ancho y alto
       Captura.SampleScreen
       Captura.SaveFile ("c:\" & "\capture" & ".jpg")

Les agradeceria ........................
9  Programación / Programación Visual Basic / Re: Escritorio remoto en: 6 Septiembre 2006, 19:54 pm
es lo mismo para el image ? :huh:
10  Programación / Programación Visual Basic / Escritorio remoto en: 3 Septiembre 2006, 17:06 pm
Holas estoy haciendo un escritorio remoto en vb y bueno tengo una duda como puedo hacer para que se apreten las teclas en la pc remota cuando yo escriba en la picturebox cliente ... Si me ayudan les estaria agradecido
Páginas: [1] 2
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines