如何删除注册子项的值范围

时间:2015-08-17 18:46:34

标签: vb.net registry

我正在尝试删除键入链接的IE历史记录。我发现这个VB6代码,但我想在VB.Net中。有什么帮助吗?

Public Sub SendSync(ByVal bytData_ As Byte())
    Try
        TestLogger.Log("Sending")
        If Not blnConnected Then TestLogger.Log("Not connected") : Return
        objSocket.Send(bytData_, SocketFlags.None)
        TestLogger.Log("Sending done")
    Catch ex As Exception
        TestLogger.Log("Send Error")
        Disconnect()
    End Try
End Sub

1 个答案:

答案 0 :(得分:1)

在.NET中

更容易......

  npm ERR! tar.unpack untar error /Users/test/.npm/webpack/1.11.0/package.tgz
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "webpack"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! path /usr/local/lib/node_modules/webpack
npm ERR! code EACCES
npm ERR! errno -13

npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/webpack'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES, mkdir '/usr/local/lib/node_modules/webpack']
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/usr/local/lib/node_modules/webpack',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path: '/usr/local/lib/node_modules/webpack',
npm ERR!   fstream_class: 'DirWriter',
npm ERR!   fstream_stack: 
npm ERR!    [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:35:25',
npm ERR!      '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:47:53',
npm ERR!      'FSReqWrap.oncomplete (fs.js:95:15)' ] }
npm ERR! 
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/test/WebstormProjects/babel-test/npm-debug.log