Click to See Complete Forum and Search --> : Link to local htmfile


pafal
November 3rd, 1999, 05:46 AM
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

Lothar Haensler
November 3rd, 1999, 06:11 AM
I couldn't reproduce that behavior with file:///c:/...htm
it worked perfectly well on NT 4, SP5 and IE5.

pafal
November 4th, 1999, 08:26 AM
I may have been somewhat unclear:

Using MAPI, this is my code:


mapMess.Compose
mapMess.RecipDisplayName = "BillC@WH.gov"
mapMess.RecipAddress = "BillC@WH.gov"
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