GDI+ 中发生一般性错误问题 gdi+图片 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在 Image img = m_srcImgList[strKey]; file = new FileStream(strPath, FileMode.Create, FileAccess.Write); img.Save(file, img.RawFormat);这几行上断点调试下 应该在 img.Save(file, img.RawFormat);出现通常是保存的格式不对 file = new FileStream(strPath, FileMode.Create, FileAccess.Write);img.Save(file, img.RawFormat);设置断点调试运行,肯定是某个文件没有正确的create在保存的时候报这种异常。 这个错误可能是在C盘上无法建立目录引起的(win7等无权限建立),你把C盘修改为其它盘,或程序当前目录试一下, strPath = @"C:\" + strPath; 算法求解,控制台 C#如何解释字符串表达式? Bitmap 装换 byte[] 如何在进程列表中找到一个程序并置顶 怎么在一个form里刷新另一个form里的datagrid? 一个关于任务分配的功能 请教有关C# DataSet DataTable DataGrad SqlCommand SqlDataAdapter 的区别 .Net之死 两个.NET问题(服务/WEB) 请问在c#中如何做多列列表框 调用控件的方法,什么时候需要要依赖于Invoke/BeginInvoke这样的方式? 请帮我看看这个Exception说了些什么,谢谢!
Image img = m_srcImgList[strKey];
file = new FileStream(strPath, FileMode.Create, FileAccess.Write);
img.Save(file, img.RawFormat);
这几行上断点调试下
img.Save(file, img.RawFormat);
设置断点调试运行,肯定是某个文件没有正确的create在保存的时候报这种异常。