HighTechTalks DotNet Forums  

How to MIME outlook from web download using asp.net

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss How to MIME outlook from web download using asp.net in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Roark
 
Posts: n/a

Default How to MIME outlook from web download using asp.net - 06-07-2007 , 03:50 PM






In outlook, I've setup an advanced search (Ctrl-Shift-F) and saved the
search as msgsrch.oss. Next, I've uploaded this file to a field in my
web sql server. In my web app, when I click on an email address I'm 1)
loading the mshsrch.oss field into a variable, 2) replacing the email
address with the one that is clicked on, 3) pushing the file out so
that the search pops up un outlook.

This is really cool - if it worked. My problem is in step 3. I've got
this so far:

Response.Buffer = true
Response.Clear()
Response.AddHeader("content-disposition", "attachement;
filename=msgsrch.oss") 'have also tried inline instead of attachment
Response.ContentType = "application/vnd.ms-outlook"
Response.BinaryWrite( reader("msgsrch") )

This will give me the open/save dialog. Hitting open gives a beep and
nothing happens. Hitting Save allows me to save the file and pops up
another dialog offering to open it. If I open it, it works and the
outlook search dialog comes up.

I don't mind getting the open/save dialog but how can I hit open and
have the outlook search dialog come up?

Can I bypass the open/save dialog so that the outlook search dialog
comes up immeadiately?

I've got a GoDaddy hosted account so I can't read/write files. The
trust level is medium and set not to change. (I think.) I'm using IE7
and outlook 2003 on a XP SP2 machine. Also using asp.net 2.0.

Thanks in advance.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.