Solved

auto save a file to the users pc on pageload

Posted on 2009-05-06
7
269 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 50

Expert Comment

by:Ryan Chong
ID: 24321786
>>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
ID: 24322358
How do I do this??

0
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 24322438
what kind of technologies you prefer? Flash/Silverlight/ActiveX control/Java Applet/pure Javascript/etc ?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:Small_Balls
ID: 24322669
umm either active x or javascript but silverlight is cool
0
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 300 total points
ID: 24322770
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
ID: 24323015
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 50

Assisted Solution

by:Ryan Chong
Ryan Chong earned 300 total points
ID: 24323033
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 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