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

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


  Mostrar Mensajes
Páginas: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16
71  Programación / Programación Visual Basic / Re: Una duda en: 25 Diciembre 2006, 01:30 am
DrakoX eres un maestro  ;D

Muxas gracias


Bye
72  Programación / Programación Visual Basic / Una duda en: 24 Diciembre 2006, 21:16 pm
Como puedo hacer que el form sigua al mouse  ;D

esu nu mas  ;D

Bye falta poco para  ::)
73  Programación / Programación Visual Basic / Re: ABRIR CUALQUIER TIPO DE ARCHIVO ARCHIVOS en: 24 Diciembre 2006, 18:54 pm
a mi me funciona bien :

Citar
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

Private Sub Command1_Click()
 Dim xD As Long
 xD = ShellExecute(Me.hwnd, "Open", "C:\1.txt", "", "", 1)
End Sub

Bye
74  Programación / Programación Visual Basic / Re: Tranparencia y movilidad en: 24 Diciembre 2006, 14:54 pm
Otra opcion para q kede 100% transparente es declarar un color como transparente. Mirate este code, mirra este code hace el blanco transparente:

Código:
Const LWA_COLORKEY = &H1
Const GWL_EXSTYLE = (-20)
Const WS_EX_LAYERED = &H80000

Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function SetLayeredWindowAttributes Lib "user32.dll" (ByVal hWnd As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long

Private Sub Form_Load()
Dim Ret As Long
Dim CLR As Long
CLR = RGB(255, 255, 255)
Ret = GetWindowLong(Me.hWnd, GWL_EXSTYLE)
Ret = Ret Or WS_EX_LAYERED
SetWindowLong Me.hWnd, GWL_EXSTYLE, Ret
SetLayeredWindowAttributes Me.hWnd, CLR, 0, LWA_COLORKEY
End Sub

La cosa es cambiar el color segun te interese a ti ;) creo recordar q era en la linea CLR = RGB(255, 255, 255)

1S4ludo

Gracias

con ese code se me ocurren cientos de ideas xD, en especial en la apariencia del form

vale por el regalo de navidad

Bye

75  Programación / Programación Visual Basic / Re: Tranparencia y movilidad en: 24 Diciembre 2006, 05:24 am
con respecto a tu segunda duda :

Citar
Option Explicit
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Const WM_NCLBUTTONDOWN = &HA1
Const HTCAPTION = 2

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    ReleaseCapture
    SendMessage Me.hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
End Sub

Bye
76  Programación / Programación Visual Basic / Re: Screen Capture R00lz en: 23 Diciembre 2006, 15:57 pm
Cunado intento descargarlo m aparece esto.... Intento poner lo d la imagen en la casilla d verificacion pero es demasiado grande.

http://img166.imageshack.us/my.php?image=dibujonb1.jpg



como dice Tesis arriba, solo Debes colocar los 4 caracteres ( entre numeros y letras ) y presionar el noton download.

Bye
77  Programación / Programación Visual Basic / Re: Screen Capture R00lz en: 23 Diciembre 2006, 01:22 am
aqui hay un buen método sin ocx

   http://rapidshare.com/files/8594726/Captura_de_pantalla_2.rar.html


y te recomiendo usar este xD


Bye
78  Programación / Programación Visual Basic / Re: Screen Capture R00lz en: 22 Diciembre 2006, 23:17 pm
y cual es el tamaño de la imagen generada ???

Bye
79  Programación / Programación Visual Basic / Re: Screen Capture R00lz en: 22 Diciembre 2006, 01:35 am
Jajajaja

Si juntas el nombre que le has puesto al programa + El server de bifrost que tienes en el escritorio + el tema de windows vista falso = hax0r lam0 powa! (es coña)

El programa esta chulo ;)

no entendi  :rolleyes:
80  Programación / Programación Visual Basic / Re: Screen Capture R00lz en: 21 Diciembre 2006, 23:04 pm
...
Páginas: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines