vb.net端口程序设置异常 [英] vb.net port program sehe exception

查看:93
本文介绍了vb.net端口程序设置异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用vb.net点亮连接到系统并行端口的LED并尝试读取或写入端口时,它显示错误消息外部组件抛出异常".我已经正确安装了DLL文件.

When i tried to light up leds connected to the parallel port of the system using vb.net and while trying to read or write to the port it displays the error message " an external componet has thrown an exception". I had properly installed the DLL file .

推荐答案

好,第一步已经完成.现在读取Exception.InnerException.虽然没有足够的信息.不看代码片段就很难说什么.异常转储应该已满,并且在发布时在源代码中注释了行号.

您如何看待,如果有人给您这些信息并要求找到解决方案,您会怎么做?

—SA
OK, first step is done. Now read Exception.InnerException. Not enough information though. Hard to say anything without looking at some fragments of your code. Exception dumps should be full, with line numbers commented in source code when you post it.

How do you think, if someone gave you this little information and asked to find a solution, what would you do?

—SA


这篇关于vb.net端口程序设置异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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