希米日志


主页 代码 笔记 软件 闲谈 留言


67 0

    Private Sub Command1_Click() '开机启动
    Set w = CreateObject("wscript.shell")
    w.regwrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" & App.EXEName, App.Path & "\" & App.EXEName & ".exe"
    End Sub

    Private Sub Command2_Click() '取消开机启动
    Set w = CreateObject("wscript.shell")
    w.regdelete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\"
    End Sub

 2024-04-25 01:58:00

二维码



评论:

已有评论:

目 录




1