简体   繁体   English

在XP模式和Outlook中运行应用程序

[英]Running application in XP Mode and Outlook

I have a legacy Windows XP application that I am trying to support. 我有一个尝试支持的旧版Windows XP应用程序。 I have been able to set it up to run as an XP-Mode application. 我已经能够将其设置为以XP模式应用程序运行。 The problem I have is that this application is able to create emails to send invoices to customers. 我的问题是此应用程序能够创建电子邮件以将发票发送给客户。 I have MS-Outlook 2007 installed on the virtual machine and the problem is that while the email is created, if Outlook is not running then the emails will sit in Outlooks Outbox until Outlook is running on the virtual machine. 我在虚拟机上安装了MS-Outlook 2007,问题是在创建电子邮件时,如果Outlook未运行,则电子邮件将位于Outlooks发件箱中,直到在虚拟机上运行Outlook。

They way I have overcome this so far is to get the user to log in to the Virtual machine and run the application from there. 到目前为止,我克服它们的方式是让用户登录到虚拟机并从那里运行应用程序。 I have added Outlook to the users StartUp folder. 我已经将Outlook添加到用户的StartUp文件夹中。 And this work if you start the XP virtual machine but not work when running the application as an "XP Mode Application". 如果启动XP虚拟机,但以“ XP模式应用程序”运行应用程序时无法运行,则此项工作有效。 Anything in the users startup folder does not seem to get executed. 用户启动文件夹中的任何内容似乎都没有执行。

One thought was to set up outlook to run as a service on the virtual machine in the hope that it would automatically do the sending of the emails, but somehow that just feels wrong. 一种想法是将Outlook设置为在虚拟机上作为服务运行,以希望它可以自动发送电子邮件,但是在某种程度上感觉不对。

Is there anyway that I can get the emails to send 无论如何,我可以收到要发送的电子邮件吗?

Is the legacy app using COM to talk to Outlook or is it executing a mailto: handler? 旧版应用程序是使用COM与Outlook通讯还是正在执行mailto:处理程序? If the latter, you could change the handler . 如果是后者,则可以更改处理程序

If it is indeed COM, then that's another can of worms all together. 如果确实是COM,则这是另一种蠕虫病毒。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Windows服务模式下运行GUI应用程序 - Running GUI application in the Windows service mode 用户注销Windows XP后,使用Twisted的Python应用程序停止运行 - Python application using Twisted stops running after user logs off of Windows XP 在DEBUG模式下将Windows服务作为独立应用程序运行 - Running windows service as a standalone application during DEBUG mode 有没有办法调试在发布模式下编译的已经运行的应用程序? - Is there a way to debug an already running application compiled in release mode? 从在Tomcat(作为服务启动)上运行的应用程序(Java)访问Outlook2003 - Access Outlook2003 from an application (Java) running on a Tomcat (started as a service) 在控制台模式下运行Windows服务? - Running a Windows Service in Console mode? 将应用程序作为Windows服务运行 - Running application as windows service 我作为Windows服务运行的C#程序阻止Windows XP进入休眠状态 - My C# program running as Windows Service is blocking Windows XP from hibernation 启动运行 Mongo DB 1.6.3 的 Windows XP 服务时出现错误 1053 - Error 1053 When Starting Windows XP Service Running Mongo DB 1.6.3 当另一个Outlook实例正在运行时,无法添加任务 - Can't add a task when another instance of outlook is running
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM