有自动回答MsgBox的vb.net程序 [英] vb.net program having MsgBox answered automatically

查看:71
本文介绍了有自动回答MsgBox的vb.net程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很奇怪,但它可能是VS2010中的一个设置...我正在调试我的VB.net程序,当我收到一个严重错误,因为缺少一个Zip文件,而不是MsgBox显示并允许我确认通过单击OK按钮,OK按钮会自动点击!!!



This is weird, but it may be a setting in VS2010 ... I am debugging my VB.net program and when I get a critical error because a Zip file is missing, instead of the MsgBox displaying and allowing me to acknowledge the fact by clicking the OK Button, the OK button is automatically "clicked" !!!

If File.Exists(myRARfile) Then
            ZipTest()
        Else
            myErrorMsg = "ERROR - There Is No RAR File - Aborting ..."
            MsgBox(myErrorMsg, vbCritical)
            MSWord.Quit()
            Exit Sub
        End If





在屏幕右侧有一个IntelliTrace Wi ndow和它说:



用户提示:显示...消息框文本......



用户提示:单击确定用户单击消息框中的确定按钮



但我没有!!!!



On the right of the screen there is an IntelliTrace Window and it says :

User Prompt: Displayed ... Message Box text ...

User Prompt: Clicked "OK" The user clicked the "OK" button in the MessageBox

BUT I DIDN'T !!!!

推荐答案

我从未收到回复后删除了此处理...
I deleted this processing after never getting a response ...


这篇关于有自动回答MsgBox的vb.net程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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