Hello & Thanks ;
Win 10 , VS vb.net .vb
I am trying to to Modify
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing
value :ShortcutBehavior
from 2 to 1 .
Which will disable "Open Tab in New window" .
I am writing a KidSafeBrowser and I want to restrict opening a 'New Tab' .
Without Disabling this a new instance of IE 11 is opened , and kiddos can go anywhere .
Program checks every download page URL against a list of Safe-Sites .
Working with the Registry is new to me , so I am a bit 'gun shy' .
And I want to get it right the 1st time .
Anyways , here is my code below .
I think I am close but I need help to properly code this .
Thanks for your Help...
Win 10 , VS vb.net .vb
I am trying to to Modify
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TabbedBrowsing
value :ShortcutBehavior
from 2 to 1 .
Which will disable "Open Tab in New window" .
I am writing a KidSafeBrowser and I want to restrict opening a 'New Tab' .
Without Disabling this a new instance of IE 11 is opened , and kiddos can go anywhere .
Program checks every download page URL against a list of Safe-Sites .
Working with the Registry is new to me , so I am a bit 'gun shy' .
And I want to get it right the 1st time .
Anyways , here is my code below .
I think I am close but I need help to properly code this .
Thanks for your Help...
VB.NET:
Dim rKey As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Internet Explorer\TabbedBrowsing\ShortcutBehavior", True)
Key.SetValue("ShortcutBehavior", 1, RegistryValueKind.DWord)
key.Close()