How to open the specified URL website?
Problem Description:
How to open the specified URL website?
solution:
1, declare external functions:
Function Ulong Shellexecute (Ulong Hwnd, String LPOPERATION, STRING LPFILE, STRING LPPARETERS, STRING LPDIRECTORY, ULONG NSHOWCMD) Library "shell32.dll" alias for "shellexecutea"
2, the code is as follows:
Long Ll_Handle
String ls_null
Setnull (ls_null)
Shellexecute (LL_Handle, Ls_null, ("http://community.9cbs.net"), LS_NULL, LS_NULL, 1)