谁能将:http://expert.csdn.net/Expert/topic/1794/1794538.xml?temp=.834347当中的Buffer2.GatewayList.IpAddress用text文本控件显示出来,我愿意用20分,交换。

解决方案 »

  1.   

    dim tmpIpAddress as string
    tmpIpAddress=Buffer.IpAddress
    if trim(tmpIpAddress)=trim(text1.text) then
    ..
    ..
    ..
      

  2.   

    Cooly(☆开心就好 ^o^ ☆) 朋友你好!
    我不知道为什么text1.text=trim(tmpIpAddress) VB还是会出现严重错误,整个程序都不能运行了,你能帮帮我吗,谢谢!
      

  3.   

    我添加:http://expert.csdn.net/Expert/topic/1794/1794538.xml?temp=.834347
    网页的例子,运行text1.text=trim(Buffer2.GatewayList.IpAddress)时就会出现严重错误
    整个vb他都给关了
      

  4.   

    试试看
    text1.text=trim(replace(Buffer2.GatewayList.IpAddress,vbnullchar,""))
      

  5.   

    用print就没有问题,而且好像出错的时候是要显示本机ip. 不知道什么原因. @_@
      

  6.   

    你试试装一下VB的Service Pack.
      

  7.   

    W2k+VB SP4 一切正常 (无限的测试结果)