473,657 Members | 2,626 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How Can I Fax An Existing PDF File Via MS Fax From MS Access Using VBA?

1 New Member
NEWBIE QUESTION

How Can I Fax An Existing PDF File Via MS Fax From MS Access Using VBA?

Using MS Access As A User Interface to enable users to search for various electronic records stored as PDF files.

Once a desired record is located, the user can email or fax one or more corresponding PDF files to contacts stored in the database.

The sending of existing PDF files as email attachments via MS Outlook works great.

I am also able to send existing PDF files as faxes via MS Outlook to MS Fax, however I have several problems that prompted this post.

First, MS Outlook creates a fax cover page consisting of the email subject and email body even when these fields are left blank. I do not want to sent a cover page but can not find away to eliminate.

Second, MS Outlook and/or MS Fax uses Adobe Reader (version 9.3) to render the PDF files into the outbound TIF fax format. In so doing, Adobe Reader is opened and given the focus to process a temporary file. Once the temporary file is processed, Adobe Reader remains open. I would like to elimante this nuisance or at least have Adobe Reader run minimized or hidden in the background without receiving the focus. Please understand that we are faxing up to 100 documents at one time which makes this "nuisance" unbearable. The user can not continue to work because Adobe Reader "pops up" once per fax (every 30-40 seconds or so).

Third, the faxes clog up the MS Outlook sent folder and must be deleted manually.

Please advise your recommendations to solve these issues. Again, I would prefer to bypass MS Outlook for faxes and send direct via MS Fax. Eliminating the cover page is a must and allowing the user to continue their work while the faxes are being rendered is also a must.

Please advise what additional information may be required to respond to my inquiry.

Thank you MS Access Experts!
Jul 1 '10 #1
2 3422
FishVal
2,653 Recognized Expert Specialist
@Blue Stone Post
  • I'm not sure what you mean by "fax cover page", but guess it is all about MS Fax interaction with MS Outlook which I think could not be controlled with Access application.
  • To close Acrobat windows I would propose the following:
    • Enumerate all top level windows via WinAPI EnumWindows() function.
    • Check each hWnd returned by EnumWinwdows() to point to an Acrobat window using one of the following methods:
      • Check the window title with GetWindowText() WinAPI function for a corresponding substring.
      • Get a process - owner of the window and check path to an executable which has created the process. This method is more robust then the previous one but at the same time much more sophisticated since its implementation depends on Windows version.
    • Send WM_CLOSE message to all positively identified windows.
    If you consider this approach to be feasible, then I could elaborate on writing some sample code.
  • MS Outlook "Sent Items" folder could be cleaned via application automation.

Regards,

Fish
Jul 2 '10 #2
maxamis4
295 Recognized Expert Contributor
@Blue Stone Post
Before I can give you the answer to this question I will need to ask the skill level you have in programming. To do this you will need to have knowledge in the following areas:

1. Outlook reference library
2. MsOffice reference library (version of ms office matters here)
3. hardware library for drivers and any software it may have.
Jul 3 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
2783
by: Dan Kelley | last post by:
We have a multithreaded app that responds to events, and writes these events to a text file. This text file is used by an external system for further processing. We want to be able to write multiple entries to the file, and then rename it and copy it to a new location when the file reaches a certian size, or a certain time span elapses (which ever comes first). I have created a static/shared timer member variable in class that writes...
1
1759
by: Chance Lerro | last post by:
Here's another way to PREVENT the install program for run-time Access from overwriting existing file associations: 1. Edit the Runtime MSI file with Orca, InstallShield, etc.. 2. Go to the InstallExecuteSequence table 3. find the following entries and set them to false: RegisterExtensionInfo
2
3567
by: Harry | last post by:
Hi, I've got an ASP application running and want to have it write to a text file. I am running VS.NET on WinXP. I was able to set the file permissions to allow ASPNET access under Win2000 but when I changed my dev OS to XP, the security option is not the same. Can any one tell me how to grant ASPNET or IUSER_MACHINE access to write to a file?
4
3188
by: Josh Behl | last post by:
When I try to programmatically open an existing Excel document using a custom windows form, it works perfectly. I instanciate a new instance of the Excel.ApplicationClass and then set the Visible property to 'true'...then I open the workbook in question via my code..... However, when I try this using ASP.NET. It does not work. I've messed around and gave full access and control to my ASPNET user to practically every darn folder on...
0
1757
by: Andrew Corley, MCSD, MCDBA | last post by:
Good day, I have researched on MSDN and the newsgroups and I have not yet found an answer. Hopefully, one of you will have solved this type of issue already. I am writing a VB.NET 2003 console application and I need to access files via a UNC file share on a Windows 200X domain. I have a specific domain user name and password that will be used to access the directory. Our requirements dictate that we embed these credentials in the...
7
2606
by: Hercule POIROT | last post by:
Hello ! Could you please write for me the simplest portable c program that handles 64 bit file access. I want to use only high-level functions (of section 3 : libraries) from glibc/libc6. I need answer to the following questions : - Do I have to invoke gcc with the -D_FILE_OFFSET_BITS=64 argument ?
6
2587
by: shalakasan | last post by:
Hi, I want to open a binary file and write to a specific location in File. Here is how my code looks like: int main() { long lbuf = 0; int lreadBytes = 0;
1
1536
by: Jovinee | last post by:
I am a very newbie and need help with this question. What other types of file access exist besides sequential file access?
0
2090
by: astersathya | last post by:
Date Format in MS Access using a query Hi I want to alter the existing column's format using the alter query. The issue I am facing is I want to set the default date format of an existing "Date_Edit" column in "DD/MM/YYYY" format irrespective of Date format of the Operating System. It would also be really appreciable if any body provides me the details regarding altering the attributes of an existing column. Thanks and Regards Sathya
0
2346
by: Albert-jan Roskam | last post by:
Hi John, Thanks! Using a higher xlrd version did the trick! Regarding your other remarks: -yep, input files with multiple sheets don't work yet. I kinda repressed that ;-) Spss outputs only single-sheet xls files, but I agree it's nicer if the programs works in other cases too. -and no, I don't intend to use data fields. Wouldn't it be easier to convert those to string values if I ever came across them? Thanks again! Albert-Jan
0
8385
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8821
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8723
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8602
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7316
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.