Create Random access file in VB that is same format as NSBasic
Posted on 2007-08-12
I am trying to convert a program that was using an Access database that synchronized between a PocketPC and Microsoft Access. What I am wanting to do is create a random access file in VB that can be copied down to the handheld and then read in by record number. The problem is that when I create a random file in VB, the format doesn't match that of a random file created by NSBasic (which is supposed to be VB script). Is there anyone familiar enough with both of these programs that can tell me how to create a random file that can be read by both programs?
Here is my basic syntax for opening the file in VB:
Open myFile For Random As #1 Len = 500
Here is my syntax for opening the file in NSBasic:
file.Open myFile, 4, 2, 3, 500