Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. VSTO

VSTO

Scheduled Pinned Locked Moved ASP.NET
comsales
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ramkumar_S
    wrote on last edited by
    #1

    Hi All, I need to create a document management system. In this we need to generate multiple Appointment Letter to send Email to different customer, However i Will have only one appointment template(May be in MS Word, which is easy for editing). Some thing similar to mail merge but email address should come from sqlserver. I search around google and found VSTO will solve this. Please Advice me. Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

    N L 2 Replies Last reply
    0
    • R Ramkumar_S

      Hi All, I need to create a document management system. In this we need to generate multiple Appointment Letter to send Email to different customer, However i Will have only one appointment template(May be in MS Word, which is easy for editing). Some thing similar to mail merge but email address should come from sqlserver. I search around google and found VSTO will solve this. Please Advice me. Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Are these documents system generated? For instance, will the user click a button then have the documented created? If so then you don't need VSTO, you can use Word Interop to insert the email address into the letter template before sending to user.


      Failure is not an option; it's the default selection.

      1 Reply Last reply
      0
      • R Ramkumar_S

        Hi All, I need to create a document management system. In this we need to generate multiple Appointment Letter to send Email to different customer, However i Will have only one appointment template(May be in MS Word, which is easy for editing). Some thing similar to mail merge but email address should come from sqlserver. I search around google and found VSTO will solve this. Please Advice me. Ramkumar ("When you build bridges you can keep crossing them. ") http://ramkumarishere.blogspot.com

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I suppose you need to do document generation from a .NET application. Note that Office COM (interop) is a very bad option in general (http://support.microsoft.com/kb/257757[^]). It can be used in Windows (desktop) applications, but avoid using it on server side (ASP.NET, windows services, ...). You I think there are only 2 viable options: - Open XML SDK - 3rd party solution If you are willing to forge your own document generation solution then you can choose Open XML SDK (you will find a lot of Open XML links - just google a bit). But this path requires a lot more work and Open XML learning curve is much steeper compared to Office COM. I think it is usually better to buy a 3rd party library does the job done without much effort. You can take a look at Docentric toolkit[^]. It offers everything you need and also has a handy MS Word Add-In for template design and placeholder data-binding.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups