Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8450581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:00:27+00:00 2026-06-10T11:00:27+00:00

I am writing a web form application in c# and I have this problem.

  • 0

I am writing a web form application in c# and I have this problem.
I would like to create a button in one page that once is pressed:
1)It opens outook
2)The attachment of the mail to send is the aspx page as a word document.

I have tried for two days but I still can’t find a solution!
I almost reached a solution with a script that first (using the Interop.World library) opens Word and create the doc from the html code, and after that runs a macro that opens outlook with the document in attachment… but it works only when I debug the application and it doesn’t once the page is published in my local intranet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T11:00:29+00:00Added an answer on June 10, 2026 at 11:00 am

    You can not do this.

    You create your web app in ASP.NET / JSP /PHP, your website will be rendered as HTML to the client browser. It can not access applications in the client machine. If that was possible, People would have written websites where it will automatically open skype / outlook / drop box apps in the client computer and steal relevant data send to the author.

    The only possiblity you can do something on the client computer is creating an Activex component and Let the user download it and give permissions to run. This is not compatable with all browsers. You may also look into the capabilities of Silver light run time to see what it can do on the client side ( very minimal).

    Summary : Do not plan any features which does something on the client computer. It is nearly not possible.

    What you can think about is some other libraries which creates some document (PDF ? ) from your data and send an email using the standard email sending procedure in dot net (SmtpClient class).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application I have an application design that looks like this: web application layer
I'm writing my first web application (still!), and have a problem activating user accounts.
I am writing a web application that lets a user create their own forms
When writing a web application which allows the upload of files, one must be
I'm writing a web application that connects to a database. I'm currently using a
I have been writing a small web application in C# .NET4.0 to try and
I have a windows form application(c#) and an asp.NET web application which both access
I'm writing an 'advanced search' page for a web application. It basically has a
I'm writing an ASP web application with VB back-end. What I'd like to do
i am writing web-services for login script. Which i have to keep on HTTPS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.