Solved

auto save a file to the users pc on pageload

Posted on 2009-05-06
7
263 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
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 49

Expert Comment

by:Ryan Chong
ID: 24322438
what kind of technologies you prefer? Flash/Silverlight/ActiveX control/Java Applet/pure Javascript/etc ?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

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

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 49

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

DevOps Toolchain Recommendations

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

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Entity Framework 3 46
Runtime Exceptions when trying to submit data 28 36
how to read json value 2 29
Run time Error 4 34
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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

914 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

17 Experts available now in Live!

Get 1:1 Help Now