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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select deviceTwainSource Code on a button

Status
Not open for further replies.

435

Technical User
Jul 22, 2003
24
US
I have a form with two buttons and tho ole objects
One is to take a picture directly from a webcam
and the other button to scan a document.

If I take a picture with the webcam and I want to scan
a document I have to exit access and change the twainsource with Kodak Imaging. Then open the databasee and scan.

What i want to do is put some code that does this automatically whenever I scan or take a picture.

Do you guys have any idea on how to modify the following code to acomplish this..





Private Sub cmdSelect_Click()
'This control allows selection of different twain sources

Me.PajantImageCtrl3.Pi.TwainSelect (0)

End Sub

 
This is an Access forms forum. You may consider reposting this in the visual basic forum.
 
Ok,, thanks for the suggestion!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top