Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > vb.net > december 2005 >

vb.net : How can i open this random file in smart device project vs2005?


Luis Ramos
12/28/2005 5:51:02 PM
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

Cor Ligthert [MVP]
12/29/2005 8:58:39 AM
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

AddThis Social Bookmark Button