Joyal Posted September 8, 2006 Posted September 8, 2006 hi, I can not add winfax.dll in vb.net. I got following error. " reference to "c:\winnt\system32\winfax.dll could not be added. this is nota valid assembly or com component. only assemblies with extension 'dll' and com components can be referenced. please make sure that the file is accessible, and that it is as valid assembly or com component." Is there any way to use winfax.dll or import winfax.lib in vb.net. Thanks. Joyal Quote
Administrators PlausiblyDamp Posted September 8, 2006 Administrators Posted September 8, 2006 IIRC Winfax.dll isn't a .Net / COM component - you would need to access it through P/Invoke rather than by adding a reference. There is also a FaxCom.Dll that can be added as a reference - that might be of some use. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Joyal Posted September 8, 2006 Author Posted September 8, 2006 PlausiblyDamp, Thanks for your reply. I don't know what is P/Invoke. And also, how to access winfax.dll or winfax.lib. Can you explain me. OR May i have an alternate solution with WinFax. Means is there any such kind of library through which i can send fax. IIRC Winfax.dll isn't a .Net / COM component - you would need to access it through P/Invoke rather than by adding a reference. There is also a FaxCom.Dll that can be added as a reference - that might be of some use. Joyal Quote
Recommended Posts