小女子真诚请教,刚学vb不久,多谢各位!

解决方案 »

  1.   

    对了,我是从数据库中取出了一串字符,想把它们存到一个byte的数组里面,
    prt_type(0 to 40) as byte,怎样操作啊。
      

  2.   

    dim strtest as string
    dim  test() as byte
    test = strconv (strtest,vbfromunicode)
      

  3.   

    dim a as string
    dim b() as byte
    dim i as integer,j as integer
    i=len(a)
    redim b(i)
     for j=0 to i
      b(j)=mid(a,j,1)  
     next j
    试一下吧,很旧没玩vb了,手疏