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

 

 


Tema destacado: Únete al Grupo Steam elhacker.NET


  Mostrar Mensajes
Páginas: [1]
1  Programación / .NET (C#, VB.NET, ASP) / Re: [VB.net] Porteo de la implementacion del api de WhatsApiNet WhatsApp WhatsAppAPI en: 16 Noviembre 2016, 19:56 pm
Hola me sale este error

Excepción no controlada del tipo 'System.Exception' en WhatsAppApi.dll

Información adicional: Auth response error

al final del codigo
 wa.Connect()
        Dim datFile As String = getDatFileName(WANum)
        Dim nextChallenge() As Byte
        If (File.Exists(datFile)) Then
            Dim foo As String = File.ReadAllText(datFile)
            nextChallenge = Convert.FromBase64String(foo)
        End If
        wa.Login(nextChallenge)
        ProcessChat(wa)

alguien me ayuda faltA Muy poco!

2  Programación / .NET (C#, VB.NET, ASP) / llamar funcion equivalente a shell desde window mobile en: 18 Julio 2013, 01:50 am
Hola amigos
soy nuevo en el foro
mi nombre es Manuel
estoy programando una es400 de motorola
y me encuentro que la funcion shell para llamar a un exe no es compatible
estoy revisando este codigo pero no me funciona

se trata de utilizar el metodo Process

Código
  1. Dim ProgramaConRuta As String
  2.        ProgramaConRuta = "gTimeSync.exe"
  3.        Dim Parametro As String
  4.        Parametro = " -u"
  5.        Dim ERROR_FILE_NOT_FOUND As Integer = 2
  6.        Try
  7.            Dim myProcess As Process = System.Diagnostics.Process.Start(ProgramaConRuta, Parametro)
  8.            Beep()
  9.        Catch ex As ComponentModel.Win32Exception
  10.            If ex.NativeErrorCode = ERROR_FILE_NOT_FOUND Then
  11.                MsgBox("Error: " & ex.Message & " ", MsgBoxStyle.Critical, "Comprueba la ruta del programa")
  12.            End If
  13.        End Try
  14. [/url]
  15. si alguien sabe como hacer se lo voy a agradecer
  16. saludos
3  Programación / Scripting / Re: ejecutar un bat en segundo plano en: 18 Julio 2013, 00:59 am
Hola amigos
tengo este problema
necesito llamar a un ejecutable que lleva un  parametro
desde un dispositivo motorola es400 con windows mobile
el programa esta en visual estudio 2008 pero leyendo
me dicen que el comando shell no funciona en los mobiles
la verdad estoy azul si alguien sabe se lo agradecere muchisimo

este es mi codigo

 Dim ProcID As Integer
        Dim FilePath As System.String = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules(0).FullyQualifiedName) & "\gTimeSync.exe -u"

       
        Try

            ProcID = Shell("\\" & FilePath, AppWinStyle.Hide)
    '  MessageBox.Show("File Path(A): " & FilePath & " ok")
            Beep()
        Catch ex As Exception
            ' MessageBox.Show("File Path(A): c:" & FilePath & " Error: " & ex.Message)
            Lblx.Text = ProcID
        End Try

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