Search found 42 matches

by tbohon
Fri Sep 16, 2016 7:35 pm
Forum: Coding Questions
Topic: Compiler Not Loaded Message
Replies: 3
Views: 1364

Re: Compiler Not Loaded Message

Shutting it completely down and restarting seems to have fixed the issue. Haven't ever had this problem before but who knows what evil they've installed on this work computer? :twisted:

Thanks!!!!!

Tom
by tbohon
Fri Sep 16, 2016 6:19 pm
Forum: Coding Questions
Topic: Compiler Not Loaded Message
Replies: 3
Views: 1364

Compiler Not Loaded Message

Just installed PB 5.50 and went to compile a program ... got a message box stating that 'The compiler is not loaded yet ...'. Have checked several source files, same thing. This is only happening with the 5.50 release on my Windows 7 system.

Am I shooting myself in the foot somehow?

Tnx.

Tom
by tbohon
Tue Nov 10, 2015 7:16 pm
Forum: Tricks 'n' Tips
Topic: Keeper GSPOC (simplistic info manager. Source project
Replies: 50
Views: 23820

Re: Keeper GSPOC (simplistic info manager. Source project

Would love to see the source code ... can I download it from somewhere???

Tnx.

Tom
by tbohon
Wed Jun 27, 2012 5:59 pm
Forum: Tricks 'n' Tips
Topic: Some Color and Stuff for the EditorGadget...
Replies: 34
Views: 30727

Re: Some Color and Stuff for the EditorGadget...

Some really great stuff here guys ... I've learned a lot from reading and experimenting with the various posts.

My problem is slightly different from changing the color of a highlighted selection and would appreciate any thoughts/guidance on possible fixes.

As the user types in the editor/rtf box ...
by tbohon
Tue Sep 13, 2011 11:27 pm
Forum: Coding Questions
Topic: FTP Question
Replies: 2
Views: 828

Re: FTP Question

Bernd:

Thanks for the assist - when I remove that last zero it also works just fine for me.

Guess I'm confused since that line, other than the specifics for the server and login data, was lifted verbatim from the ftp.pb file in the PureBasic examples folder ...
by tbohon
Tue Sep 13, 2011 9:28 pm
Forum: Coding Questions
Topic: FTP Question
Replies: 2
Views: 828

FTP Question

Trying to learn the PB FTP commands a few at a time and having an issue with the following (highly modified sample program) code:



InitNetwork()

If OpenFTP(0, "server", "userID", "password", 0)

SetFTPDirectory(0, "/interface")
SetFTPDirectory(0, "ftp")
SetFTPDirectory(0, "prod")

CurrDir ...
by tbohon
Sun Jan 02, 2011 12:06 am
Forum: Coding Questions
Topic: Displaying Database Fields in a Listview Gadget
Replies: 1
Views: 871

Displaying Database Fields in a Listview Gadget

In the following code


While NextDatabaseRow(dbHandle)
AddGadgetItem(#LVIEW, -1, GetDatabaseString(dbHandle, 0))
Wend


where the database is defined with three columns: ID (INTEGER, PrimaryKey, Autoincrement), tagline (VARCHAR(50)) and Description (VARCHAR(100))

why do I get a seemingly ...
by tbohon
Fri Oct 01, 2010 8:32 pm
Forum: Coding Questions
Topic: Double Click Question
Replies: 5
Views: 1147

Re: Double Click Question

Thank you gentlemen ... greatly appreciate it.

As I said in a previous post, I'm having too much fun learning this language ... and after 45+ years developing software having fun is now my prime motivation. :mrgreen:

Best,

Tom
by tbohon
Fri Oct 01, 2010 8:13 pm
Forum: Coding Questions
Topic: Double Click Question
Replies: 5
Views: 1147

Double Click Question

The code below is supposed to put the doubleclicked item in the Listview into the StringGadget. Works fine.

However I can single click an item in the Listview and then double click anywhere on the form and it does the same thing.

Obviously not exactly what I was trying to achieve :?

So ... what ...
by tbohon
Thu Sep 30, 2010 8:29 pm
Forum: Coding Questions
Topic: Number of Lines
Replies: 8
Views: 1488

Number of Lines

Is there a built-in way to retrieve the number of lines in a multiline stringgadget? I need to be able to pull the last line and then, later on, append a new line to the text.

Thanks in advance as always.

Tom
by tbohon
Thu Sep 30, 2010 2:37 am
Forum: Applications - Feedback and Discussion
Topic: Feedback Request
Replies: 7
Views: 3115

Re: Feedback Request

How you plan read the data?

There will be a separate program which we'll use after the Emergency Preparedness Fair has concluded. It will produce a report and be able to produce mailing labels based on various criteria. The only thing this program does is gather the data - we've been doing ...
by tbohon
Wed Sep 29, 2010 9:02 pm
Forum: Applications - Feedback and Discussion
Topic: Feedback Request
Replies: 7
Views: 3115

Feedback Request

I just completed a 'real' application in PB4 and, although it's extremely simple by the standards of most on here, I'm pleased with how quickly it came together.

That said I would like to ask for your thoughts on organization, possible optimization, better ways to do things (like store the data ...
by tbohon
Tue Jul 27, 2010 3:02 am
Forum: Coding Questions
Topic: Default Button
Replies: 4
Views: 1220

Re: Default Button

Thanks for the explanation gentlemen - much appreciated.

Tom
by tbohon
Mon Jul 26, 2010 4:50 pm
Forum: Coding Questions
Topic: Default Button
Replies: 4
Views: 1220

Default Button

I have a simple form with a couple of data entry fields and a 'Submit' button. I've successfully gotten the 'Submit' button to show as the default but after entering the data into the fields I press the 'Enter' key and the button's events aren't executed.

Is there something else I need to do? I was ...
by tbohon
Fri Jun 04, 2010 6:21 pm
Forum: Coding Questions
Topic: Date Difference Calculation
Replies: 10
Views: 1939

Re: Date Difference Calculation

Thought I would share the final product of this thread along with once again thanking everyone for their help. I definitely learned a lot and will continue to learn as I do more and more PB coding.

Oh, and my customer (another analyst at work who has been going in and manually deleting hundreds of ...