VB Fax Code - Send Faxes from VB6
Need to send a fax in VB6? The InterFAX VB fax API enables you to send faxes with only a few lines of VB6 code, with no installations. InterFAX accepts documents in many popular formats (PDF, Word, HTML, ASCII, URL), and sends them to a fax number you specify. With InterFAX, you can perform basic fax send/receive, or get more advanced sending capabilities, like multiple destinations, document resolution, and deferred transmission.
Note: This section includes samples for the VB6 framework.
- If you are looking for VB.NET samples, visit the Fax VB.NET section
- If you are using the ASP.NET framework with VB.NET, see the ASP.NET Fax samples.
VB6 Fax Code Samples
| Title | Description |
|---|---|
| VB Fax - How to Send a Plain-Text Fax in VB6 |
This sample demonstrates how to send a VB fax (VB6), using the SendCharFax. This method sends a plain-text VB6 fax. Text is limited to standard ASCII (no 8-bit characters), but can include HTML markup. |
| VB Fax - Send Files to Multiple Recipients Using SendfaxEx_2 |
This VB6 fax snippet reads a number of files, concatenates them into one string, and submits the VB fax to the Web service (with multiple attachments). |
| VB Fax - How to Retrieve the Status of an Outbound VB6 Fax with FaxQuery |
This sample describes how to retrieve the status of an outbound VB fax using FaxQuery in VB6. FaxQuery is a more advanced querying option compared to the FaxStatus method (see Side-by-side Comparison of Web Service Methods). |
| VB Fax - Get a List of Received Faxes with VB6 |
In this VB fax sample, the GetList2 method is used to retrieve a list of inbound faxes (received faxes) with VB6. |
| VB Fax - Retrieve an Inbound Fax Image |
In this sample, the GetImageChunkEx2 method retrieves an image for a received (inbound) VB fax. |
| VB Fax - Get an Outbound Fax Image |
Using the GetFaxImage method allows you to retrieve the image of an outbound (previously-submitted) fax in VB6. |
| VB Fax - Cancel a Pending Fax in VB6 |
To cancel a previously-submitted VB fax, use the CancelFax method. CancelFax only affects faxes waiting to be sent (with the status codes: -1 Preprocessing, -2 Ready, or -3 Pending Retry), and not faxes that are currently being transmitted. |
| VB Fax - Retrieving the Outstanding Balance of Your Account's Prepaid Package |
The following VB6 fax project files show you how to retrieve the outstanding balance of your account's prepaid package. |


