研发埠

标题: 如何利用API函数建立简单的超级连接? [打印本页]

作者: 孙晓磊    时间: 2013-7-2 13:07
标题: 如何利用API函数建立简单的超级连接?

作者: 淡写轻描    时间: 2013-7-2 13:12
*API函数声明Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecute A" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd A s Long) As Long注释:打开某个网址ShellExecute 0, "open", "http://tyvb.126.com", vbNullString, vbNullString, 3注释:给某个信箱发电子邮件ShellExecute hwnd, "open", "mailto:sst95@21cn.com", vbNullString, vbNullString, 0




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2