老师,以下是自动发邮件后,点击邮件上的超连接后就可打开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