如何打开指定URL网站?
问题描述:
如何打开指定URL网站?
解决方案:
1、声明外部函数:
FUNCTION ulong ShellExecute(ulong hwnd,string lpOperation,string lpFile,string lpParameters,string lpDirectory,ulong nShowCmd) LIBRARY "shell32.dll" ALIAS FOR "ShellExecuteA"
2、代码如下:
long ll_handle
string ls_null
setnull(ls_null)
shellexecute(ll_handle,ls_null,("http://community.youkuaiyun.com"),ls_null,ls_null,1)
博客围绕如何打开指定URL网站展开,给出解决方案。先声明外部函数,引用shell32.dll库中的ShellExecuteA函数,接着给出代码示例,通过设置变量并调用shellexecute函数来打开指定的URL网站。
1440

被折叠的 条评论
为什么被折叠?



