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 3
1  Comunicaciones / Hacking Mobile / Conectar Logitech Headset bluetooth mp3 en: 18 Octubre 2006, 16:23 pm
Saludo, acabo de comprar los audifonos Logitech headset for mp3 y traen un adaptar con un conector jack, pero la duda viene cuando quiero conectar el audifono no al adaptador sino a un dongle bluetooth de anycom 250 el cual no me reconoce el audifono, he tratado con otros dongle pero no lo ven. Porque esto?
2  Informática / Software / lite sohw 16535 en: 3 Septiembre 2006, 22:16 pm
saludo ,necesito la pagina para descargar el firmware actual de ese  quemador. agradeciendo de antemano
3  Programación / Ingeniería Inversa / emulador de aladin modelos hardlock en: 22 Julio 2006, 01:57 am
saludo estoy interesando en emular una mochila aladin modelo hardlock pero no he encontrado ningun emulador para ello. estuve utilizando el emulador de hasp4 de brain studio pero ese no me sirve. Si alguien sabe de uno o tiene que me lo pueda enviar se lo agradeceria.
4  Programación / Programación Visual Basic / Re: macros en word... en: 28 Junio 2006, 05:23 am
encontre un codigo,  pero no me funciona. Las funciones que quiero que tenga es que me diga son: el status de la impresora y  nivel de tinta esas son basicamente la funciones que quiero que tenga.

El codigo es el siguiente

How can I get a list of the available printer names?

Article contributed by Astrid Zeelenberg

It requires some Windows API trickery, because VBA (unlike VB) does not have a Printers collection. Paste the following into a separate module. The function ListPrinters returns a variant containing an array of printer names.

Option Explicit

Const PRINTER_ENUM_CONNECTIONS = &H4
Const PRINTER_ENUM_LOCAL = &H2

Private Declare Function EnumPrinters Lib "winspool.drv" Alias "EnumPrintersA" _
        (ByVal flags As Long, ByVal name As String, ByVal Level As Long, _
        pPrinterEnum As Long, ByVal cdBuf As Long, pcbNeeded As Long, _
        pcReturned As Long) As Long

Private Declare Function PtrToStr Lib "kernel32" Alias "lstrcpyA" _
        (ByVal RetVal As String, ByVal Ptr As Long) As Long

Private Declare Function StrLen Lib "kernel32" Alias "lstrlenA" _
       (ByVal Ptr As Long) As Long


Public Function ListPrinters() As Variant

Dim bSuccess As Boolean
Dim iBufferRequired As Long
Dim iBufferSize As Long
Dim iBuffer() As Long
Dim iEntries As Long
Dim iIndex As Long
Dim strPrinterName As String
Dim iDummy As Long
Dim iDriverBuffer() As Long
Dim strPrinters() As String

iBufferSize = 3072

ReDim iBuffer((iBufferSize \ 4) - 1) As Long

'EnumPrinters will return a value False if the buffer is not big enough
bSuccess = EnumPrinters(PRINTER_ENUM_CONNECTIONS Or _
        PRINTER_ENUM_LOCAL, vbNullString, _
        1, iBuffer(0), iBufferSize, iBufferRequired, iEntries)

If Not bSuccess Then
    If iBufferRequired > iBufferSize Then
        iBufferSize = iBufferRequired
        Debug.Print "iBuffer too small. Trying again with "; _
        iBufferSize & " bytes."
        ReDim iBuffer(iBufferSize \ 4) As Long
    End If
    'Try again with new buffer
    bSuccess = EnumPrinters(PRINTER_ENUM_CONNECTIONS Or _
            PRINTER_ENUM_LOCAL, vbNullString, _
            1, iBuffer(0), iBufferSize, iBufferRequired, iEntries)
End If

If Not bSuccess Then
    'Enumprinters returned False
    MsgBox "Error enumerating printers."
    Exit Function
Else
    'Enumprinters returned True, use found printers to fill the array
    ReDim strPrinters(iEntries - 1)
    For iIndex = 0 To iEntries - 1
        'Get the printername
        strPrinterName = Space$(StrLen(iBuffer(iIndex * 4 + 2)))
        iDummy = PtrToStr(strPrinterName, iBuffer(iIndex * 4 + 2))
        strPrinters(iIndex) = strPrinterName
    Next iIndex
End If

ListPrinters = strPrinters

End Function
   

'You could call the function as follows:


--------------------------------------------------------------------------------

Sub Test()

Dim StrPrinters As Variant, x As Long

StrPrinters = ListPrinters

'Fist check whether the array is filled with anything, by calling another function, IsBounded.
If IsBounded(StrPrinters) Then
    For x = LBound(strPrinters) To UBound(strPrinters)
        Debug.Print StrPrinters(x)
    Next x
Else
    Debug.Print "No printers found"
End If

End Sub


--------------------------------------------------------------------------------

Public Function IsBounded(vArray As Variant) As Boolean

    'If the variant passed to this function is an array, the function will return True;
    'otherwise it will return False
    On Error Resume Next
    IsBounded = IsNumeric(UBound(vArray))

End Function


El link de la pagina es http://www.word.mvps.org/FAQs/MacrosVBA/AvailablePrinters.htm

Gracias
5  Programación / Programación Visual Basic / macros en word... en: 27 Junio 2006, 03:14 am
Saludo estoy inventando algo con un macros en word que me diga las impresoras que esten ready o si tienen tinta baja o cualquiera opcion que tenga una funcion para esto. Si me podrian ayudar se lo agradeceria.
6  Programación / Ingeniería Inversa / Re: Crackear programa con llave.. en: 27 Agosto 2005, 17:54 pm
He tratado de hacer un breakpoint MessageboxA en Softice, pero no me corre, no se cual breack poner ya que el programa que quiero crackear me dice que Sentinel not Found , program cannot continue.

Quiero saber que si alguien se sabe que breakpoint deberia poner. GRACIAS
7  Programación / Ingeniería Inversa / Re: Crackear programa con llave.. en: 25 Agosto 2005, 21:24 pm
He estado leyendo acerca del tema, voy a ver este articulo y cualquier duda la comento, Gracias
8  Programación / Ingeniería Inversa / Re: Crackear programa con llave.. en: 23 Agosto 2005, 14:45 pm
Me estuve leyendo el tutorial de dongle y me hablaba de unos api y unos dll, que se pueden averiguar en la pagina de la compañia , pero no he encontrado nada que me hable de eso, mi dongle es un SENTINEL PRO, si alguien me puede ayudar a conseguir informacion acerca de el se lo agradeceria, ya que no encuentro nada.
9  Programación / Ingeniería Inversa / Crackear programa con llave.. en: 19 Agosto 2005, 15:22 pm
Tengo un programa que necesita una llave en el puerto paralelo y me interesa saber como funciona esa llave, y como puedo saltar esa seguridad. Agradeciendo de antemanos su colaboracion.
10  Media / Juegos y Consolas / Problemas con Halflive2 en: 17 Julio 2005, 23:39 pm
Baje el Halflive 2, y cominezo a jugar pero he llegado a un punto que como que se me congela el juego, osea, el padre me dice que lo siga pero el se keda en el mismo sitio y sigue disparando a los monstro, y por mas que reinicio el juego me sale lo mismo. Que puedo hacer?
Páginas: [1] 2 3
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines