Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi EveryBuddy

im importing Interop.WIALib.dll to refrences , WHEN i Want Use this Code :

WiaClass = New WIALib.WiaClass()

i See Error Msg : Interop type wia class can not be embedded , Use the application interface instead.
Posted

1 solution

WiaClass is Ambiguous with System.Runtime.InteropServices.WiaClass class
change the variable declaration
VB
dim objWiaClass As New WIALib.WiaClass
 
Share this answer
 
Comments
synctor 14-Nov-11 2:10am    
Not Working ! its Same Error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900