Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - NsTeam

#101
BUeno Encontre Este Codigo

text1.MaxLength=100

que limita una cierta cantidad de caracteres

pero COmo aria para hacer lo que Explique

Lo que Indica la IMG
#102
Hola a todos

ANdo en un projecto EN Lo Cual Solo quiero que Entre una cierta cantidad de letras

Ejemplo:

que en el texbox   Solo entren 100 letras


Pero Tambien QUisiera que  En el Textbox  Se PUeda Escribir Normal Hasta llegar

a 100 letras , Pero seguir escribiendo , Mientras que sigas escribiendo mas letras,

en el comienzo Se Van DIsminuyendo... ,  Pero En Si El TextBos Solo Puede

Cotener 100 letras o caracteres



Espero Aver  Explixado Bien =)

Gracias De Antemano
#103
Y Una Ultima Pregunta =)

si le cambio el Nombre a

aaaaa.ocx                   Y

aaaaasss.ocx

Cuando Le Envio a UN Contacto Mio El Descomprimidor

y luego el Lo Abre NOrmal Lo abrira?

O le aparecera EL Error, porque SE CamBio de Nombre
#104
muchas gracias por la ayuda

Pero Ahora SOlo le envio en un .rar?




Juanillo ,  Tendria que Acer Otro .Exe  Para que SE Registren los  Dos  .ocx
??

:O Tendria que Crear Un InstaladoR?
#105
Hola A Todos

WenO Tengo Una Duda de Compilacion

Hice Un Enviador De E - mAIl

Y Me Anda Bien,  Incluso Puedo Conpilarlo  y Usarlo Despues de Aberlo Hecho


Pero EL error Me ANda  Al Enviarle La Aplicacion a Uno de MIs Contactos

Ami mE Funciona Bien,  pero Cuando se Los Envio a MIs Contactos PAra que lo vean

Les Aparece el Siguiente Error Al Abrirlo



Bueno El Proyecto Lo Unico que Tiene Es Un Project Mas Un Form1

Con controles Incluidos

- winsock
- commandbutton
- textbox
-CommonDialog

bueno no incluye otras Cosas NI Modulos Ni Dll Ni Nada

Pero Lo que No Entiendo Es Porque  Cuando Le Envio la Aplicacion a unos de mis Contactos

Al Abrilo El Les Aparece el error De la IMG


BuenO Espero Sus Respuestas
Espero haber Sido Explicativo

Talves Tengo que compilarlo de otra forma

Espero sus respuestas  =)

Salu2
#106
Te FALta un Keylogger xD

o talve un capturador de PAntalla
#107
Cita de: & eDu & en  8 Julio 2009, 10:15 AM
No te anda por que lo tienes en un command, y cuando apretas el programa que tienes , es decir de plano es el programa. Pon un time con el código y ves al juego.

Puse Un Timer con un Interval de 2000

Pense que la tecla Space se presionaria Sola

Pero En El Juego NO Se Presiona

INtente Con AppActivate  Y Aun ASi NAda

T.T
#108
Cita de: byway en  8 Julio 2009, 05:59 AM
puedes usar el Api keybd_event en vez de SendKeys :

http://www.recursosvisualbasic.com.ar/htm/listado-api/153-keybd_event-en-ves-de-sendkeys.htm

y para la tecla espacio seria:

Código (vb) [Seleccionar]
vbKeySpace

Saludos.





Gracias Por La Ayuda

Era Exactamente Lo QUe Buskaba =)

Pero Quise Probarlo Con Un Juego

para que al presionar SPACE 

Brincara   , pero VEo QUe No ME Anda PAra Eso =(
#109
Hola a Todos

Bueno Esta Es la Duda QUe Tengo

SendKeys "{space}"

Me Tira el error   "Run-time error '5': Invalid procedure call or argument"

Bueno El Pekeño Code que tengo es Este

Private Sub Command1_Click()
SendKeys "{space}"
End Sub




Lo Cual Al hAcer Clik en el Comman1 envie la Tecla Space

Pero ME MAnda El Error


--> se Que Alguna de sus Respuestas Sera QUe Ponga Lo Siguiente

SendKeys " "

Pero En Si Lo Que QUiero Es Que Se Presione La tecla SPACE

Bueno Espero Alguna Respuesta Que Me Ayude

Gracias de ANtemano  =)
#110
Hola A todos

Bueno tengo Una Duda Con Un Programa Que QUiero Hacer

Lo Cual Necesito Un Poko de Su Ayuda

Bueno Tengo Un Proyecto en Visual Basic

Lo Cual Solo Puede editar  Valores De HAsta 4 Bytes

Y lo que Yo en Si quiero Es Que Tambien Se Puedan Editar

En mas Byter E Incluso en Array Of Byte

EL Code Que Tengo En UN Module es Este






Public Const PROCESS_ALL_ACCESS = &H1F0FFF

Dim f1holder As Integer

Dim timer_pos As Long

'API Declaration

Public Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long

Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long

Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long

Public Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long

Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long

Public Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer

Public Declare Function ReadProcessMem Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long

Public Function WriteAByte(gamewindowtext As String, address As Long, value As Byte)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

WriteProcessMemory phandle, address, value, 1, 0&

CloseHandle hProcess

End Function

Public Function WriteAnInt(gamewindowtext As String, address As Long, value As Integer)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

WriteProcessMemory phandle, address, value, 2, 0&

CloseHandle hProcess

End Function

Public Function WriteALong(gamewindowtext As String, address As Long, value As Long)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

WriteProcessMemory phandle, address, value, 4, 0&

CloseHandle hProcess

End Function

Public Function ReadAByte(gamewindowtext As String, address As Long, valbuffer As Byte)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

ReadProcessMem phandle, address, valbuffer, 1, 0&

CloseHandle hProcess

End Function

Public Function ReadAnInt(gamewindowtext As String, address As Long, valbuffer As Integer)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

ReadProcessMem phandle, address, valbuffer, 2, 0&

CloseHandle hProcess

End Function

Public Function ReadALong(gamewindowtext As String, address As Long, valbuffer As Long)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

ReadProcessMem phandle, address, valbuffer, 4, 0&

CloseHandle hProcess

End Function

Public Function ReadAFloat(gamewindowtext As String, address As Long, valbuffer As Single)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

ReadProcessMem phandle, address, valbuffer, 4, 0&

CloseHandle hProcess

End Function



Public Function WriteAFloat(gamewindowtext As String, address As Long, value As Single)

Dim hWnd As Long

Dim pid As Long

Dim phandle As Long

hWnd = FindWindow(vbNullString, gamewindowtext)

If (hWnd = 0) Then

MsgBox "The Game Is Not Working", vbCritical, "Error"

End

Exit Function

End If

GetWindowThreadProcessId hWnd, pid

phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)

If (phandle = 0) Then

MsgBox "Can't get ProcessId", vbCritical, "Error"

Exit Function

End If

WriteProcessMemory phandle, address, value, 4, 0&

CloseHandle hProcess

End Function







Bueno Como VIeron Solo Tengo Hasta  4bytes

Pero Lo QUe En Si quiero ES Que TAmbien Se PUeda editar

valores de entre 4 bytes a Mas

Nose Si Me Explico Bien

Pero Espero De Sus Respuestas =)