Search found 11 matches

by georgej
Sun Nov 21, 2010 9:37 pm
Forum: Coding Questions
Topic: Help with preference files
Replies: 7
Views: 1382

Re: Help with preference files

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 ...
by georgej
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 ...
by georgej
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 ...
by georgej
Wed Mar 18, 2009 9:14 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Longer timeout for debugger
Replies: 21
Views: 8490

Since upgrading to version 4.3, I too am experiencing this problem. Everything was fine prior to the version upgrade. I don't think it is related to my hard disk or processor speed. I have noted that my Kaspersky Internet Security pops up a message up stating PureBasic Compilation0.exe has been ...
by georgej
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...

Code: Select all

MD5U.s = UCase(MD5FileFingerprint((DirectoryToList + FileName)))
It works fine. Thanks!
by georgej
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 ...
by georgej
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 ...
by georgej
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
by georgej
Mon Oct 09, 2006 9:19 pm
Forum: Coding Questions
Topic: Reaction Timer
Replies: 8
Views: 1588

Thank you for taking the time to give your comments and feedback. It is appreciated. I have amended the code.
by georgej
Sun Oct 08, 2006 9:20 pm
Forum: Coding Questions
Topic: Reaction Timer
Replies: 8
Views: 1588

Thank you Trond.

I have edited my post to enclose the code in tags as you suggested.
by georgej
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 ...