emailing from access

message from Dave on 2 Jun 2004
Hi,

I have found some code on the Microsoft knowledge base that 'should' allow
me to send emails and attachments

However the code tries to use Outlook and i want it to use outlook Express

the line that selects outlook is

Set objOutlook = CreateObject("Outlook.Application")

What do i use instead of Outlook.Application to get it to use Outlook
Express instead?

Thanks

Dave
 
Lyle Fairfield replied to Dave on 2 Jun 2004
You can find some code to send e-mail through Outlook Express in the
downloads section of the site designated in my signature line.
 
Lyle Fairfield replied to Lyle Fairfield on 2 Jun 2004
You could click on

Home

or perhaps

Portfolio

or Contacts

or maybe

Donwloads?

Let me check ... yeppers ... "Downloads" works for me.
 
Dave replied to Lyle Fairfield on 2 Jun 2004
Sarcasm is great, but there are no links on http://ffdba.com/

"Lyle Fairfield" <MissingAddress@Invalid.Com> wrote in message
news:Xns94FC77F25AFE9FFDBA@130.133.1.4...
 
Lyle Fairfield replied to Dave on 2 Jun 2004
I test on IE and Mozilla. I suppose there's a possibility that some older
browser or some cached page may not show the links. The links are manifested
as images are instantiated through Javascript. One of those conditions might
account for their being invisible.
 
David W. Fenton replied to Lyle Fairfield on 03 Jun 2004
Using Javascript to do things that can be done without scripting is
bloody stupid web page design.
 
Michael \(michka\) Kaplan [MS] replied to David W. Fenton on 4 Jun 2004
<script language=javascript>
<!--
if(navigator.appName=='Microsoft Internet Explorer'){

<snip FLASH code here>

else{
document.writeln('<img src=images/ffdba.png>');

The people who are seeing a problem probably have a navigator.AppName that
is not "Microsoft Internet Explorer" and are just seeing that .PNG file
(which is all I can see, and I am running the absolute latest version of
IE).
 
Bob Quintal replied to David W. Fenton on 03 Jun 2004
I fully agree. Most use of javascript is to make a good
presentation, as compensation for a lack of content.

Bob Quintal
 
rkc replied to Bob Quintal on 03 Jun 2004
Aren't we special.
 
OM replied to rkc on 3 Jun 2004
All of you go to your rooms, and DONT come out until you can act like polite
children !

Rob.

PS. Lyle - site worked fine for me...thanks for the code

"rkc" <rkc@yabba.dabba.do.rochester.rr.bomb> wrote in message
news:b4Dvc.118170$hY.99873@twister.nyroc.rr.com...
 
David W. Fenton replied to Bob Quintal on 03 Jun 2004
Actually, I would disagree.

Javascript has several useful functions to do things client-side
that can't be done in any other way:

1. pop-up windows -- I'm not against requested pop-ups. The perfect
use of pop-ups is on Dell's site, where they use them for the "more
information" links.

2. form validation -- since I believe that you should validate data
as it's entered, it's better to do this client-side, rather than
sending a complete form's data back to the server for validation.

There are other uses.

But populating the user interface is not one of them. Using
Javascript for that is as bad as the increasing practice of using
Flash for navigation.
 
Chuck Grimsby replied to David W. Fenton on 03 Jun 2004
Pop-up windows where users have to click on something to open the
window does not require javascript. Plain old HTML is all that's
needed.

See http://www.htmlhelp.com/reference/html40/special/a.html for more
information, most notably the "TARGET" portion of the tag.
 
David W. Fenton replied to Chuck Grimsby on 04 Jun 2004
Can you control the style of the window with windows opened in that
fashion? That is, sizing the window, removing the browser toolbar
and menu, and so forth?

There's nothing mentioned here or in the W3C's documentation
http://www.w3.org/TR/REC-html40/struct/links.html about styling
the window with TARGET.

Indeed, it appears from the W3C docmentation that the chief purpose
of TARGET is for use with frames, where window characteristics are
predefined, since the frame is a child window.

Indeed, it appears that the behavior of TARGET is under discussion:

http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/

But even there, I see no discussion of positioning or sizing or
removal of browser chrome/toolbars, etc.

Another point is that even if TARGET were to allow the specification
of such attributes, it would not really allow the same kind of
centralization of code that Javascript allows. A single piece of
code could be used to launch all popups, whereas with the TARGET
attribute, you'd have to specify all the other attributes inline,
with each link. Well, I guess you could use CSS for that, but it's
not clear to me that CSS can control all of the attributes that
Javascript can control.
 
Bob Quintal replied to David W. Fenton on 03 Jun 2004
You are absolutely correct in saying that javascript has uses.
That takes nothing away from my comment. I see an awful lot of
awful javascript doing awfully useless things. I use Opera as my
primary browser, and if I have it report JS errors, I can't go
more than three or four sites before getting a slew of errors.
Requested popups good. Spam popups bad. And 9 out of every 10
popups I see are not requested.

I'll buy this reason.

Bob Quintal
 
Lyle Fairfield replied to Bob Quintal on 4 Jun 2004
Perhaps you and David could post the urls of those really great sites you
have created?
 
Lyle Fairfield replied to Bob Quintal on 3 Jun 2004
Oh!
 
Lyle Fairfield replied to Bob Quintal on 3 Jun 2004
I suppose those who have javascript disabled will have to get their Outlook
Express code in some site with more content.
 
Dave replied to Lyle Fairfield on 3 Jun 2004
I for one would like to see you content but dispite having Java enabled
still cannot see you link

could you please post the url of your download page so i can get to it,

thanks

Dave

"Lyle Fairfield" <MissingAddress@Invalid.Com> wrote in message
news:Xns94FCDBAB6672AFFDBA@130.133.1.4...
 
Lyle Fairfield replied to Dave on 3 Jun 2004
http://ffdba.com/downloads/Send_Mail_With_Outlook_Express.dat
 
Lyle Fairfield replied to Lyle Fairfield on 3 Jun 2004
Due to popular demand we removed the javascript today. Be sure to clear
your cache if you are going to look. But damn!, removing the javascript
didn't increase the amount of the content, nor its quality.
Error reports will be great and fully received!
 
rkc replied to Lyle Fairfield on 03 Jun 2004
news:c9n0gu$kaj$1@hercules.btinternet.com:

I liked it better the other way, but the vocal minority seems to rule these
days.

Your associates have disappeared.
 
Lyle Fairfield replied to rkc on 4 Jun 2004
In response to your comment I changed portfolio and downloads so they show
in-page.
 
David W. Fenton replied to Lyle Fairfield on 03 Jun 2004
I'm not surprised that you'd take numerous reports of inability to
view your site as evidence of something wrong with the people
visiting it, rather than as proof that your site is poorly designed.

Of course, I have no interest in Outlook Express code, as I think
it's malpractice for any programmer or consultant to recommend to a
client that Outlook Express be used for anything at all.
 

Archived message: emailing from access (MS Access Forms)