선언 영역에 다음과 같이 선언합니다. (.bas 파일에서는 Public, Form에서는 PRivate 사용)
PrivateDeclareFunctionShellExecuteLib"shell32.dll"별칭"ShellExecuteA"(ByValhWndAsLong,ByVallpOperationAsString,ByVallpFileAsString,ByVallpParametersAsString,ByVallpDirectoryAsString,ByValnShowCmdAsLong)AsLong
프로그램에서
인트라넷:
ShellExecuteMe.hWnd,"open","http://인트라넷 호스트/디렉토리","","",5
인터넷:
ShellExecuteMe.hWnd,"open","http://www.ruentex.com.tw","","",5
매우 간단합니다!!! 귀하의 컴퓨터가 인터넷에 연결되지 않더라도 인트라넷 기능을 바로 경험할 수 있습니다.->