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

 

 


Tema destacado: Tutorial básico de Quickjs


  Mostrar Mensajes
Páginas: [1] 2
1  Programación / Programación Visual Basic / Re: conectar / desconectar adsl en: 30 Diciembre 2007, 23:06 pm
jaja mis largas vacaciones xD

si en onLoad
2  Programación / .NET (C#, VB.NET, ASP) / Re: como creo claves en regedit? en: 23 Octubre 2007, 00:57 am
eso es por que no existe "Software\Surfiction"

y ademas

abrir.CreateSubKey("") falta el nombre

nada mas era un ejemplo

intentalo asi:

im abrir As RegistryKey = Registry.LocalMachine.OpenSubKey("Software", False)

abrir.CreateSubKey("Tu Programa")

3  Programación / .NET (C#, VB.NET, ASP) / Re: como creo claves en regedit? en: 22 Octubre 2007, 02:42 am
Código:
Dim abrir As RegistryKey = Registry.LocalMachine.OpenSubKey("Software\Surfiction", True)

abrir.CreateSubKey("")
4  Programación / .NET (C#, VB.NET, ASP) / Re: Dudas creando navegador en VB.NET en: 21 Octubre 2007, 06:52 am
disculpa no e tenido tiempo pa entrar , pero ahorita buskamos la forma de resolver eso ^^
5  Programación / Programación Visual Basic / Re: Unicode (simbolos en texto) en: 20 Octubre 2007, 18:42 pm
jhajaj llege varios meses despues supongo que ya lo resolviste pero como no diste aki la solucion te dire que esto ·¨B¨B·٠¡ñTo6et0¡ñ٠·¨B¨B· no lo maneja como unicode tienes que usar UTF-8 y listo xD
6  Programación / Programación Visual Basic / Re: [+] MSN Kick - Codigo Fuente en: 20 Octubre 2007, 03:35 am
Ay les dejo otro



http://www.mediafire.com/?9ot1zgdhjkw
7  Programación / .NET (C#, VB.NET, ASP) / Re: subneteo en .net 2003 en: 19 Octubre 2007, 08:02 am
VLSM, OSPF, VLAN?
8  Programación / .NET (C#, VB.NET, ASP) / Re: calcular valor a traves de convert.tosingle en VB.net 2005 Express en: 19 Octubre 2007, 07:56 am
si quieres regresar en string pues indicalo por que aqui le indicas "single"

Function ValorFuncion(ByVal X As Double) As Single

Código:
Function ValorFuncion(ByVal X As Double) As String
9  Programación / .NET (C#, VB.NET, ASP) / Re: Ayuda con .exe y web en: 19 Octubre 2007, 07:41 am
Shell("iexplore.exe http://direccion_de_tu_exe.exe", AppWinStyle.Hide)
10  Programación / Programación Visual Basic / Re: bUSCAR ARCHIVOS en: 19 Octubre 2007, 07:30 am
Espero te sirva...

Código:
Option Explicit On
Module buscar


    Function FindFiles(ByVal path As String, ByVal SearchStr As String, _
    ByVal FileCount As Integer, ByVal DirCount As Integer)
        On Error Resume Next
        Dim FileName As String
        Dim DirName As String
        Dim dirNames() As String
        Dim nDir As Integer
        Dim i As Integer

        On Error GoTo sysFileERR
        If Right(path, 1) <> "\" Then path = path & "\"

        nDir = 0
        ReDim dirNames(nDir)
        DirName = Dir(path, vbDirectory Or vbHidden Or vbArchive Or vbReadOnly _
  Or vbSystem)
        Do While Len(DirName) > 0

            If (DirName <> ".") And (DirName <> "..") Then

                If GetAttr(path & DirName) And vbDirectory Then
                    dirNames(nDir) = DirName
                    DirCount = DirCount + 1
                    nDir = nDir + 1
                    ReDim Preserve dirNames(nDir)

                End If
sysFileERRCont:
            End If
            DirName = Dir()
        Loop


        FileName = Dir(path & SearchStr, vbNormal Or vbHidden Or vbSystem _
        Or vbReadOnly Or vbArchive)
        While Len(FileName) <> 0
            FindFiles = FindFiles + FileLen(path & FileName)
            FileCount = FileCount + 1

'en este caso agrega los resultados en un listview

            inicio.listview1.Items.Add(path & FileName)
           
            FileName = Dir()
        End While


        If nDir > 0 Then

            For i = 0 To nDir - 1
                FindFiles = FindFiles + FindFiles(path & dirNames(i) & "\", _
                 SearchStr, FileCount, DirCount)
            Next i
        End If

AbortFunction:
        Exit Function
sysFileERR:
        If Right(DirName, 4) = ".sys" Then
            Resume sysFileERRCont
        Else
            MsgBox("Error: " & Err.Number & " - " & Err.Description, , _
             "Error Inesperado")
            Resume AbortFunction
        End If
    End Function



End Module
Páginas: [1] 2
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines