Solved

auto save a file to the users pc on pageload

Posted on 2009-05-06
7
260 Views
Last Modified: 2013-12-17
Hello I have an app that allows users to generate contracts I would like to auto save them on the users machine in there My Documents folder. How do I do this??

Cheers

Trent
0
Comment
Question by:Small_Balls
  • 4
  • 3
7 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
Comment Utility
>>I would like to auto save them on the users machine in there My Documents folder. How do I do this??

Probably you can have Flash/Silverlight/ActiveX control/Java Applet/pure Javascript with browser security settings, so that your web page can interact with your local resources.
0
 

Author Comment

by:Small_Balls
Comment Utility
How do I do this??

0
 
LVL 49

Expert Comment

by:Ryan Chong
Comment Utility
what kind of technologies you prefer? Flash/Silverlight/ActiveX control/Java Applet/pure Javascript/etc ?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:Small_Balls
Comment Utility
umm either active x or javascript but silverlight is cool
0
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 300 total points
Comment Utility
I probably only can tell you the concept, as I would able to provide you a workable solution here...

Either ActiveX / javascript / silverlight , it's treated as the client side interface to save the contracts into local resources.

Depends on what browser you're using, for ActiveX it's installed on your local machine, for javascript /silverlight it's loaded from internet/browser cache.

then we need a Web Interface, for User Authentication and so that we know what contracts to be saved into local.

the component selected may triggers requests to the Web Interface to grab the contracts, and then save it to the selected local path.


Something that may useful to test/research: (sorry, component not tested)

http://www.shareup.com/FileDownload_ActiveX_Control-download-17834.html

http://www.sharewareplaza.com/DownloadX-ActiveX-Download-Control-Pro-download_69927.html

http://www.brothersoft.com/activex-download-control-57074.html
0
 

Author Comment

by:Small_Balls
Comment Utility
would you use a similar thing to maintain communications between client and webapp eg if the download control downloaded a series of rpts can crystal report viewer than use the active x on the client to read the rpts from the client??
0
 
LVL 49

Assisted Solution

by:Ryan Chong
Ryan Chong earned 300 total points
Comment Utility
I'm not sure if Crystal Report Viewer can be an ActiveX or not, but as far as I know, Crystal Report Viewer can be more like a web solution, so some user interaction is needed in order to export it into PDF/Excel or whatever format you want to local machine.

You may try to post to Crystal Report TA for more assistance regarding this.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now