none
About Vb.net filestream problem RRS feed

  • 问题

  • I'm studying Vb.net and meet with a problem about "Filestream"

    I have a textfile  content as follow:

    "a",1001
    "b",1002
    "c",1003
    "d",1004
    "e",1005
    "f",1006
    ......

     

    I would like each line the date before ","  assigned to the array m1 (),  each line the date after ","  assigned to the array m2 () ,That is, ultimately:

    m1(1)=a
    m1(2)=b
    m1(3)=c
    m1(4)=d
    m1(5)=e
    ......
    m2(1)=1001
    m2(2)=1002
    m2(3)=1003
    m2(4)=1004
    m2(5)=1005
    ......

     

    Well to achieve this in vb,but  “open” is not supported in vb.net , then how can I achieve the above statement in vb.net?

     

     

     

    2011年7月13日 2:19

答案