Thank you both Thomas and rsts very much for your helpful replies. I now have a working solution.
Thomas, your code of MyPrefPath.s = GetEnvironmentVariable("APPDATA") + "\georgej\MyProgram.prefs" worked fine for the reading of the preference file, but I found I had to change it slightly to ...
Search found 11 matches
- Sun Nov 21, 2010 9:37 pm
- Forum: Coding Questions
- Topic: Help with preference files
- Replies: 7
- Views: 1382
- Sun Nov 21, 2010 7:07 pm
- Forum: Coding Questions
- Topic: Help with preference files
- Replies: 7
- Views: 1382
Re: Help with preference files
Thank you rsts, for the quick reply.
I have administrator privileges. In the Inno Setup Compiler script I have also added the line - PrivilegesRequired=admin, as part of the installation.
I have picked up on the fact that what I have done is not the correct method. The main difficulty for me ...
I have administrator privileges. In the Inno Setup Compiler script I have also added the line - PrivilegesRequired=admin, as part of the installation.
I have picked up on the fact that what I have done is not the correct method. The main difficulty for me ...
- Sun Nov 21, 2010 6:37 pm
- Forum: Coding Questions
- Topic: Help with preference files
- Replies: 7
- Views: 1382
Help with preference files
I would be grateful if someone could help me please with a problem that I am having with program installation and then reading and
writing to a Preference file.
I have done searches on the forum and on Google and tried various different options and settings, both within my program code and in the ...
writing to a Preference file.
I have done searches on the forum and on Google and tried various different options and settings, both within my program code and in the ...
- Wed Mar 18, 2009 9:14 pm
- Forum: Feature Requests and Wishlists
- Topic: [Implemented] Longer timeout for debugger
- Replies: 21
- Views: 8490
- Sat Mar 08, 2008 12:22 pm
- Forum: Coding Questions
- Topic: File MD5 Using ExamineDirectory
- Replies: 2
- Views: 806
Thank you Trond. I will amend my code.
George
Edit: I have changed the code to...
It works fine. Thanks!
George
Edit: I have changed the code to...
Code: Select all
MD5U.s = UCase(MD5FileFingerprint((DirectoryToList + FileName)))
- Sat Mar 08, 2008 11:01 am
- Forum: Coding Questions
- Topic: File MD5 Using ExamineDirectory
- Replies: 2
- Views: 806
File MD5 Using ExamineDirectory
I am working on a small program to list all the files and their MD5 hash in a directory chosen by the user. I have a small procedure (based on the Examine Directory example given in the help file) to list the file name and MD5 in a List Icon gadget.
The file names are being listed, but the MD5 is ...
The file names are being listed, but the MD5 is ...
- Sat Feb 17, 2007 1:46 pm
- Forum: Tricks 'n' Tips
- Topic: On-screen Caps Lock Key Status
- Replies: 0
- Views: 1432
On-screen Caps Lock Key Status
Code updated for 5.20+
This is an on-screen display of the Caps Lock key status. It is a small modification to Joakim Christiansen's code for a Desktop Clock.
; --------------------------------------------------------------------------
; Title: Caps Lock Key Status
; Version: 1.0
; PB Ver: 4.02 ...
This is an on-screen display of the Caps Lock key status. It is a small modification to Joakim Christiansen's code for a Desktop Clock.
; --------------------------------------------------------------------------
; Title: Caps Lock Key Status
; Version: 1.0
; PB Ver: 4.02 ...
- Mon Jan 01, 2007 9:18 pm
- Forum: Coding Questions
- Topic: Simple timer?
- Replies: 15
- Views: 3083
One of my first learner projects was a simple reaction timer that I posted on the forum, if this is of any help to you. I did comment the code.
http://www.purebasic.fr/english/viewtopic.php?t=24054
http://www.purebasic.fr/english/viewtopic.php?t=24054
- Mon Oct 09, 2006 9:19 pm
- Forum: Coding Questions
- Topic: Reaction Timer
- Replies: 8
- Views: 1588
- Sun Oct 08, 2006 9:20 pm
- Forum: Coding Questions
- Topic: Reaction Timer
- Replies: 8
- Views: 1588
- Sun Oct 08, 2006 7:39 pm
- Forum: Coding Questions
- Topic: Reaction Timer
- Replies: 8
- Views: 1588
Reaction Timer
For my first post as a beginner to PureBasic, I would firstly like to thank the PB community for the helpful comments and lines of code on the forums. I have learnt so much from reading and trying to understand the code.
Rather than ask lots of questions, I have studied first and below is my rather ...
Rather than ask lots of questions, I have studied first and below is my rather ...