Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/11/2010, 22:58
Pegano
 
Fecha de Ingreso: noviembre-2010
Mensajes: 13
Antigüedad: 14 años, 5 meses
Puntos: 0
Respuesta: Ayuda a un novato

Cita:
Iniciado por pkj Ver Mensaje
Depende del lenguaje que quieras usar.
En VB6 creo que sería algo como:

Código vb:
Ver original
  1. Dim Nombre As String
  2.   Dim NumFichero As Integer
  3.   Dim Valor As Integer
  4.   NumFichero = FreeFile
  5.   Nombre = "C:\fichero.bin"
  6.   Open Nombre For Binary Access Read Write As #NumFichero
  7.     Get #NumFichero, &H400, Valor
  8.     Put #NumFichero, &H500, Valor
  9.     Get #NumFichero, &H401, Valor
  10.     Put #NumFichero, &H501, Valor
  11.     Get #NumFichero, &H402, Valor
  12.     Put #NumFichero, &H502, Valor
  13.     Get #NumFichero, &H403, Valor
  14.     Put #NumFichero, &H503, Valor
  15.   Close #NumFichero

Saludos
muchas gracias amigo pkj