以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  热键呼出请教  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=79400)

--  作者:ljh29206
--  发布时间:2015/12/30 15:24:00
--  热键呼出请教
Sendkeys.Send("{F7}")

我有个程序 设置了F7 快捷启动。

但以上代码 呼不出程序,手动按键没问题。

 是不是写错了 请教下。

--  作者:大红袍
--  发布时间:2015/12/30 16:05:00
--  

你怎么设置的快捷键?试试

 

basemainform.windowstate = 1
Sendkeys.Send("{F7}")