L
llively2
We have this shell working in XP and Win98 but it will not work in 2000
Pro. When the button with the command is pressed in 2000 it comes up
with the error "File not found".
What are we missing to get it to work in 2000?
We are trying to call up a program Infanview.exe for entering images
into a file for Access.
Below is more desciption:
When you click the scan button, the program shells out to an IrfanView
command line. Irfanview will connect with the default scanner. You have
to install IrfanView and the scanner first (see below.) Here's the
line of code:
Call Shell(IrfanViewSpec & " /scanhidden /convert=" & TempSpec,
vbNormalFocus)
where IrfanViewSpec is the location of the IrfanView Pprogram, a global
variable loaded from the Util Table on startup (Currently set to the
installation default: C:\Program Files\IrfanView\i_view32.exe), and
TempSpec is the name of a temporary file to hold the scanned image
before rotating and converting to jpg, which is also done with
IrfanView. The scanning subroutine is attached to this message.
Thanks agian in advance,
Lynn
Pro. When the button with the command is pressed in 2000 it comes up
with the error "File not found".
What are we missing to get it to work in 2000?
We are trying to call up a program Infanview.exe for entering images
into a file for Access.
Below is more desciption:
When you click the scan button, the program shells out to an IrfanView
command line. Irfanview will connect with the default scanner. You have
to install IrfanView and the scanner first (see below.) Here's the
line of code:
Call Shell(IrfanViewSpec & " /scanhidden /convert=" & TempSpec,
vbNormalFocus)
where IrfanViewSpec is the location of the IrfanView Pprogram, a global
variable loaded from the Util Table on startup (Currently set to the
installation default: C:\Program Files\IrfanView\i_view32.exe), and
TempSpec is the name of a temporary file to hold the scanned image
before rotating and converting to jpg, which is also done with
IrfanView. The scanning subroutine is attached to this message.
Thanks agian in advance,
Lynn