Quote Originally Posted by VB Client/Server
This sample code will help me.

1.Load any binary file (example 10 kb)
VB Code:
  1. Dim strBuff As String
  2.  
  3.   Open strFileName For Binary As #1
  4.   strBuff = Space(Lof(1))
  5.   Get #1, , strBuff
  6.   Close #1
2.Read first 15 bytes from file and put him in text box
VB Code:
  1. Text1.Text = Left$(strBuff, 15)
3.Then skip (example) 40 bytes and select 10 bytes afther that then show them in text 2
VB Code:
  1. Text2.Text = Mid$(strBuff,56,10)
4.create ini file with (text1 and text2) from this file I will use settings for programing device
Search the site for Ini file handling. There are many threads showing various methods to use.