Mover un .gif con el teclado en HTML + JScript + Activex MSComm + Celular con Android + Bluetooh.
Decidí colocar esta publicación aquí, porque igual se puede hacer con VBScript, pero utilicé JScript.
Además el programa de android esta elaborado en rfo-Basic!.
Hola para todos....
Ni se imaginan lo difícil para mi que fue todo esto.
Yo sabía que si se podía hacer, el problema era como hacerlo.
Se puede hacer con .HTML, pero es más complicado, se puede hacer practicamente de todo.
Existe hasta una dynawrap.dll que te permite cargar .dll externas como inpout32.dll.
El objetivo principal era mover ese objeto .gif desde el celular,
con SO Android y el puerto bluetooth.
También hice pruebas con: "Virtual Serial Port Driver". El HTML y "HyperTerminal" con diferente
puerto serial en cada programa, funcionó todo bien.
Ok. Trataré de ser puntual en el asunto.
Problema:
MSComm ya no trabaja en el Internet Explorer 7 y superiores.
Hay un "Kill Bit" en un servispack que al actualizar windows xp lo coloca en el Registry key.
Leer Aquí:
En Inglés kill bito buscar en internet : Tony's Microsoft Access Blog
(An older version of MSCOMM32.OCX has had the "kill bit" flag set.)
Solución:
ACM.exe (ActiveX Compatibility Manager v1.00) de NirSoft
ACM en ingléshttp://www.nirsoft.net/utils/acm.zip Deberías leer la página de como utilizarlo.
Una vez que activas el componente MSCOMM ya puedes utilizarlo en Internet Explorer.
Perdí mucho tiempo tratando de recibir y enviar algo con HTML o JScript. Hasta encontrar la solución.
El código estaba bueno. Era ese "kill bit" lo que me estaba trancando todo.
No lo he probado en Windows 7, solo en Win XP.
Aquí les dejo el código necesario en HTML, JScript y Basic! para el celular con android.
Todo trabajando perfecto, según mis pruebas.
Debes tener Bluetooth en el computador.
Activar Bluetooth en el celular.
HTML puedes darle cualquier nombre con extención .html
Tambien debes darle los dos permisos que te solicita el .HTML para que ejecute correctamente.
JScript debes darle este nombre obligatoriamente. ex09-08.js o cambiarlo dentro del .html
Celuler con Android. Debes tener instalado RFO-Basic! en tu celular v1.58
puedes darle cualquier nombre con extención .bas
Bajar Basic! android V1.58Todos los códigos no son mios, solo el .bas de android. Pero los otros tienen
mucho código puesto por mi. Los .gif hechos por mi, no son de calidad
Espero les sea útil en su momento.
Saludos para todos.
Luego lo subo box.net
Ya cambiado