开发者

Visual Basic File debugs properly, but will not run in Windows

I have a very basic Visual Basic Pro开发者_JAVA百科gram that I created in Visual Studio 2010. It's a form application where clicking a button runs a simple calculation and then outputs the answer with MsgBox. When, I debug it works properly, however when I successfully build and run the exe, nothing happens. What could be going on here?


Are you doing anything like this?

Debug.Print(MsgBox("Your answer is 7.  Try again?", vbYesNo))

In other words, are you making use of a library that is only available to a debugging session (in this case, System.Diagnostics).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜