当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·在vbscript中取余用什么函数    »显示摘要«
    摘要: 在vbscript中取余用什么函数 怎么用的,能否举一个列子 ......
    摘要: how should i use the dispose method of web server control? in page_load event, i remove button1 from page.controls, then call this buttons dispose. in run time, when i set the buttons backcolor, t......


字符串转成byte的问题

如何将一串   字符串   转成byte类型的  
  还有将转   byte类型的再转回来!!

NO.1   作者: jlum99

dim   kkk()   as   byte  
  length   =   lenb(strsrc)   +   1  
  得到长度后length  
  redim   kkk(length)  
  copymemory   kkk(0)   ,   strsrc   ,   length

NO.2   作者: Garfield

bytHello   =   StrConv(strHello,   vbFromUnicode)         转过去  
  Msgbox   StrConv(bytHello,   vbUnicode)                         转回来  
   
  就是这样转来转去  
 


    摘要: 有没有什么插件啊? ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE