2008年9月25日vc读写注册表:应用 WSH 读写注册表和建立快捷方式
关于WSH在VB中的用法 这里,我们只讨论读写注册表和建立快捷方式。 首先在工程的References中选中Windows Scripting Host Object Model,再来看一下下面的代码。 Dim WSH_shell, urlLink, deskPath Set WSH_shell = New IWshShell_Class WSH_shell.RegWrite \"HKLM\\Software\\ArchTide\\\", \"first\" ´以上两句新建了一个IWshShell_Class实例,然后在HKEY_LOCA...
[阅读全文] [PDF]
1 共1条 分1页