奇怪的问题(C#,ORacle) [英] Strange Issue (C#, ORacle)

查看:100
本文介绍了奇怪的问题(C#,ORacle)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用C#为扫描仪构建了一个应用程序,它运行得很好并且所有功能都运行良好,然后我在oracle中有其他应用程序,因此如果运行了C#应用程序,则可以在oracle中创建按钮来运行我的C#应用​​程序.来自我的oracle App的C#APP运行正常,并且winfrom打开正常,但是一旦我要扫描,它表明未检测到扫描仪.
怎么了 ?由于C#运行,因此所有功能都必须正常运行,而不取决于它从何处启动..是否必须将任何代码添加到我的main()中? 或我的甲骨文的任何权限?

请帮助...

I have built an application using C# for a scanner , it is running very well and all features working fine, then I have other application in oracle , so I make in button in oracle to run my C# app, if I run the C# APP from my oracle App it runs normal and the winfrom opens normal , but once I want to scan it shows that the scanner not detected.
what is wrong ? since the C# runs so all features must run normal not depending from where it is been launched .. is there any code I have to add to my main() ??
or any permissions to my oracle ??

Please Help...

推荐答案


Active X控件称为IMGSCAN.OCX.
在您的表单中创建一个OLE对象,并将控件分配给它.
试试这个..


如果您仍然遇到问题,请在出现错误时将代码n突出显示
Hi,
The Active X control is called IMGSCAN.OCX.
In your form create an OLE object and assign the control to it.
Try this..


If u still get problem, post your code n highlight it whr u got errors


这篇关于奇怪的问题(C#,ORacle)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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