Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]IsNot Nothing 为何不好使呢?

1楼
t_fs 发表于:2008/9/26 18:40:00
Dim Proc As New Process
Proc.File =Tables("厂家").Current("邮箱")
If Proc.File>"" Then
Proc.File ="mailto: " & Tables("厂家").Current("邮箱")
Proc.Start()
End If

    上述代码为发邮件的按扭,可以正常执行的。但是如果将 

    If Proc.File>"" Then      换成         If Proc.File IsNot Nothing Then  后,为何就不好使了,不能正确判断了呢?

  谁能解释一下吗?

2楼
czy 发表于:2008/9/26 19:14:00
is和isnot是针对对象的,字符只能用大于、等于了
[此贴子已经被作者于2008-9-26 19:13:46编辑过]
3楼
t_fs 发表于:2008/9/26 19:52:00
明白了!谢谢!
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02148 s, 2 queries.