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

WIA 1

Status
Not open for further replies.

dpaulson

Programmer
May 7, 2000
347
CA
I am doing some experimenting with scanning documents using WIA. At my work computer I have vb6 installed on a winxp machine which WIA works good. At home I have vb6 on a vista machine and my program errors when I try to install the WIA commondialog control on the form.I get system error &H80004005 (-2147467259). Any ideas on how to correct this?

David Paulson

 
They ripped some things out in Vista and later.

Try setting a reference to WIA instead of adding it as a "Component" (controls library). Then create an instance of [tt]WIA.CommonDialog[/tt] in code and use that instead.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top