以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  [求助] 可执行文件重复打开  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=158304)

--  作者:sanny
--  发布时间:2020/11/15 12:19:00
--  [求助] 可执行文件重复打开
老师,以下是自动发邮件后,点击邮件上的超连接后就可打开PriceTool.exe。但是当打开前这个PriceTool.exe已经打开了,再点击后又是重复打开了。可不可以如果已经打开发PriceTool.exe,再点击就直接调用已经打开的PriceTool.exe来开启呢 ? 谢谢。



Dim o As New Microsoft.Office.Interop.Outlook.Application
Dim msg As Microsoft.Office.Interop.Outlook.MailItem
msg = o.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olMailItem)
msg.Recipients.Add("lu@96123761.com")  
msg.Subject = "提醒: 有新的单价,请审核!!!"  
Dim body As String = "<html><body>内容</body></html>"
Dim content As String = "<a href=\'Z:\\\\PriceConfirm\\\\PriceTool.exe\'>价格确认</a>"

msg.HTMLBody = body.Replace("内容", "这儿可点击进入: "& content)
msg.Send()
End If


--  作者:有点蓝
--  发布时间:2020/11/15 20:42:00
--  
没有办法控制