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

 

 ·菜鸟,在线等候,数据库相关    »显示摘要«
    摘要: 我在命令行下连接mssql数据库已成功,可是在jsp中无论如何总出现"http status 500 "的错误。 我的服务器配置是j2sdk-1_4_1-rc-windows-i586,ms sql server 2000 jdbc,tomcat-4.1.18, 在c:\program files\apache group\tomcat 4.1\webapps\root......
    摘要: <xsl:variable name="info" select="table/fld_stock_code[.=$stockid]"></xsl:variable> 我打算不用循环而取得变量info内的内容,我如何获得?这样好象不行啊 <xsl:value-of select="$info[0]/fld_st......


VB中读二进制文件有些问题

在VB中读二进制文件时为什么像"C7"这样的数据读出来是-14440,正常应该是199才对,请各位给与指导,多谢!!!

NO.1   作者: EverythingIsOK

建议更改如下:  
  Private   Sub   Command1_Click()  
  Open   "E:\evbtest\成都数据\000000车1月19日.dat"   For   Binary   As   #1         打开文件。  
  Dim   i   As   Long  
  dim   mychar   as   Byte  
   
  For   i   =   0   To   199  
        if   EOF(1)   then   Exit   For  
        Get   #1,   ,mychar                   读入一个字符。  
        MsgBox   mychar  
  Next   i  
   
  close   #1  
  End   Sub  
 


 ·无聊,    »显示摘要«
    摘要: 无聊,散分!! ......
» 本期热门文章:

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