Interoperation / Office Integration Topics include: COM, P/Invoke (e.g. Win32 API), marshaling, distributed applications, VBA and interacting with office apps

Go Back  Xtreme .NET Talk > .NET > Interoperation / Office Integration > Winfax in Vb.net


Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2006, 06:12 AM
Joyal Joyal is offline
Newcomer
 
Join Date: Sep 2006
Posts: 2
Joyal is on a distinguished road
Default Winfax in Vb.net



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
Reply With Quote
  #2  
Old 09-08-2006, 07:02 AM
PlausiblyDamp's Avatar
PlausiblyDamp PlausiblyDamp is offline
Ultimate Contributor

Preferred language:
C#, VB
 
Join Date: Sep 2002
Location: Lancashire, UK
Posts: 6,466
PlausiblyDamp is on a distinguished road
Default

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.
__________________
Posting Guidelines FAQ Post Formatting

Intellectuals solve problems; geniuses prevent them.
-- Albert Einstein
Reply With Quote
  #3  
Old 09-08-2006, 07:09 AM
Joyal Joyal is offline
Newcomer
 
Join Date: Sep 2006
Posts: 2
Joyal is on a distinguished road
Default

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.

Quote:
Originally Posted by PlausiblyDamp
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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems using Winfax CSDKLog and VB.Net alanw General 0 10-12-2005 01:59 PM
Using Winfax Send Object from ASP.Net dmorin74 Interoperation / Office Integration 0 12-24-2003 09:10 AM
Manual receive now winfax ankagua Graphics and Multimedia 0 11-22-2003 07:49 AM
Sending PrintPage output to WinFax Mladen Graphics and Multimedia 7 07-02-2003 12:09 PM
winFax & VB.Net WizKil Graphics and Multimedia 2 04-30-2003 05:00 PM

Advertisement:







Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe