可以試試Internet Explorer的kiosk模式與-k開關
然而PowerPoint將仍然是開放的,退出你需要使用Alt-F4 kiosk模式
此代碼也應該把IE的前景
Public Declare PtrSafe Function FindWindow% Lib "user32" Alias "FindWindowA" _
(ByVal lpclassname As Any, _
ByVal lpCaption As Any)
Public Declare PtrSafe Function SetWindowPos Lib "user32" (ByVal hwnd As Long, _
ByVal hWndInsertAfter As Long, _
ByVal X As Long, _
ByVal y As Long, _
ByVal cx As Long, _
ByVal cy As Long, _
ByVal wFlags As Long) As Long
Global Const HWND_TOPMOST = -1
Global Const SWP_NOSIZE = &H1
Global Const SWP_NOMOVE = &H2
Sub hyperlink()
sCmd = """C:\Program Files\Internet Explorer\iexplore.exe"" -k " _
& "http://www.google.com/"
Shell sCmd
hwnd% = FindWindow%("Internet Explorer", 0&)
Call SetWindowPos(hwnd%, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or _
SWP_NOSIZE)
End Sub
測試在Win 10的x64和PowerPoint 2013 & IE11