please help ASAP ..the problem is there's no device detected using this code..


**Dim buffer As New System.Text.StringBuilder(33)
        Dim Name As String
        If EZTwain.GetSourceList() Then
            Do While EZTwain.GetNextSourceName(buffer)
                Name = buffer.ToString()
                cboSelect.Items.Add(Name)
            Loop
        Else
            Call EZTwain.ReportLastError("Error getting TWAIN source list")
        End If**


thanks in advance  ..

Recommended Answers

Hi,

I think that you need to add EZTwain to your project using Project - add item: Go to the EZTwain toolkit folder (usually \Program Files\EZTwain), go to the sub-folder for your language: VB.NET, add the declaration file you find there.

Jump to Post

All 4 Replies

Hi,

I think that you need to add EZTwain to your project using Project - add item: Go to the EZTwain toolkit folder (usually \Program Files\EZTwain), go to the sub-folder for your language: VB.NET, add the declaration file you find there.

actually i already did that but still wont work

Hi,

Perhaps you can find some more information,Here

try to look at it ..thanks :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.