vb6到vb.net转换异常

编程入门 行业动态 更新时间:2024-10-27 22:21:12
本文介绍了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转换异常

本文发布于:2023-05-29 15:08:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/347289.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:异常   vb   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!