Improve company productivity with a Business Account.Sign Up

x
?
Solved

eztwain driver crashes msaccess when trying to access scanner in vba

Posted on 2012-12-25
11
Medium Priority
?
923 Views
Last Modified: 2013-01-14
savin 4018 network twain driver.

I'm trying to scan in vba using eztwain.

with eztwerp (eztwain.dll) it opens and scans fine, but when i try to access the scanner using the dll in vba it crashes.
0
Comment
Question by:eg252
  • 5
  • 5
11 Comments
 
LVL 53

Expert Comment

by:Gustav Brock
ID: 38722217
You may need an ActiveX control for this.
Some are free, but I have used the cheap csXImage control:

http://www.chestysoft.com/ximage/default.asp

A link to an Access demo is located somewhere down that page. It will get you going.

When I worked with it some years ago, I learned that Twain drivers are animals of their own and - because of this - the support from Simon (the developer who knows just about everything about scanners) is a very big help.

/gustav
0
 
LVL 1

Author Comment

by:eg252
ID: 38722511
i actually bought the csXImage control - and it  crashes the same. everything works until you try to scan. you can select the twain source, you can check if its connected, but when you try to acquire image it crashes up...  
When I use the ezTwerp program that comes with the eztwain.dll it works fine - perfect, but when i try to scan using the ocx or the dll it crashes..
I worked on this for hours and hours, was hoping there was someone out there that would know what im missing..
0
 
LVL 53

Expert Comment

by:Gustav Brock
ID: 38723015
Very well.
Then, I guess, it is an issue with the scanner driver itself.
Did you address Simon about this particular scanner? In general, drivers from manufacturers are of "uneven" quality and manufacturers' support know next to nothing about implementation of their hardware.

/gustav
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
LVL 9

Expert Comment

by:macarrillo1
ID: 38738853
You might also want to try running Windows update to see if the newer dlls for Windows and office work better with this driver.
0
 
LVL 1

Author Comment

by:eg252
ID: 38743911
no. there is a program eztwerp which is 40k and it works fine. i know that the dll should worrrk. every time i access it in access it crashed. there must be something im missing.. i need this to work.
0
 
LVL 53

Expert Comment

by:Gustav Brock
ID: 38744016
But what are the comments from the manufacturer about their appearently buggy driver?
Perhaps it will only run under an old Windows version?

/gustav
0
 
LVL 1

Author Comment

by:eg252
ID: 38744230
i just tried twainCom demo version and it also worked. Im not sure what the limitation is. If i bought the chestysoft already - i would want it to work as well.. im not sure when this demo will expire.. it must be something simple that im missing..
0
 
LVL 53

Expert Comment

by:Gustav Brock
ID: 38744371
I would ask Simon about this.

/gustav
0
 
LVL 1

Accepted Solution

by:
eg252 earned 0 total points
ID: 38760369
simon was not able to help. in the end i went with TwainCom that works good
0
 
LVL 53

Expert Comment

by:Gustav Brock
ID: 38760797
If you refer to TwainCommander:

http://www.jse.de/products.html#twaincommander2

the reason why it does not cause a crash, may be that it as a command line tool runs in another process not controlled by Access.

Anyway, thanks for the feedback.

/gustav
0
 
LVL 1

Author Closing Comment

by:eg252
ID: 38773827
no one was able to help me.. i found a different solution - not the one i was looking for.. but it works.
0

Featured Post

Improved Protection from Phishing Attacks

WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have had my own IT business for a very long time. I started mostly with hardware and after about a year started to notice a common theme. I had shelves with software boxes -- Peachtree, Quicken, Sage, Ouickbooks -- and yet most of my clients were…
Moore’s law state that computing power will double their speed every 18 months or so. While many have predicted the law to end in the 1980’s, it has been going strong even today - but for how long? Moore's Law suggests exponential growth, and it is …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

584 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question