Microsoft
Software
Hardware
Network
Question : Problem: VBA code using WIA doesn't find my scanner
I have a scanner installed which works fine with the GUI and MS Document Imaging etc. of Office 2003.
However, my code - taken from the sample around - will not count my scanner.
No errors, just no count. It's Access - same (no) result in A97 and A2003.
What is missing?
Dim CommonDialog1 As Object
Dim DeviceManager1 As Object
Dim i As Integer
Set DeviceManager1 = CreateObject("WIA.DeviceMa
nager")
Set CommonDialog1 = CreateObject("WIA.CommonDi
alog")
For i = 1 To DeviceManager1.DeviceInfos
.Count
MsgBox DeviceManager1.DeviceInfos
(i).Proper
ties("Name
").Value & vbCrLf & _
"(" & DeviceManager1.DeviceInfos
(i).Device
ID & ")"
Next
WiaAut.dll is even referenced correctly. I obtained it here:
http://www.microsoft.com/d
ownloads/d
etails.asp
x?
FamilyID
=a332a77a-
01b8-4de6-
91c2-b7ea3
2537e29&
Di
splayLang=
en#filelis
t
The scanner is Agfa SnapScan 1236 via SCSI, old and a bit slow but OK.
OS is WinXP SP2.
/gustav
Answer : Problem: VBA code using WIA doesn't find my scanner
There are no WIA drivers for that scanner. TWAIN only.
Random Solutions
Problem: Power Supplies / PSUs - Watts, Amps Ratings - General Info
Problem: How do I stop the Add Hardware Wizard?
Problem: Intel & AMD, CPU, All Current, Operating Temperatures
Problem: Gigabit Ethernet - Dropping Packets - How to Minimize?
Problem: Play iTunes songs outside of iTunes?
Problem: CISCO 1601R x.25 debugging
Problem: Full backup or Ghost Image of Call manager 6 ?
Problem: Lenovo dual monitor problem
Problem: are all sata hard drives compatible?
Problem: XP doesn't recognize Umax Astra 1220s