Click here to Skip to main content
15,893,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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...
Posted

1 solution

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
 
Share this answer
 
Comments
Tamer Hatoum 14-Jan-12 1:50am    
so that means all the controls and dlls that is related to my scanner application must create OLE objects for them ???
swapnilKumbhar 15-Jan-12 0:33am    
this doc mey help u
http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch12scanner.htm
Tamer Hatoum 15-Jan-12 3:47am    
I am not scanning using the oracle : I have already the C# software which scan the image and save the path in text file only, just the oracle app have a button to start my C# application that's all.but when my application starts from oracle it doesnot function well , but if I start it alone it do all functions perfect

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900