怎样将一个string类型的值赋给一个byte类型的数组阿? 小女子真诚请教,刚学vb不久,多谢各位! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 对了,我是从数据库中取出了一串字符,想把它们存到一个byte的数组里面,prt_type(0 to 40) as byte,怎样操作啊。 dim strtest as stringdim test() as bytetest = strconv (strtest,vbfromunicode) dim a as stringdim b() as bytedim i as integer,j as integeri=len(a)redim b(i) for j=0 to i b(j)=mid(a,j,1) next j试一下吧,很旧没玩vb了,手疏 程序打包 excel 导入SQL SERVER的问题 ActiveX OCX 跨进程调用的问题 如何消除闪烁? 请问 正版的瑞星 杀毒软件 2005的 2006年还可以用吗?有什么限制没有? 高分求TREEVIEW范例程序 用md5文件对密码加密问题?急!1 (很简单的问题) 如何用vbscript获取浏览器页面关闭事件 用编程的方法(用ADO)实现压缩,备份,恢复sqlserver数据库? 各位大哥,我想用DATAGRID绑定ADODC来实现查询,但遇到了问题,怎办? 有关vb6.0 DBGrid
prt_type(0 to 40) as byte,怎样操作啊。
dim test() as byte
test = strconv (strtest,vbfromunicode)
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了,手疏