pb的api问题!

我做了一个菜单,其中有个内容是访问公司的主页
我是这样做的:

选择菜单Declare->Global External Functions 然后输入:

FUNCTION ulong ShellExecute(ulong hwnd,ref string lpOperation,ref string lpFile,ref string lpParameters,ref string lpDirectory,ulong nShowCmd) LIBRARY "shell32.dll" ALIAS FOR "ShellExecuteA"

在对应的菜单的click()事件中这么写
string lpOperation,lpFile,lpParameters,lpDirectory
setnull(lpOperation)
setnull(lpParameters)
setnull(lpDirectory)
lpFile="http://www.sina.com.cn" //要连接的地址
ShellExecute(handle(this),lpOperation,lpFile,lpParameters,lpDirectory,0)

请问有人知道为什么在win98下能实现功能, 在win2000下就没有任何的反应了?
[648 byte] By [pobosskey-有房有车-租的房+自行车] at [2008-4-9]
# 1
直接这样写:
inet iinet_base
GetContextService("Internet", iinet_base)
iinet_base.HyperlinkToURL(sle_url.text)

不用API的。

liulee-流方 at 2007-10-24 > top of Msdn China Tech,PowerBuilder,API调用...
# 2
估计是ShellExecute在2000下的和98下不一样,在看新版MSDN有没有帮助!