Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 838315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:17:07+00:00 2026-05-15T05:17:07+00:00

I have developed an app that allows the user to fill out text fields

  • 0

I have developed an app that allows the user to fill out text fields with information. I want them to be able to press a button that will make a file with data (a really long array with info on what they typed and where it should go) so they can reload the data at a later date. I don’t have a server now, and I am sending this app as a standalone html app to my friends for their use until I get hosing / mySql / etc.
Is there a way that when they click on a button it will take this data (saved as an array, save_data), put it into a file, and basically begin the download process from their web-browser?
And later on, what tech would I need to be looking into to save this into online user accounts?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:17:08+00:00Added an answer on May 15, 2026 at 5:17 am

    It is posible, but only if you force your users to use windows and microsoft internet explorer. You can send the html file as a hta file, wich can write and read from data from the hard disk.
    check http://msdn.microsoft.com/en-us/library/ms536496%28VS.85%29.aspx
    for more information.
    An hta file is basically a local html file with some extra tags in the header, and is run (interpreted) locally without security restrictions, like any exe file.
    I don’t know how to show the complete html code here,(markdown is not for me), so if you want an example:
    1 – create a file test.hta, with the standard html, head, body and script tags
    2 – inside head tag, insert

        <HTA:APPLICATION 
        ID="oMyApp" 
        APPLICATIONNAME="test"  
        BORDER="yes" 
        CAPTION="yes" 
        SHOWINTASKBAR="yes"
        SINGLEINSTANCE="yes" 
        SYSMENU="yes">
     </HTA:APPLICATION>
    

    3 – inside body tab put a button with onclick=”writeText();”
    4 – inside the script tag insert

        function writeText(){
            try{
                var fso = new ActiveXObject("Scripting.FileSystemObject"); 
                var fileObject = fso.OpenTextFile("C:\\testhta.txt", 8, true,0);        
                fileObject.WriteLine('text file written');
                fileObject.close();
            }catch(ex){
                alert(ex);
            }
        }
    

    5 – save it, doubleclick it, click on the button and you will get a nice “C:\testhta.txt” file with ‘text file written’ in it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I've developed a Facebook app that allows user to take custom actions that
I have developed an app that in testing has worked fine but when it
I have developed a C# app that overrides the PreviewMouseUp, PreviewMouseMove, and PreviewMouseDown events
I have a nice clean domain layer in my app that was developed in
I have an app that I want to develop for Android 2.1, 2.2, 2.3.3,
I have an app that allows you to add items to a list, (From
I have developed a web based application which allows a client/user to upload a
I have developed an application which allows the user to switch between themes. I'm
The Story: I am making an Android app that allows a user to purchase
I have a web app that runs fine in Visual web developer. But when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.