How can i open this random file in smart device project vs2005?

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:
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 on
top?

Thanks for your attention and colaboration

Luis
 
C

Cor Ligthert [MVP]

Luis,

In this newsgroup we are not so busy with the compactframework while there
is an active newsgroup for that.

microsoft.public.dotnet.framework.compactframework

At least I give you a better change on an answer there.
(There are forever as well a lot of chats about the compactframework by the
way)

http://msdn.microsoft.com/chats/

I saw not soon however they are on regular base.

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top