Simple - Not for me


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Simple - Not for me

  1. #1
    Join Date
    May 2010
    Posts
    1

    Simple - Not for me

    There is probably such an easy solution, but need some advice on how to reach the end product.
    What I need is an automated process that allows a specified user to upload a word doc and have it generate an asp (or html) page to our website.
    What exactly I am doing is this, currently human resources sends me a job opening in a word document, and I have been simply converting it to an asp page and posting the link and all has been good.
    What I would like to do is automate the process, by having the doc automatically converted and displayed. There are few things that would be required, a html link generated, an open and close date check, and then the conversion. i am pretty confident that the linking and date checks are pretty straight forward for me, it's the conversion that I having problems getting my head around. any suggestions would be greatly appreciated.
    Thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    142

    reuse and not use

    hi there,

    if you already have this process the right way plus up and running then my guess is you only need to call this process as a scheduled task, where this scheduled task will run every minute or maybe every five minutes. you could also resource to call your process from a windows service, which i have done, but is requires a little more programming.

    what i mean is this: put your process inside a program with the same logic flow it has now, plus whatever enhancements you can think about. you can do this in dotnet, but you can do this even in vbscript, or jscript, etc. next, test your whole process in this computer program, and once you know it is where you need it, you make a scheduled task out of it, running once per <n> minutes. think about this like those documents reaching a queue, checking if this queue has a new document or new documents every <n> minutes, and process these documents if there are any, or else waiting until next interval of time is reached.

    i hope this sheds some lights,

    tonci korsano

  3. #3
    Join Date
    Sep 2007
    Posts
    86
    Sounds like you are trying to automate what is now a manual process.

    With respect to the Word portion, is the document free form? is it Word 2007 or 2010? If not free form are you using Content Controls for the fields?

    Depending on the answers you may be able to use the OpenXML SDK to access the document from your code and pull the information out of it to create the page.

    What might be a better solution is to create a Word add-in that could be run on the client to "submit" the job opening. The add-in could then take care of saving the word document locally as an HTML using SaveAs() on the document and then upload the html output to the server automatically.

    A more elegant solution and allows your users to stay in Word and not have to deal with email. You could also get fancier if you wanted and have the web service that revceives the HTML page be the entry point to a Workflow and provide status updates to the submitter as the document goes through your steps.
    John Wiese
    ISV Architect Evangelist - Microsoft
    http://blogs.msdn.com/usisvde

Similar Threads

  1. Simple tic tac toe applet
    By Ant_Magma in forum Java
    Replies: 5
    Last Post: 09-26-2005, 03:41 AM
  2. What simple embeded database?
    By swinster in forum Database
    Replies: 0
    Last Post: 07-27-2005, 07:43 PM
  3. Creating a Simple Combo Box in a Web App
    By Ranchoz71 in forum ASP.NET
    Replies: 3
    Last Post: 04-06-2005, 12:40 PM
  4. Simple VB 6.0 XML parsing
    By slimasian in forum VB Classic
    Replies: 1
    Last Post: 03-02-2005, 01:38 PM
  5. Simple Java DOM question
    By Lenin in forum XML
    Replies: 0
    Last Post: 03-21-2001, 04:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center