VB6错误处理.发送错误电子邮件 [英] VB6 Error handling. Send error email

查看:113
本文介绍了VB6错误处理.发送错误电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在支持用VB6编写的旧系统.该系统当前正在用.Net重写,但是在这种情况下,我必须支持VB6系统.当前,错误消息仅显示在消息框中.问题在于用户没有报告错误,因此我希望能够通过电子邮件将错误消息发送给我.可以在VB6中完成吗?

感谢

Hi all,

I''m supporting an old system written in VB6. The system is currently being re-written in .Net but while that is happening I have to support the VB6 system. Currently the error message is just showed in a message box. The problem is that the users are not reporting the error so I would like to be able to send the error message to me in an email. Can this be done in VB6 ?

Thanks

推荐答案

是的,您可以使用
Yes, you can send emails using CDO[^]. Note that Outlook must be installed for CDO to work.


使用ShellExecute API [ ^ ]
Use the ShellExecute API [^]


这篇关于VB6错误处理.发送错误电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆