programmerlam
February 26th, 2000, 05:56 PM
Is there any way to make IE/Netscape browser to be a full-screen application with "exit" and reboot key and switching to other applications disabled ???? The reason is that I would like to setup a browser only terminal PC. I am thinking doing this with Visual basic is the right direction, is it ???????
Aaron Young
February 26th, 2000, 06:34 PM
You could add a WebBrowser Control to a Borderless, Maximized Form and use the SystemParametersInfo API to Disable all the HotKeys/TaskSwitching Etc.. ie.
private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (byval uAction as Long, byval uParam as Long, byref lpvParam as Any, byval fuWinIni as Long) as Long
private Const SPI_SCREENSAVERRUNNING = 97
private Sub Form_Load()
'Disable HotKeys, inc. CTRL+ALT+DEL and ALT+TAB
Call SystemParametersInfo(SPI_SCREENSAVERRUNNING, 1, byval 0&, 0&)
WebBrowser1.Navigate ""
End Sub
private Sub Form_Resize()
WebBrowser1.Move 0, 0, ScaleWidth, ScaleHeight
End Sub
private Sub Form_Unload(Cancel as Integer)
'ReEnable HotKeys
Call SystemParametersInfo(SPI_SCREENSAVERRUNNING, 0, byval 0&, 0&)
End Sub
Aaron Young
Analyst Programmer
ajyoung@pressenter.com
aarony@redwingsoftware.com
Certified AllExperts Expert: http://www.allexperts.com/displayExpert.asp?Expert=11884