VB怎么样完成桌面右下角自动弹出窗口该窗口链接到网络页面

怎么样完成桌面右下角自动弹出窗口该窗口链接到网络页面... 怎么样完成桌面右下角自动弹出窗口该窗口链接到网络页面 展开
 我来答
苌作宓静槐
2019-05-21 · TA获得超过3703个赞
知道大有可为答主
回答量:3094
采纳率:24%
帮助的人:161万
展开全部
用webbrowse做个类似IE的网络浏览器。然后修改系统设置,在系统运行的时候就启动该程序。
或者你直接通过程序修改注册表达到这样的效果。修改注册表的关键代码:
Public
Const
HKEY_CLASSES_ROOT
=
&H80000000
Public
Const
HKEY_CURRENT_USER
=
&H80000001
Public
Const
HKEY_LOCAL_MACHINE
=
&H80000002
Public
Const
HKEY_USERS
=
&H80000003
Public
Const
HKEY_PERFORMANCE_DATA
=
&H80000004
Public
Const
HKEY_CURRENT_CONFIG
=
&H80000005
Public
Const
HKEY_DYN_DATA
=
&H80000006
Public
Const
REG_NONE
=
0
Public
Const
REG_SZ
=
1
Public
Const
REG_EXPAND_SZ
=
2
Public
Const
REG_BINARY
=
3
Public
Const
REG_DWORD
=
4
Public
Const
REG_DWORD_BIG_ENDIAN
=
5
Public
Const
REG_MULTI_SZ
=
7
Declare
Function
RegOpenKey
Lib
"advapi32.dll"
Alias
"RegOpenKeyA"
(ByVal
hKey
As
Long,
ByVal
lpSubKey
As
String,
phkResult
As
Long)
As
Long
Declare
Function
RegCreateKey
Lib
"advapi32.dll"
Alias
"RegCreateKeyA"
(ByVal
hKey
As
Long,
ByVal
lpSubKey
As
String,
phkResult
As
Long)
As
Long
Declare
Function
RegCloseKey
Lib
"advapi32.dll"
(ByVal
hKey
As
Long)
As
Long
Declare
Function
RegSetValue
Lib
"advapi32.dll"
Alias
"RegSetValueA"
(ByVal
hKey
As
Long,
ByVal
lpSubKey
As
String,
ByVal
dwType
As
Long,
ByVal
lpData
As
String,
ByVal
cbData
As
Long)
As
Long
Declare
Function
RegSetValueEx
Lib
"advapi32.dll"
Alias
"RegSetValueExA"
(ByVal
hKey
As
Long,
ByVal
lpValueName
As
String,
ByVal
Reserved
As
Long,
ByVal
dwType
As
Long,
lpData
As
Any,
ByVal
cbData
As
Long)
As
Long
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式