How to open the specified URL website? (Reposted)

xiaoxiao2021-03-06  37

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)

转载请注明原文地址:https://www.9cbs.com/read-65019.html

New Post(0)