AL3X Posted February 15, 2008 Share Posted February 15, 2008 (edited) -- Edited July 2, 2015 by AL3X Link to comment Share on other sites More sharing options...
bkazdan Posted February 15, 2008 Share Posted February 15, 2008 Hi all !I'm trying to make a program with downloads links ...And I'm using a .txt file to save the links. The program reads a line from the file, donwloads the link, and deletes de line. But I want to make the programsave the links in the proper program. I mean, to save the links in the .exe .Its possible ? While the program is running you can save the data to memory by storing it in a variable.However, once the program is no longer running, a file or database of some kind must be available for the data.If there are a limited number of entries 10-20 and the changes are not coming too quickly, I would probably use the correct path in the Windows Registry.Of course you can continue to write the data to a text based file, however you don't need to name the file with a .txt extension. In truth, you can name it with any extension that you wish to use for your application. I suggest you don't use a common one reserved for other apps, but even that would work.Lastly, if you chose to have a database running with your program, that would be an option, but based on what you are saying it seems to be overkill.If you have further questions could you please either post some code or let everyone know how many file writes we are talking about? Link to comment Share on other sites More sharing options...
AL3X Posted February 15, 2008 Author Share Posted February 15, 2008 (edited) -- Edited July 2, 2015 by AL3X Link to comment Share on other sites More sharing options...
BrettF Posted February 15, 2008 Share Posted February 15, 2008 @All,Take a look at Zedna's Binary Data storage in resources UDF.The link is here:http://www.autoitscript.com/forum/index.ph...amp;hl=ResourceCheers,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
AL3X Posted February 15, 2008 Author Share Posted February 15, 2008 (edited) -- Edited July 2, 2015 by AL3X Link to comment Share on other sites More sharing options...
AL3X Posted February 16, 2008 Author Share Posted February 16, 2008 (edited) -- Edited July 2, 2015 by AL3X Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now