本文介绍了vb6到vb转换异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
.MoveNext()ComException是未经处理的 不能删除或更改记录,因为表" frmfrocc"包含相关记录bla bla ..我不尝试删除仅在打印过程中进行打印时会发生此异常..
.MoveNext() ComException is Unhandeled The record cannot be deleted or changed because table ''frmfrocc'' includes related records bla bla.. am not trying to delete just printing in the middle of printing this exception occurs..
推荐答案这听起来像是您实际上在VB.Net上使用ADO.如果确实如此,我建议您自从将应用程序转换为.NET以来就适应ADO.NET.详细信息: ADO.NET概述 [ ^ ] This sounds like you''re actually using ADO with VB.Net. If this is really the case I suggest that you adapt to the ADO.NET since you''ve started to convert the application to .NET. More information: ADO.NET Overview[^]
我同意Mika.尝试一下ADO.NET.与ADO相比,到目前为止,它是新鲜空气. 看一下这个示例应用程序.我感觉没有那么多的障碍可以完成我想做的事情. ADO.NET示例应用程序 [ ^ ] 另外,我发现此资源有很大帮助. 连接字符串 [ ^ ] I agree with Mika. Give ADO.NET a try. It is by far a breath of fresh air compared to ADO. Take a look at this sample application. I feel like there is less hoops to jump through to get what I want done. ADO.NET Sample Application[^] Also, I have found this resource a big help. Connection Strings[^]
更多推荐
vb6到vb.net转换异常
发布评论