G
Guest
Happy new year for everybody...
My problem is this:
I can open a random file with vs2005 this way(normal project), but not in a
smart device project.
example of the way i do in a normal project:
Structure Record
public ID As Integer
public Cod as short
<vbfixedString(50)> public Name As String
<vbfixedString(50)> public Adress as String
<vbfixedString(50)> public City as String
public Sit as single
End Structure
private sub button_click() etc.....
Dim MyRecord As Record
FileOpen(1, "TESTFILE", OpenMode.Random)
Do While Not EOF(1)
FileGet(1, MyRecord)
ListBox1.items.add MyRecord.name
Loop
FileClose(1)
end sub()
My question is:
How can i open this file in the Compact Framework, smart device project?
Can somebody give-me a exemple of how to do it real close to the one i
wrote here?
Thanks for your attention and colaboration
Luis
My problem is this:
I can open a random file with vs2005 this way(normal project), but not in a
smart device project.
example of the way i do in a normal project:
Structure Record
public ID As Integer
public Cod as short
<vbfixedString(50)> public Name As String
<vbfixedString(50)> public Adress as String
<vbfixedString(50)> public City as String
public Sit as single
End Structure
private sub button_click() etc.....
Dim MyRecord As Record
FileOpen(1, "TESTFILE", OpenMode.Random)
Do While Not EOF(1)
FileGet(1, MyRecord)
ListBox1.items.add MyRecord.name
Loop
FileClose(1)
end sub()
My question is:
How can i open this file in the Compact Framework, smart device project?
Can somebody give-me a exemple of how to do it real close to the one i
wrote here?
Thanks for your attention and colaboration
Luis