|
-
November 3rd, 1999, 06:46 AM
#1
Link to local htmfile
I am generating a mail from an VB-app. In that mail I would like to create a link to a htm-file that I now exists on the recipients client.
If I state
"http://c:/MyFolder/whatever.htm"
the browser starts to search for the webserver "c"
"file://c:/MyFolder/whatever.htm"
starts the filedownload dialog
Any ideas on how to start the browser with the local htm-file?
Regards
Patrik
-
November 3rd, 1999, 07:11 AM
#2
Re: Link to local htmfile
I couldn't reproduce that behavior with file:///c:/...htm
it worked perfectly well on NT 4, SP5 and IE5.
-
November 4th, 1999, 09:26 AM
#3
Re: Link to local htmfile
I may have been somewhat unclear:
Using MAPI, this is my code:
mapMess.Compose
mapMess.RecipDisplayName = "[email protected]"
mapMess.RecipAddress = "[email protected]"
mapMess.AddressResolveUI = true
mapMess.ResolveName
mapMess.MsgSubject = "Jelstin for president"
mapMess.MsgNoteText = "File://C:\Whatever.htm"
mapMess.Send true
The mail is OK, except of that the link starts the download-dialog. If I change it to "http" it goes looking on the net.
And why is it that on some mailservers closing the mail without sending it, generates an error (32001) giving me a chance to determine whether the mail actually was sent or not. On other servers it just continues without error?
TIA
//Patrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|