Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is wrong with this code - trying to use kodak imaging to scan

Status
Not open for further replies.

Blitz

Technical User
Joined
Jul 7, 2000
Messages
171
Location
US
here is my code


Private Sub Command0_Click()
Dim App As Object
Set spObj = CreateObject("imaging.Application")
If spObj.ScannerAvailable = True Then
MsgBox "on"
Else
MsgBox "off"
End If
End Sub

If i can get this to work and dont know what i am missing or doing wrong. I referenced all the kodak image controls but whenever i run this i get:
Run-time error '438':
object doesnt support this property or method

When i click debug it highlights "If spObj.ScannerAvailable = True Then" but i dont know what i need to do to fix it. Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top