Re: email pdf document
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Mon, 2 Oct 2006 09:41:44 -0400
If they don't have Outlook 2002 on their machine, it will definitely cause a
problem.
If they have a different version of Outlook 2002 than you (i.e.: different
service pack), it may cause a problem.
It's for this reason that many developers choose to use Late Binding, rather
than setting references. Tony Toews has an introduction to the topic at
http://www.granite.ab.ca/access/latebinding.htm
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"PHisaw" <PHisaw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9E18DB37-99D0-4728-93A2-362E3EA0D74E@xxxxxxxxxxxxxxxx
If I set the reference (by this do you mean checking the box "Microsoft
11.0
Object Library"?) and then everyone copies the front end to their
computer,
will this still cause problems?
"Douglas J. Steele" wrote:
No, I'm saying you can run into problems if you distribute the MDB to
other
people so they can use it to send PDF files.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"PHisaw" <PHisaw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:91F536DB-FFF6-47CA-BB72-F5879C3A0FB5@xxxxxxxxxxxxxxxx
This sounds like it getting even more complicated - by "distributing
this
application" are you saying that if I send a pdf with this procedure,
it
can
cause problems?
"Douglas J. Steele" wrote:
With any code module open, select Tools | References from the menu.
Scroll through the list of available references until you come to the
appropriate Microsoft Outlook n.0 Object Library entry (n will depend
on
what version of Outlook you have).
Check that reference, then back out of the dialog.
Note, though, that if you're distributing this application to other
users
and they don't have the exact same version of Outlook, you're going to
run
into problems.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"PHisaw" <PHisaw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B4EA5B9C-66A3-4FE4-BE55-317C164E8B57@xxxxxxxxxxxxxxxx
No, can you tell me how to set the reference? I'll have to wait
until
Monday
to do anything further with this.
Thanks again for the time and help!
Pam
"Douglas J. Steele" wrote:
Have you set a reference to Outlook (through Tools | References)?
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"PHisaw" <PHisaw@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:88E58A25-4998-44AE-88DE-9079E2043869@xxxxxxxxxxxxxxxx
Sorry I forgot to paste the code in
strPath = "\\dell4lysk21\data\D T S\SCMP DECONTAMINATION
GUIDELINES\"
tmp = Dir(strPath & "* .pdf")
While tmp <> ""
strFile(i) = tmp
i = i + 1
intFileCount = i
tmp = Dir()
Wend
Dim outApp As Outlook.Application, outMsg As MailItem
"Steve Schapel" wrote:
Pam,
As well as removing the spaces, you might also need to retype
this
line,
as it appears to be enclosed in "" rather than "" (which
probably
indicates it was originally copy/pasted from a word processor or
newsreader which munged it).
--
Steve Schapel, Microsoft Access MVP
Douglas J. Steele wrote:
You appear to have a "smart quote" (") rather than a slash at
the
end
of
strPath.
I also think you need to remove at least the blank before the
*
in
tmp = Dir(strPath & " * .pdf")
(I don't think it's possible for a file name to start with a
space,
which is
what that would retrieve)
.
- Follow-Ups:
- Re: email pdf document
- From: PHisaw
- Re: email pdf document
- References:
- Re: email pdf document
- From: Douglas J. Steele
- Re: email pdf document
- From: PHisaw
- Re: email pdf document
- From: Douglas J. Steele
- Re: email pdf document
- From: PHisaw
- Re: email pdf document
- From: Douglas J. Steele
- Re: email pdf document
- From: Steve Schapel
- Re: email pdf document
- From: Douglas J. Steele
- Re: email pdf document
- From: PHisaw
- Re: email pdf document
- From: Douglas J. Steele
- Re: email pdf document
- From: PHisaw
- Re: email pdf document
- From: Douglas J. Steele
- Re: email pdf document
- From: PHisaw
- Re: email pdf document
- Prev by Date: Re: Filter main form by subform
- Next by Date: Re: Detect user idle time
- Previous by thread: Re: email pdf document
- Next by thread: Re: email pdf document
- Index(es):
Relevant Pages
|