Search found 77 matches

by tseyfarth
Mon Jan 31, 2011 1:23 am
Forum: Coding Questions
Topic: How to connect to a firebird database
Replies: 3
Views: 1644

Re: How to connect to a firebird database

Thank you for your responses.
Will search and work with your suggestions!

Tim
by tseyfarth
Sat Jan 29, 2011 11:36 pm
Forum: Coding Questions
Topic: How to connect to a firebird database
Replies: 3
Views: 1644

How to connect to a firebird database

Hello all,

My first time using ODBC, connection strings etc. I was able to get connected and work with a PostgreSQL database just fine, but cannot seem to get even a connection to a Firebird database. The ODBC drivers are installed, the Firebird tools connect etc, but after spending several hours ...
by tseyfarth
Sat Jan 29, 2011 7:48 pm
Forum: Coding Questions
Topic: Firebird Connection string
Replies: 2
Views: 959

Re: Firebird Connection string

Thank you!
Tim
by tseyfarth
Sat Jan 29, 2011 7:12 pm
Forum: Coding Questions
Topic: Firebird Connection string
Replies: 2
Views: 959

Firebird Connection string

Hello all,

Can anyone tell me how to create the connection string to Firebird?

Also, I saw a wrapper listed in the forum previously, but the thread ends without a real resolution as to if it has been tested and works. Does anyone know of a wrapper or other tools for PB/Firebird?

Thank you

Tim
by tseyfarth
Sat Jan 29, 2011 7:03 pm
Forum: Coding Questions
Topic: Interbase & Firebird : Wrapper Problem
Replies: 75
Views: 22625

Re: Interbase & Firebird : Wrapper Problem

Hello all,
Is this wrapper tested and working?

Thank you
Tim
by tseyfarth
Fri Jan 21, 2011 5:08 am
Forum: The PureBasic Editor
Topic: Is there a way to find the variable?
Replies: 3
Views: 2185

Is there a way to find the variable?

Hello all,

I am still very very green in the world of PB. My app uses lots of files, many of which are database files that hold their structures. Within these are Global Dim vars. Is there a way, like VB6 where you can put your cursor on top of a var, and then get taken to that var?

Thank you
Tim
by tseyfarth
Tue Jan 11, 2011 5:55 pm
Forum: The PureBasic Editor
Topic: PB IDE Editor/jaPBe compile project question
Replies: 17
Views: 6493

Re: PB IDE Editor/jaPBe compile project question

I took a week/10 days off from this project but will be back on it shortly.

I have been using/trying both. The jaPBe is better in some respects, worse in others.

I had not been pushing F5 or F6 but clicking on the menu. I would expect the same to happen using either command but will try them to ...
by tseyfarth
Fri Jan 07, 2011 6:31 pm
Forum: Coding Questions
Topic: Structure recognition problem
Replies: 3
Views: 679

Re: Structure recognition problem

So as I found, the file that it/they are in, must be *included* prior to others. Not just declared before use. I guess What I was thinking was that the include list was run, then having that the compiler went on its way, so the order of the include list did not matter - apparantly I was wrong ...
by tseyfarth
Fri Jan 07, 2011 6:04 am
Forum: Coding Questions
Topic: Structure recognition problem
Replies: 3
Views: 679

Re: Structure recognition problem

OK, found a fix but still do not understand why. So long as the file that has the structure is include *before* the one that may use it, there is no problem.

Is there any way around this?
Tim
by tseyfarth
Fri Jan 07, 2011 5:46 am
Forum: Coding Questions
Topic: Structure recognition problem
Replies: 3
Views: 679

Structure recognition problem

Hello all!

I have many many files in my project. The other day, I was very very happy to get them all ported to PB so that it would at least compile (may not work but that is for another day). Now that I have the basis done, I started porting another file. This time, it uses structures that are ...
by tseyfarth
Tue Jan 04, 2011 7:28 pm
Forum: The PureBasic Editor
Topic: PB IDE Editor/jaPBe compile project question
Replies: 17
Views: 6493

Re: PB IDE Editor/jaPBe compile project question

Trond,

My files are all under one folder, but are broken into a sub folder as well. I agree that my original statement about the std PB IDE was incorrect. It does compile regardless of which file has the focus. The jaPBe IDE does not however. For some reason, I like the jaPBe IDE better EXCEPT for ...
by tseyfarth
Tue Jan 04, 2011 5:56 pm
Forum: Coding Questions
Topic: how to express a byte value?
Replies: 7
Views: 1065

Re: how to express a byte value?

I don't recall the purpose :( But I do know that the numbers are always positive.

Will look for and try the bit shifting built in.

TY
Tim
by tseyfarth
Tue Jan 04, 2011 7:03 am
Forum: Coding Questions
Topic: Error Handling Best Practices and example code for PB
Replies: 0
Views: 410

Error Handling Best Practices and example code for PB

Hello all,

Working through the green and onto the Errors. Can anyone suggest some best practices and error handling example code for use in PB? My target OS will be Windoz and Linux. I don't think it will make a difference, but wanted to include that info anyway.

Thank you all again!
Tim
by tseyfarth
Tue Jan 04, 2011 6:39 am
Forum: Coding Questions
Topic: how to express a byte value?
Replies: 7
Views: 1065

Re: how to express a byte value?

These are the functions I am trying to port from VB6


Procedure.i LShiftLong(Value.i, Shift.w); As Long
Define ReturnValue.i
;Define Si.w
MakeOnBits()
If (Value & (2 | (31 - Shift))) :Goto OverFlow :EndIf
ReturnValue = ((Value & OnBits(31 - Shift)) * (2 | Shift))
ProcedureReturn ReturnValue ...
by tseyfarth
Tue Jan 04, 2011 5:25 am
Forum: Coding Questions
Topic: how to express a byte value?
Replies: 7
Views: 1065

Re: how to express a byte value?

But I need to do some math with it.

I guess PB is not real strong on bit/byte manipulation? I need to work with these from time to time when dealing with external uC based units. Again, am real green on PB so probably just me....

Any ideas?
Thank you!
Tim