Home > Software engineering >  How to hide call system control panel component CPL file
How to hide call system control panel component CPL file

Time:10-07

My demand is that the call IE INTERNET options, modify the IE home page
For a few days and then baidu
Found the method to realize with VBS
Is called inetcpl. CPL this file
Then use the keyboard input method in exit after the modification of the home page to save
But do you want to be hidden call inetcpl. CPL, don't show all the way, search methods are not
Come to help you, thank you!

 
Dim WshShell
The Set WshShell=WScript. CreateObject (" WScript. Shell ")
The Set wsh3=CreateObject (" WScript. Shell ")
Wsh3. Run "rundll32. Exe shell32. DLL, Control_RunDLL inetcpl. CPL, and 0"
WScript. Sleep 200
WshShell. AppActivate "conventional"
WshShell. SendKeys "http://163.com"
WScript. Sleep 200
WshShell. SendKeys "% b"
WScript. Sleep 200
WshShell. SendKeys "% {F4}
"

CodePudding user response:

Write the registry directly!

CodePudding user response:

reference 1st floor Chen8013 response:
write directly to the registry!

Eldest brother, registry changes directly home page, the who all know, the problem is IE11 after updating the patch, will not be able to use this method, so I'm here to ask

CodePudding user response:

Analog keyboard or mouse, can only be effective for active window at the front desk,
You have to be "hidden" window (daemon) operation,
Only through a handle and a message, in order to have a role,

CodePudding user response:

reference Chen8013 reply: 3/f
analog keyboard or mouse, can only be effective for active window at the front desk,
You have to be "hidden" window (daemon) operation,
Only through a handle and a message, in order to have a role,

Can you give the code, thank you!

CodePudding user response:

This, you must be in the actual environment debugging,
To give you the correct code, (want to use Spy++)
But I can't do now, because my android mobile phone...
Company's computer, all is to use Internet explorer,
When the new batch of computers, online from all IE11 uninstall IE8:
  • Related