中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-03 22:51
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Please be merciful. Don't delete it. Please give an example of VB operating the registry.
Printable Version  1,416 / 12
Floor1 zerostudy Posted 2006-11-03 04:54
中级用户 Posts 98 Credits 266
I want to ask here if there are examples of operating the registry... just modifying, creating, and deleting these are enough..
Floor2 不得不爱 Posted 2006-11-03 05:11
超级版主 Posts 2,044 Credits 5,310 From 四川南充
The REG DELETE command can be used to delete registry key values or subkey values.
Floor3 zerostudy Posted 2006-11-03 05:23
中级用户 Posts 98 Credits 266
But I want to make an interface.. Collect some registry optimizations.. Just drag the VB interface over. I'm also just getting started.. Not very good at using it... Add a button for each optimization item. Click the button for the item to be optimized to trigger the registry operation..........
Floor4 zerostudy Posted 2006-11-03 05:25
中级用户 Posts 98 Credits 266
I just took a look at the VBS... It's easy to write. But I don't know how to make the interface.

Restore the disabled registry\table.
set disreg=wscript.createobject("wscript.shell")
disreg.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0,"REG_DWORD"
Restore the disabled task manager
set distaskmgr=wscript.createobject("wscript.shell")
distaskmgr.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr",0,"REG_DWORD"
Floor5 electronixtar Posted 2006-11-03 06:19
铂金会员 Posts 2,672 Credits 7,493
Hey, why are there always people posting non-DOS related things in the union now?
Floor6 lxmxn Posted 2006-11-03 06:30
版主 Posts 4,938 Credits 11,386

  This section is for discussing scripting techniques. Scripts naturally include VBS, so it's okay to post here, right? =_=
Floor7 electronixtar Posted 2006-11-03 07:21
铂金会员 Posts 2,672 Credits 7,493
Didn't find that the building owner was talking about VB?
Floor8 fastslz Posted 2006-11-03 07:40
铂金会员 Posts 2,315 Credits 5,493 From 上海
VBS has a user interface
Floor9 htysm Posted 2007-02-17 09:05
高级用户 Posts 415 Credits 866
Is there also a connection between DOS and VB?
Floor10 anqing Posted 2007-02-17 10:58
高级用户 Posts 413 Credits 859
Originally posted by fastslz at 2006-11-3 07:40:
VBS has a user interface
Floor11 binghuochanmian Posted 2007-03-29 00:08
初级用户 Posts 23 Credits 55 From 广东
Oh, although the forum is called DOS Union, that's right, but this is the batch processing room, and of course VBS is included.
Floor12 zh159 Posted 2007-03-29 05:06
金牌会员 Posts 1,467 Credits 3,687
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..........

1、The user's requirement is a VB interface
2、The user's requirement is that after dragging each optimization item into the VB interface, the interface adds a corresponding item button

Is there such an interface in VBS?
Floor13 flyinspace Posted 2007-03-29 05:21
银牌会员 Posts 517 Credits 1,206
It seems that you need to add a trigger event.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023