How to send a fax using VB
How to send a fax using VB
How to send a fax using VB
How to send a fax using VB
How to send a fax using VB
How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB
How to send a fax using VB How to send a fax using VB
How to send a fax using VB
Go Back  Xtreme Visual Basic Talk > > > How to send a fax using VB


Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2001, 08:46 PM
joese
Guest
 
Posts: n/a
Default How to send a fax using VB


Hi ! Can you please let me know how to send a fax using Viusal Basic, I mean using the MAPI components. Thanks.

Reply With Quote
  #2  
Old 01-10-2001, 03:32 AM
Neptune
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

I believe it can be done with TAPI components, if I am not wrong.

Reply With Quote
  #3  
Old 01-11-2001, 02:00 AM
joese
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

Do you have any sample coding on how to start the task? Because I know nothing about TAPI. Thanks.

Reply With Quote
  #4  
Old 01-11-2001, 04:54 AM
Neptune
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

Sorry I don't know nothing on the subject either except that T in TAPI stands for Telephony and TAPI is used in assisted telephony applications.I had a quick search but did not come up with something of use.

Except this site where you can find free controls, source code and examples on how to use TAPI. But frankly I did not check it so I do not know if it will suit you.

http://www.shrinkwrapvb.com/vbtapi.htm

Hope it helps

(Meanwhile pls post here if you find a better source as I become curious about that as well.)

Reply With Quote
  #5  
Old 01-12-2001, 01:12 AM
joese
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

I've already downloaded a sample program - tapi_src.zip from www.shrinkwrapvb.com.

When I run this program, I hit this error - can't find DLL entry point lineInitializeExA in tapi32.dll.

Do you have any ideas ?

Reply With Quote
  #6  
Old 01-12-2001, 05:27 AM
BillSoo's Avatar
BillSooHow to send a fax using VB BillSoo is offline
Code Meister

Retired Moderator
* Guru *
 
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
Default Re: How to send a fax using VB

Does it have to use MAPI or TAPI?

If you set the fax up as a printer, you should be able to use the printer object.

"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
Reply With Quote
  #7  
Old 01-15-2001, 03:13 AM
joese
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

I think it have to use MAPI or TAPI to send fax.

My friend told me that sending faxes through VB and MAPI is just like sending mail. Instead of supplying an email address, I can supply a fax number in the following format:

MAPIMessages1.RecipDisplayName="[FAX:myfaxname@111 111]".

I've tried this format, but it was not working at all.

I don't know whether I have to set the properties of my printer or not, I mean the location of the port.

(In the printer properties)In the Details section,when I click -print to the following port, a list will drop down. In the list, I saw -FAXunknown local port).

Does it matter if I did not set up this port to use the above format to send fax?

Or do you have a better ideas to send fax using MAPI?




Reply With Quote
  #8  
Old 01-15-2001, 06:48 PM
BillSoo's Avatar
BillSooHow to send a fax using VB BillSoo is offline
Code Meister

Retired Moderator
* Guru *
 
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
Default Re: How to send a fax using VB

I don't know anything about MAPI or TAPI so I can't help you there.

But when I want to send a fax, I just select the fax modem as my default printer, then print. I guess you'd have to set up the fax driver to a port first though...

Thinking about it some more...I guess the reason your friend suggested MAPI is that you can specify the phone number. If you go the printer route, it may be tricky to insert the phone number. I guess you could use SENDKEYS to do it but it might be a bit of a kludge...

"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
Reply With Quote
  #9  
Old 01-16-2001, 01:12 AM
joese
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

Do you know how to link to the fax software that I've already installed on my machine via VB code?

I mean when I press this command button, I can directly call the fax software and send fax from there.

Reply With Quote
  #10  
Old 01-16-2001, 01:47 AM
BillSoo's Avatar
BillSooHow to send a fax using VB BillSoo is offline
Code Meister

Retired Moderator
* Guru *
 
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
Default Re: How to send a fax using VB

On my system, the fax modem is the default printer. So it is as easy as

printer.print "test"
printer.enddoc

Which will fax the word "test".

The problem is that you have to specify the phone number.


Hmmm....just did a quick test....it seems that the fax dialog is system modal. So it seems difficult, if it is possible at all, to send the phone number to the printer via code....

I'm using Quicklink drivers. It may be possible to do by running the Quicklink messagecenter software and controlling it via sendkeys...

"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
Reply With Quote
  #11  
Old 01-17-2001, 04:50 AM
Neptune
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

Here is another link, this time faxing with MAPI

http://www.smithvoice.com/youcan.htm



Reply With Quote
  #12  
Old 01-18-2001, 09:30 PM
joese
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

Hi ! I've already tried this link before, but the sample program which I downloaded was not working at all.

When I execute this program, I must hit some errors as well.

I don't know what's wrong.

Reply With Quote
  #13  
Old 01-18-2001, 09:40 PM
joese
Guest
 
Posts: n/a
Default Re: How to send a fax using VB

Oh God !

I feel like I'm in the middle of nowhere !!!!!!!!!!!!!!

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off

Forum Jump

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
How to send a fax using VB
How to send a fax using VB
How to send a fax using VB How to send a fax using VB
How to send a fax using VB
How to send a fax using VB
How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB How to send a fax using VB
How to send a fax using VB
How to send a fax using VB
 
How to send a fax using VB
How to send a fax using VB
 
-->