Internet Options
-
Does anybody know a way of accessing the internet options through a vb command where I can set certain parameters to display certain things from explorer.???(ie: not display some type of content) I know in C, there is the "BOOL InternetSetOption()" function that you can do this with but i really need to know how to do this in vb. Any help or hints to do this would help me out a great deal. Thanks very much! What we do in life echos in eternity!
-
Does anybody know a way of accessing the internet options through a vb command where I can set certain parameters to display certain things from explorer.???(ie: not display some type of content) I know in C, there is the "BOOL InternetSetOption()" function that you can do this with but i really need to know how to do this in vb. Any help or hints to do this would help me out a great deal. Thanks very much! What we do in life echos in eternity!
Use API Calls Here is an example
Const INTERNET_OPTION_END_BROWSER_SESSION = 42
Private Declare Function InternetSetOption Lib "wininet.dll" Alias
"InternetSetOptionA" _
(ByVal hInternet As Long, ByVal lOption As Long, ByRef sBuffer As
Any, ByVal lBufferLength As Long) As IntegerPublic Function flushCredentials() As Integer
Dim h As Integer
h = InternetSetOption(0, INTERNET_OPTION_END_BROWSER_SESSION,
0, 0)
flushCredentials = h
End FunctionIt is Illogical to define an inventor by his invention