Results 1 to 3 of 3

Thread: [RESOLVED] Reading XML file

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2008
    Location
    California
    Posts
    151

    Resolved [RESOLVED] Reading XML file

    Hi

    I am new to windows mobile development
    How do I read XML file when form loads?

    I tried to use same logic of windows application but did not work
    example
    Dim fs as new filestream("d:\keyboard.xml",filemode.open,fileaccess.read)

    this isnt working. It say Invalid directory. any idea?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: Reading XML file

    That doesn't look like a valid mobile directory. Off the top of my head, I can't remember the syntax, but I have never encountered a drive letter on a mobile system.
    My usual boring signature: Nothing

  3. #3
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Reading XML file

    Hi,
    Shaggy is correct - there is no concept of c:\ d:\ etc on mobile devices.

    Syntax is similar to
    "\My Documents\keyboard.xml"

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width