B4J Question Map file readaing with V.Basic(VSStudio)

Discussion in 'B4J Questions' started by Tayfur, Aug 19, 2019.

  1. Tayfur

    Tayfur Well-Known Member Licensed User

    Hello;

    I created settings with map type. and its recorded txt file.
    But i need to use same file with VBasic. How con i read this file in VBasic. (without convert/use on B4J)
    Beacuse, file is not readable.
     

    Attached Files:

  2. MarkusR

    MarkusR Well-Known Member Licensed User

    looks binary. map type?
    this create text, at least in this simple example.
    Code:
    Dim m As Map
        m.Initialize
        m.Put(
    "Hello",123)
        
    File.WriteMap(File.DirApp,"Data.map", m)

        
    Dim g As JSONGenerator
        g.Initialize(m)
        
    File.WriteString(File.DirApp,"data.txt",g.ToPrettyString(1))
     
  3. Enrique Gonzalez R

    Enrique Gonzalez R Well-Known Member Licensed User

  4. Tayfur

    Tayfur Well-Known Member Licensed User

    thank you for musch for reply;
    But; I dont change B4J code. I can solve with B4J.
    So, I want read (recoerded map file on B4J) with .Net (I dont know record format B4J)
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Use JSON for this. I'm sure that you will find a json parser for VB or VB .Net.
     
  6. Tayfur

    Tayfur Well-Known Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice