I want to ask here if there are examples of operating the registry... just modifying, creating, and deleting these are enough..
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
call SetTitle
Sub SetTitle()
Dim WSHShell
Dim MsgBox_Message_Text
Dim Title_Text
Dim Input
Title_Text = "Modify IE Homepage to Blank VBS Script"
MsgBox_Message_Text = "The applet is provided by Practical Navigation Page. The function is: " + (Chr(13) & Chr(10) & Chr(13) & Chr(10)) + "Clear the title of the IE window and can set the IE homepage. " + (Chr(13) & Chr(10) & Chr(13) & Chr(10)) + "Press to cancel execution. " + (Chr(13) & Chr(10) & Chr(13) & Chr(10)) + "Enter the URL of the homepage: Default is blank page"
Input = InputBox(MsgBox_Message_Text, Title_Text, "about:blank")
If Input <> "" Then
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.RegWrite "HKLM\Software\Microsoft\Internet Explorer\Main\Window Title", "Microsoft Internet Explorer"
WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Window Title", "Microsoft Internet Explorer"
WSHShell.RegWrite "HKLM\Software\Microsoft\Internet Explorer\Main\Start Page", Input
WSHShell.RegWrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page", Input
Else
WScript.Quit
End If
End SubOriginally posted by fastslz at 2006-11-3 07:40:
VBS has a user interface
call SetTitle
Sub SetTitle()
Dim WSHShell
Dim MsgBox_Message_Text
Dim Title_Text
Dim Input
Title_Text = "Modify IE Home Page to Blank VBS Script"
MsgBox_Message_Tex ...
Originally posted by zerostudy at 2006-11-2 16:23:
But I want to make an interface..Collect some registry optimizations..VB interface just drag it over. I just started, not very good at it... Add a button for each optimization item. Click the button to trigger the operation of the registry for that item..........