Results 1 to 5 of 5

Thread: Reading from an awkward file...Thanks

Hybrid View

  1. #1
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Reading from an awkward file...Thanks

    Then what you want to do is to download MSXML4 from Microsoft and install it. You may already have MSXML2 or 3 on your PC and they will work but 4 is better. Then using commands like selectNodes you will be able to get at the data you need. There are a lot of examples in this forum and the XML forum that should help you, and/or you can ask questions once you get started.

  2. #2
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Reading from an awkward file...Thanks

    to read it into one variable
    VB Code:
    1. Dim FileLen As Integer
    2. Dim inVar As String
    3. Open "C:\Persist.data" For Binary As #1
    4. FileLen = LOF(1)
    5. inVar = String(FileLen, 0)
    6. Get #1, , inVar
    7. Close #1
    8. Debug.Print inVar

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