在Visual Studio 2008中使用vb.net在GDI +中发生了一般错误 [英] A generic error occurred in GDI+ using vb.net in Visual Studio 2008

查看:100
本文介绍了在Visual Studio 2008中使用vb.net在GDI +中发生了一般错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2008中使用VB.Net

有时不是每次都有,我按下关闭按钮想要退出应用程序错误accurre GDI +中发生了一般性错误

我的源代码在这里



I am using VB.Net in visual studio 2008
some times not every time, i press close button want to exit application an error accurre A generic error occurred in GDI+
My Source code here

Private Sub mnuClose_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuClose.Click
       Dim msg As Integer
       msg = (MessageBox.Show("Are You Sure, want to Exit...?", "Close...?", MessageBoxButtons.YesNo, MessageBoxIcon.Question))

     If msg = 6 Then

           End

       End If
   End Sub

推荐答案

听起来你正在使用图像。可能你没有完成将数据写入图像。



看到类似的问题:

GDI +中发生了一般性错误 [ ^ ]

GDI +中发生了一般性错误 [ ^ ]

GDI +中发生了一般错误 [ ^ ]
Sounds like you're working with images. Probably, you did not finish writing data into image.

See similar questions:
A generic error occurred in GDI+[^]
A generic error occurred in GDI+[^]
A generic error occurred in GDI+[^]


这篇关于在Visual Studio 2008中使用vb.net在GDI +中发生了一般错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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